From 415580a058fa3b6a7b030a72efc3ab5a79755fb0 Mon Sep 17 00:00:00 2001 From: Michael McClintock Date: Mon, 16 Jan 2023 10:58:39 +1000 Subject: format --- README.md | 28 ++++++++++++++++------------ yo_dark.toml | 18 +++++++++--------- yo_light.toml | 10 +++++----- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 7421613..e0a9f15 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,19 @@ # yo-theme-helix -A [Helix][helix] theme inspired by [Zenbones][zenbones] & [Alabaster][alabaster]. Uses [Radix Colors][radix]. +A [Helix][helix] theme inspired by [Zenbones][zenbones] & +[Alabaster][alabaster]. Uses [Radix Colors][radix]. ### Notes - Ideas from alabaster. - Comments should stand out. - Use color sparingly. The rules should be simple. -- Alabaster essentially skips eveything else. It doesn't highlight keywords (reserved words) or types. - (which to be fair isn't really an issue for clojure) - - Yo doesn't go quite as far on this point. - - Instead it takes the minimal zenbones approach to highlight the remaining code constructs. +- Alabaster essentially skips eveything else. It doesn't highlight keywords + (reserved words) or types. (which to be fair isn't really an issue for + clojure) + - Yo doesn't go quite as far on this point. + - Instead it takes the minimal zenbones approach to highlight the remaining + code constructs. - subtle colors, contrast & font variants - vibrant colors are left for diagnostics. - The default yo themes use the following: @@ -19,14 +22,15 @@ A [Helix][helix] theme inspired by [Zenbones][zenbones] & [Alabaster][alabaster] - **Blue** for comments (incl. LSP info/hints) - **Red/Amber** LSP error/warnings - **Gray/Bronze** Everything else zenbones style -- I'm not a designer and don't like my chances of making something look good by tweaking colors so instead -i'll let the pros handle it. - - [Radix Colors][radix] are very well deisgned. with clear instructions for how to apply them. +- I'm not a designer and don't like my chances of making something look good by + tweaking colors so instead i'll let the pros handle it. + - [Radix Colors][radix] are very well deisgned. with clear instructions for + how to apply them. - Designed for **automatic light/dark mode**. -- Variants. - - It should be straightforward to use helix theme inheritance to swap out the default color palette -with other radix color combinations without losing the principles of the theme. - +- Variants. + - It should be straightforward to use helix theme inheritance to swap out the + default color palette with other radix color combinations without losing the + principles of the theme. [helix]: https://helix-editor.com/ [zenbones]: https://github.com/mcchrish/zenbones.nvim diff --git a/yo_dark.toml b/yo_dark.toml index c7374f7..c9de62d 100644 --- a/yo_dark.toml +++ b/yo_dark.toml @@ -7,10 +7,10 @@ # License: MIT # background/text -"ui.background" = { fg = "gray11", bg = "gray2" } +"ui.background" = { fg = "gray11", bg = "gray2" } "ui.background.separator" = { fg = "gray7" } "ui.text" = { fg = "gray11" } -"ui.text.focus" = { fg = "alt10", modifiers=["bold"] } +"ui.text.focus" = { fg = "alt10", modifiers = ["bold"] } # popups/menus "ui.window" = { fg = "gray7" } @@ -19,14 +19,14 @@ "ui.text.info" = { fg = "gray12", bg = "gray2" } "ui.help" = { fg = "gray12", bg = "gray2" } "ui.menu" = { fg = "gray11", bg = "gray4" } -"ui.menu.selected" = { fg = "alt10", modifiers=["bold"] } +"ui.menu.selected" = { fg = "alt10", modifiers = ["bold"] } "ui.menu.scroll" = { fg = "gray8", bg = "gray4" } # cursor/selection "ui.cursor" = { fg = "gray2", bg = "gray11" } -"ui.cursor.insert" = { fg="alt2", bg="alt10" } -"ui.cursor.select" = { fg="gray2", bg="gray12"} -"ui.cursor.match" = { fg="alt10", modifiers=["bold"]} +"ui.cursor.insert" = { fg = "alt2", bg = "alt10" } +"ui.cursor.select" = { fg = "gray2", bg = "gray12" } +"ui.cursor.match" = { fg = "alt10", modifiers = ["bold"] } "ui.selection" = { fg = "gray12", bg = "gray5" } "ui.selection.primary" = { fg = "alt12", bg = "alt5" } "ui.cursorline.primary" = { bg = "gray3" } @@ -61,10 +61,10 @@ hint = { fg = "info10" } # code comment = { fg = "info9" } -keyword = { fg = "alt9", modifiers=["bold"] } +keyword = { fg = "alt9", modifiers = ["bold"] } operator = { fg = "alt9" } string = { fg = "str9" } -constant = { fg = "const9"} +constant = { fg = "const9" } "string.symbol" = { fg = "const9" } variable = { fg = "gray9" } namespace = { fg = "gray9" } @@ -74,7 +74,7 @@ attribute = { fg = "gray11" } tag = { fg = "gray12" } label = { fg = "gray12" } constructor = { fg = "gray12" } -type = { fg = "gray12" , modifiers = [] } +type = { fg = "gray12" } # markup markup = { fg = "gray9" } diff --git a/yo_light.toml b/yo_light.toml index e3ddd32..8a4000f 100644 --- a/yo_light.toml +++ b/yo_light.toml @@ -1,16 +1,16 @@ # yo_light # Helix theme inspired by Zenbones & Alabaster using the -# radix color system - https://www.radix-ui.com/colors +# radix color system https://www.radix-ui.com/colors # Author: Michael McClintock @mrmcc3 # License: MIT -inherits = "yo_dark" +inherits = "yo_dark" # bump up backgrounds by 1 so it's not too bright. -"ui.background" = { fg = "gray11", bg = "gray3" } +"ui.background" = { fg = "gray11", bg = "gray3" } # popups/menus "ui.popup" = { fg = "gray12", bg = "gray5" } @@ -22,8 +22,8 @@ inherits = "yo_dark" # cursor/selection "ui.cursor" = { fg = "gray3", bg = "gray11" } -"ui.cursor.insert" = { fg="alt3", bg="alt10" } -"ui.cursor.select" = { fg="gray3", bg="gray12"} +"ui.cursor.insert" = { fg = "alt3", bg = "alt10" } +"ui.cursor.select" = { fg = "gray3", bg = "gray12" } "ui.selection" = { fg = "gray12", bg = "gray6" } "ui.selection.primary" = { fg = "alt12", bg = "alt6" } "ui.cursorline.primary" = { bg = "gray4" } -- cgit v1.2.1-18-gbd029