From 7963027820e346ff9cc80e4dc7f61f728c29b3b5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 Sep 2023 00:18:32 +0000 Subject: [PATCH] style: format code with prettier --- styles/boringproxy/catppuccin.user.css | 548 +++++---- styles/bstats/catppuccin.user.css | 1542 ++++++++++++------------ styles/chatgpt/catppuccin.user.css | 60 +- styles/chatreplay/catppuccin.user.css | 544 +++++---- styles/deepl/catppuccin.user.css | 203 +++- styles/formative/catppuccin.user.css | 830 ++++++++++--- styles/github/catppuccin.user.css | 518 ++++---- styles/hoppscotch/catppuccin.user.css | 18 +- styles/mastodon/catppuccin.user.css | 178 +-- 9 files changed, 2538 insertions(+), 1903 deletions(-) diff --git a/styles/boringproxy/catppuccin.user.css b/styles/boringproxy/catppuccin.user.css index 42be4f5a..5d26a9d4 100644 --- a/styles/boringproxy/catppuccin.user.css +++ b/styles/boringproxy/catppuccin.user.css @@ -1,4 +1,4 @@ - /* ==UserStyle== +/* ==UserStyle== @name boringproxy Catppuccin @namespace github.com/catppuccin/userstyles/styles/boringproxy @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/boringproxy @@ -12,285 +12,281 @@ @var select flavor "Flavor" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"] @var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red*", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Grey"] ==/UserStyle== */ - @-moz-document domain("boring.example.com") { - :root { - #catppuccin(@flavor, @accentColor); - } +@-moz-document domain("boring.example.com") { + :root { + #catppuccin(@flavor, @accentColor); + } - @catppuccin: { - @latte: { - @rosewater: #dc8a78; - @flamingo: #dd7878; - @pink: #ea76cb; - @mauve: #8839ef; - @red: #d20f39; - @maroon: #e64553; - @peach: #fe640b; - @yellow: #df8e1d; - @green: #40a02b; - @teal: #179299; - @sky: #04a5e5; - @sapphire: #209fb5; - @blue: #1e66f5; - @lavender: #7287fd; - @text: #4c4f69; - @subtext1: #5c5f77; - @subtext0: #6c6f85; - @overlay2: #7c7f93; - @overlay1: #8c8fa1; - @overlay0: #9ca0b0; - @surface2: #acb0be; - @surface1: #bcc0cc; - @surface0: #ccd0da; - @base: #eff1f5; - @mantle: #e6e9ef; - @crust: #dce0e8; - } - @frappe: { - @rosewater: #f2d5cf; - @flamingo: #eebebe; - @pink: #f4b8e4; - @mauve: #ca9ee6; - @red: #e78284; - @maroon: #ea999c; - @peach: #ef9f76; - @yellow: #e5c890; - @green: #a6d189; - @teal: #81c8be; - @sky: #99d1db; - @sapphire: #85c1dc; - @blue: #8caaee; - @lavender: #babbf1; - @text: #c6d0f5; - @subtext1: #b5bfe2; - @subtext0: #a5adce; - @overlay2: #949cbb; - @overlay1: #838ba7; - @overlay0: #737994; - @surface2: #626880; - @surface1: #51576d; - @surface0: #414559; - @base: #303446; - @mantle: #292c3c; - @crust: #232634; - } - @macchiato: { - @rosewater: #f4dbd6; - @flamingo: #f0c6c6; - @pink: #f5bde6; - @mauve: #c6a0f6; - @red: #ed8796; - @maroon: #ee99a0; - @peach: #f5a97f; - @yellow: #eed49f; - @green: #a6da95; - @teal: #8bd5ca; - @sky: #91d7e3; - @sapphire: #7dc4e4; - @blue: #8aadf4; - @lavender: #b7bdf8; - @text: #cad3f5; - @subtext1: #b8c0e0; - @subtext0: #a5adcb; - @overlay2: #939ab7; - @overlay1: #8087a2; - @overlay0: #6e738d; - @surface2: #5b6078; - @surface1: #494d64; - @surface0: #363a4f; - @base: #24273a; - @mantle: #1e2030; - @crust: #181926; - } - @mocha: { - @rosewater: #f5e0dc; - @flamingo: #f2cdcd; - @pink: #f5c2e7; - @mauve: #cba6f7; - @red: #f38ba8; - @maroon: #eba0ac; - @peach: #fab387; - @yellow: #f9e2af; - @green: #a6e3a1; - @teal: #94e2d5; - @sky: #89dceb; - @sapphire: #74c7ec; - @blue: #89b4fa; - @lavender: #b4befe; - @text: #cdd6f4; - @subtext1: #bac2de; - @subtext0: #a6adc8; - @overlay2: #9399b2; - @overlay1: #7f849c; - @overlay0: #6c7086; - @surface2: #585b70; - @surface1: #45475a; - @surface0: #313244; - @base: #1e1e2e; - @mantle: #181825; - @crust: #11111b; - } - } - ; + @catppuccin: { + @latte: { + @rosewater: #dc8a78; + @flamingo: #dd7878; + @pink: #ea76cb; + @mauve: #8839ef; + @red: #d20f39; + @maroon: #e64553; + @peach: #fe640b; + @yellow: #df8e1d; + @green: #40a02b; + @teal: #179299; + @sky: #04a5e5; + @sapphire: #209fb5; + @blue: #1e66f5; + @lavender: #7287fd; + @text: #4c4f69; + @subtext1: #5c5f77; + @subtext0: #6c6f85; + @overlay2: #7c7f93; + @overlay1: #8c8fa1; + @overlay0: #9ca0b0; + @surface2: #acb0be; + @surface1: #bcc0cc; + @surface0: #ccd0da; + @base: #eff1f5; + @mantle: #e6e9ef; + @crust: #dce0e8; + }; + @frappe: { + @rosewater: #f2d5cf; + @flamingo: #eebebe; + @pink: #f4b8e4; + @mauve: #ca9ee6; + @red: #e78284; + @maroon: #ea999c; + @peach: #ef9f76; + @yellow: #e5c890; + @green: #a6d189; + @teal: #81c8be; + @sky: #99d1db; + @sapphire: #85c1dc; + @blue: #8caaee; + @lavender: #babbf1; + @text: #c6d0f5; + @subtext1: #b5bfe2; + @subtext0: #a5adce; + @overlay2: #949cbb; + @overlay1: #838ba7; + @overlay0: #737994; + @surface2: #626880; + @surface1: #51576d; + @surface0: #414559; + @base: #303446; + @mantle: #292c3c; + @crust: #232634; + }; + @macchiato: { + @rosewater: #f4dbd6; + @flamingo: #f0c6c6; + @pink: #f5bde6; + @mauve: #c6a0f6; + @red: #ed8796; + @maroon: #ee99a0; + @peach: #f5a97f; + @yellow: #eed49f; + @green: #a6da95; + @teal: #8bd5ca; + @sky: #91d7e3; + @sapphire: #7dc4e4; + @blue: #8aadf4; + @lavender: #b7bdf8; + @text: #cad3f5; + @subtext1: #b8c0e0; + @subtext0: #a5adcb; + @overlay2: #939ab7; + @overlay1: #8087a2; + @overlay0: #6e738d; + @surface2: #5b6078; + @surface1: #494d64; + @surface0: #363a4f; + @base: #24273a; + @mantle: #1e2030; + @crust: #181926; + }; + @mocha: { + @rosewater: #f5e0dc; + @flamingo: #f2cdcd; + @pink: #f5c2e7; + @mauve: #cba6f7; + @red: #f38ba8; + @maroon: #eba0ac; + @peach: #fab387; + @yellow: #f9e2af; + @green: #a6e3a1; + @teal: #94e2d5; + @sky: #89dceb; + @sapphire: #74c7ec; + @blue: #89b4fa; + @lavender: #b4befe; + @text: #cdd6f4; + @subtext1: #bac2de; + @subtext0: #a6adc8; + @overlay2: #9399b2; + @overlay1: #7f849c; + @overlay0: #6c7086; + @surface2: #585b70; + @surface1: #45475a; + @surface0: #313244; + @base: #1e1e2e; + @mantle: #181825; + @crust: #11111b; + }; + }; + #catppuccin(@lookup, @accent) { + @rosewater: @catppuccin[@@lookup][@rosewater]; + @flamingo: @catppuccin[@@lookup][@flamingo]; + @pink: @catppuccin[@@lookup][@pink]; + @mauve: @catppuccin[@@lookup][@mauve]; + @red: @catppuccin[@@lookup][@red]; + @maroon: @catppuccin[@@lookup][@maroon]; + @peach: @catppuccin[@@lookup][@peach]; + @yellow: @catppuccin[@@lookup][@yellow]; + @green: @catppuccin[@@lookup][@green]; + @teal: @catppuccin[@@lookup][@teal]; + @sky: @catppuccin[@@lookup][@sky]; + @sapphire: @catppuccin[@@lookup][@sapphire]; + @blue: @catppuccin[@@lookup][@blue]; + @lavender: @catppuccin[@@lookup][@lavender]; + @text: @catppuccin[@@lookup][@text]; + @subtext1: @catppuccin[@@lookup][@subtext1]; + @subtext0: @catppuccin[@@lookup][@subtext0]; + @overlay2: @catppuccin[@@lookup][@overlay2]; + @overlay1: @catppuccin[@@lookup][@overlay1]; + @overlay0: @catppuccin[@@lookup][@overlay0]; + @surface2: @catppuccin[@@lookup][@surface2]; + @surface1: @catppuccin[@@lookup][@surface1]; + @surface0: @catppuccin[@@lookup][@surface0]; + @base: @catppuccin[@@lookup][@base]; + @mantle: @catppuccin[@@lookup][@mantle]; + @crust: @catppuccin[@@lookup][@crust]; + @accent-color: @catppuccin[@@lookup][@@accent]; - #catppuccin(@lookup, @accent) { - @rosewater: @catppuccin[@@lookup][@rosewater]; - @flamingo: @catppuccin[@@lookup][@flamingo]; - @pink: @catppuccin[@@lookup][@pink]; - @mauve: @catppuccin[@@lookup][@mauve]; - @red: @catppuccin[@@lookup][@red]; - @maroon: @catppuccin[@@lookup][@maroon]; - @peach: @catppuccin[@@lookup][@peach]; - @yellow: @catppuccin[@@lookup][@yellow]; - @green: @catppuccin[@@lookup][@green]; - @teal: @catppuccin[@@lookup][@teal]; - @sky: @catppuccin[@@lookup][@sky]; - @sapphire: @catppuccin[@@lookup][@sapphire]; - @blue: @catppuccin[@@lookup][@blue]; - @lavender: @catppuccin[@@lookup][@lavender]; - @text: @catppuccin[@@lookup][@text]; - @subtext1: @catppuccin[@@lookup][@subtext1]; - @subtext0: @catppuccin[@@lookup][@subtext0]; - @overlay2: @catppuccin[@@lookup][@overlay2]; - @overlay1: @catppuccin[@@lookup][@overlay1]; - @overlay0: @catppuccin[@@lookup][@overlay0]; - @surface2: @catppuccin[@@lookup][@surface2]; - @surface1: @catppuccin[@@lookup][@surface1]; - @surface0: @catppuccin[@@lookup][@surface0]; - @base: @catppuccin[@@lookup][@base]; - @mantle: @catppuccin[@@lookup][@mantle]; - @crust: @catppuccin[@@lookup][@crust]; - @accent-color: @catppuccin[@@lookup][@@accent]; + // Main Background + body { + background: @base; + } + // Actual Panel + main { + background: @crust; + } + .content { + border: 1px solid @overlay0; + } - // Main Background - body { - background: @base; - } - // Actual Panel - main { - background: @crust; - } - .content { - border: 1px solid @overlay0; - } - - //Side Menu - .menu { - background: @mantle; - } - .menu-item { - background: @crust; - } - .menu-item:hover { - background: @surface2; - color: @accent-color; - } - .menu-item:any-link { - color: @text; - } - - // Right SIde Button - .button { - border: 2px solid @accent-color; - background-color:@crust; - color: @subtext1; - } - .button:hover { - color: @surface0; - background-color:@accent-color; - border: 2px solid @crust; - } - - // Top Headers - .list { - background-color: @crust; - } + //Side Menu + .menu { + background: @mantle; + } + .menu-item { + background: @crust; + } + .menu-item:hover { + background: @surface2; + color: @accent-color; + } + .menu-item:any-link { + color: @text; + } - .list-item { - color: @accent-color; - - } - // Tunnel Table - .tn-tunnel-link { - color: @subtext1; - text-decoration: none; - } - - .tn-tunnel-table__cell { - color: @text; - } - body a { - color: @text; - } - body a:visited { - color:@accent-color; - } - - .tn-attribute__name { - color: @text; - } - .tn-attribute__value { - color: @subtext0; - } - //Tunnel Adding - .tunnel-adder h1 { - color: @text; - } + // Right SIde Button + .button { + border: 2px solid @accent-color; + background-color: @crust; + color: @subtext1; + } + .button:hover { + color: @surface0; + background-color: @accent-color; + border: 2px solid @crust; + } - - .input { - color:@text - } - .input input { - background-color:@crust; - color: @subtext0; - border:1px solid @accent-color; - } - - .input select { - background-color:@crust; - color: @subtext0; - border:1px solid @accent-color; - } + // Top Headers + .list { + background-color: @crust; + } + + .list-item { + color: @accent-color; + } + // Tunnel Table + .tn-tunnel-link { + color: @subtext1; + text-decoration: none; + } + + .tn-tunnel-table__cell { + color: @text; + } + body a { + color: @text; + } + body a:visited { + color: @accent-color; + } + + .tn-attribute__name { + color: @text; + } + .tn-attribute__value { + color: @subtext0; + } + //Tunnel Adding + .tunnel-adder h1 { + color: @text; + } + + .input { + color: @text; + } + .input input { + background-color: @crust; + color: @subtext0; + border: 1px solid @accent-color; + } + + .input select { + background-color: @crust; + color: @subtext0; + border: 1px solid @accent-color; + } // Token Adding - .token-adder { - color: @text; - } - .token-adder select { - background-color:@crust; - color: @subtext0; - border:1px solid @accent-color; - } - - // Client Adding - .client-adder { - color: @text; - } - .client-adder select { - background-color:@crust; - color: @subtext0; - border:1px solid @accent-color; - } - .client-adder input { - background-color:@crust; - color: @subtext0; - border:1px solid @accent-color; - } - - // User Adding - .user-adder { - color: @text; - } - .user-adder input { - background-color:@crust; - color: @subtext0; - border:1px solid @accent-color; - } -// dialog - .dialog__content { - background-color:@crust; - color: @text; - } - -}} + .token-adder { + color: @text; + } + .token-adder select { + background-color: @crust; + color: @subtext0; + border: 1px solid @accent-color; + } + + // Client Adding + .client-adder { + color: @text; + } + .client-adder select { + background-color: @crust; + color: @subtext0; + border: 1px solid @accent-color; + } + .client-adder input { + background-color: @crust; + color: @subtext0; + border: 1px solid @accent-color; + } + + // User Adding + .user-adder { + color: @text; + } + .user-adder input { + background-color: @crust; + color: @subtext0; + border: 1px solid @accent-color; + } + // dialog + .dialog__content { + background-color: @crust; + color: @text; + } + } +} diff --git a/styles/bstats/catppuccin.user.css b/styles/bstats/catppuccin.user.css index a1059c85..dc3fc616 100644 --- a/styles/bstats/catppuccin.user.css +++ b/styles/bstats/catppuccin.user.css @@ -16,801 +16,813 @@ ==/UserStyle== */ @-moz-document domain('bstats.org') { - @catppuccin: { - @latte: { - @rosewater: #dc8a78; - @flamingo: #dd7878; - @pink: #ea76cb; - @mauve: #8839ef; - @red: #d20f39; - @maroon: #e64553; - @peach: #fe640b; - @yellow: #df8e1d; - @green: #40a02b; - @teal: #179299; - @sky: #04a5e5; - @sapphire: #209fb5; - @blue: #1e66f5; - @lavender: #7287fd; - @text: #4c4f69; - @subtext1: #5c5f77; - @subtext0: #6c6f85; - @overlay2: #7c7f93; - @overlay1: #8c8fa1; - @overlay0: #9ca0b0; - @surface2: #acb0be; - @surface1: #bcc0cc; - @surface0: #ccd0da; - @base: #eff1f5; - @mantle: #e6e9ef; - @crust: #dce0e8; - } - @frappe: { - @rosewater: #f2d5cf; - @flamingo: #eebebe; - @pink: #f4b8e4; - @mauve: #ca9ee6; - @red: #e78284; - @maroon: #ea999c; - @peach: #ef9f76; - @yellow: #e5c890; - @green: #a6d189; - @teal: #81c8be; - @sky: #99d1db; - @sapphire: #85c1dc; - @blue: #8caaee; - @lavender: #babbf1; - @text: #c6d0f5; - @subtext1: #b5bfe2; - @subtext0: #a5adce; - @overlay2: #949cbb; - @overlay1: #838ba7; - @overlay0: #737994; - @surface2: #626880; - @surface1: #51576d; - @surface0: #414559; - @base: #303446; - @mantle: #292c3c; - @crust: #232634; - } - @macchiato: { - @rosewater: #f4dbd6; - @flamingo: #f0c6c6; - @pink: #f5bde6; - @mauve: #c6a0f6; - @red: #ed8796; - @maroon: #ee99a0; - @peach: #f5a97f; - @yellow: #eed49f; - @green: #a6da95; - @teal: #8bd5ca; - @sky: #91d7e3; - @sapphire: #7dc4e4; - @blue: #8aadf4; - @lavender: #b7bdf8; - @text: #cad3f5; - @subtext1: #b8c0e0; - @subtext0: #a5adcb; - @overlay2: #939ab7; - @overlay1: #8087a2; - @overlay0: #6e738d; - @surface2: #5b6078; - @surface1: #494d64; - @surface0: #363a4f; - @base: #24273a; - @mantle: #1e2030; - @crust: #181926; - } - @mocha: { - @rosewater: #f5e0dc; - @flamingo: #f2cdcd; - @pink: #f5c2e7; - @mauve: #cba6f7; - @red: #f38ba8; - @maroon: #eba0ac; - @peach: #fab387; - @yellow: #f9e2af; - @green: #a6e3a1; - @teal: #94e2d5; - @sky: #89dceb; - @sapphire: #74c7ec; - @blue: #89b4fa; - @lavender: #b4befe; - @text: #cdd6f4; - @subtext1: #bac2de; - @subtext0: #a6adc8; - @overlay2: #9399b2; - @overlay1: #7f849c; - @overlay0: #6c7086; - @surface2: #585b70; - @surface1: #45475a; - @surface0: #313244; - @base: #1e1e2e; - @mantle: #181825; - @crust: #11111b; - } - } + @catppuccin: { + @latte: { + @rosewater: #dc8a78; + @flamingo: #dd7878; + @pink: #ea76cb; + @mauve: #8839ef; + @red: #d20f39; + @maroon: #e64553; + @peach: #fe640b; + @yellow: #df8e1d; + @green: #40a02b; + @teal: #179299; + @sky: #04a5e5; + @sapphire: #209fb5; + @blue: #1e66f5; + @lavender: #7287fd; + @text: #4c4f69; + @subtext1: #5c5f77; + @subtext0: #6c6f85; + @overlay2: #7c7f93; + @overlay1: #8c8fa1; + @overlay0: #9ca0b0; + @surface2: #acb0be; + @surface1: #bcc0cc; + @surface0: #ccd0da; + @base: #eff1f5; + @mantle: #e6e9ef; + @crust: #dce0e8; + }; + @frappe: { + @rosewater: #f2d5cf; + @flamingo: #eebebe; + @pink: #f4b8e4; + @mauve: #ca9ee6; + @red: #e78284; + @maroon: #ea999c; + @peach: #ef9f76; + @yellow: #e5c890; + @green: #a6d189; + @teal: #81c8be; + @sky: #99d1db; + @sapphire: #85c1dc; + @blue: #8caaee; + @lavender: #babbf1; + @text: #c6d0f5; + @subtext1: #b5bfe2; + @subtext0: #a5adce; + @overlay2: #949cbb; + @overlay1: #838ba7; + @overlay0: #737994; + @surface2: #626880; + @surface1: #51576d; + @surface0: #414559; + @base: #303446; + @mantle: #292c3c; + @crust: #232634; + }; + @macchiato: { + @rosewater: #f4dbd6; + @flamingo: #f0c6c6; + @pink: #f5bde6; + @mauve: #c6a0f6; + @red: #ed8796; + @maroon: #ee99a0; + @peach: #f5a97f; + @yellow: #eed49f; + @green: #a6da95; + @teal: #8bd5ca; + @sky: #91d7e3; + @sapphire: #7dc4e4; + @blue: #8aadf4; + @lavender: #b7bdf8; + @text: #cad3f5; + @subtext1: #b8c0e0; + @subtext0: #a5adcb; + @overlay2: #939ab7; + @overlay1: #8087a2; + @overlay0: #6e738d; + @surface2: #5b6078; + @surface1: #494d64; + @surface0: #363a4f; + @base: #24273a; + @mantle: #1e2030; + @crust: #181926; + }; + @mocha: { + @rosewater: #f5e0dc; + @flamingo: #f2cdcd; + @pink: #f5c2e7; + @mauve: #cba6f7; + @red: #f38ba8; + @maroon: #eba0ac; + @peach: #fab387; + @yellow: #f9e2af; + @green: #a6e3a1; + @teal: #94e2d5; + @sky: #89dceb; + @sapphire: #74c7ec; + @blue: #89b4fa; + @lavender: #b4befe; + @text: #cdd6f4; + @subtext1: #bac2de; + @subtext0: #a6adc8; + @overlay2: #9399b2; + @overlay1: #7f849c; + @overlay0: #6c7086; + @surface2: #585b70; + @surface1: #45475a; + @surface0: #313244; + @base: #1e1e2e; + @mantle: #181825; + @crust: #11111b; + }; + }; - :root { - #catppuccin(@flavor, @accentColor); - } + :root { + #catppuccin(@flavor, @accentColor); + } - #catppuccin(@lookup, @accent) { - @rosewater: @catppuccin[@@lookup][@rosewater]; - @flamingo: @catppuccin[@@lookup][@flamingo]; - @pink: @catppuccin[@@lookup][@pink]; - @mauve: @catppuccin[@@lookup][@mauve]; - @red: @catppuccin[@@lookup][@red]; - @maroon: @catppuccin[@@lookup][@maroon]; - @peach: @catppuccin[@@lookup][@peach]; - @yellow: @catppuccin[@@lookup][@yellow]; - @green: @catppuccin[@@lookup][@green]; - @teal: @catppuccin[@@lookup][@teal]; - @sky: @catppuccin[@@lookup][@sky]; - @sapphire: @catppuccin[@@lookup][@sapphire]; - @blue: @catppuccin[@@lookup][@blue]; - @lavender: @catppuccin[@@lookup][@lavender]; - @text: @catppuccin[@@lookup][@text]; - @subtext1: @catppuccin[@@lookup][@subtext1]; - @subtext0: @catppuccin[@@lookup][@subtext0]; - @overlay2: @catppuccin[@@lookup][@overlay2]; - @overlay1: @catppuccin[@@lookup][@overlay1]; - @overlay0: @catppuccin[@@lookup][@overlay0]; - @surface2: @catppuccin[@@lookup][@surface2]; - @surface1: @catppuccin[@@lookup][@surface1]; - @surface0: @catppuccin[@@lookup][@surface0]; - @base: @catppuccin[@@lookup][@base]; - @mantle: @catppuccin[@@lookup][@mantle]; - @crust: @catppuccin[@@lookup][@crust]; - @accent-color: @catppuccin[@@lookup][@@accent]; + #catppuccin(@lookup, @accent) { + @rosewater: @catppuccin[@@lookup][@rosewater]; + @flamingo: @catppuccin[@@lookup][@flamingo]; + @pink: @catppuccin[@@lookup][@pink]; + @mauve: @catppuccin[@@lookup][@mauve]; + @red: @catppuccin[@@lookup][@red]; + @maroon: @catppuccin[@@lookup][@maroon]; + @peach: @catppuccin[@@lookup][@peach]; + @yellow: @catppuccin[@@lookup][@yellow]; + @green: @catppuccin[@@lookup][@green]; + @teal: @catppuccin[@@lookup][@teal]; + @sky: @catppuccin[@@lookup][@sky]; + @sapphire: @catppuccin[@@lookup][@sapphire]; + @blue: @catppuccin[@@lookup][@blue]; + @lavender: @catppuccin[@@lookup][@lavender]; + @text: @catppuccin[@@lookup][@text]; + @subtext1: @catppuccin[@@lookup][@subtext1]; + @subtext0: @catppuccin[@@lookup][@subtext0]; + @overlay2: @catppuccin[@@lookup][@overlay2]; + @overlay1: @catppuccin[@@lookup][@overlay1]; + @overlay0: @catppuccin[@@lookup][@overlay0]; + @surface2: @catppuccin[@@lookup][@surface2]; + @surface1: @catppuccin[@@lookup][@surface1]; + @surface0: @catppuccin[@@lookup][@surface0]; + @base: @catppuccin[@@lookup][@base]; + @mantle: @catppuccin[@@lookup][@mantle]; + @crust: @catppuccin[@@lookup][@crust]; + @accent-color: @catppuccin[@@lookup][@@accent]; - body, - .collection-header, - .collection-item, - .grey.lighten-4, - .page-footer .footer-copyright { - background: @base !important; - } - .teal.darken-3, - .teal.darken-2, - .dropdown-content, - .side-nav { - background-color: @mantle !important; - } + body, + .collection-header, + .collection-item, + .grey.lighten-4, + .page-footer .footer-copyright { + background: @base !important; + } + .teal.darken-3, + .teal.darken-2, + .dropdown-content, + .side-nav { + background-color: @mantle !important; + } - .teal { - background-color: @surface0 !important; - } + .teal { + background-color: @surface0 !important; + } - /* slide out nav text & icons */ - .subheader, - .left { - color: @text !important; - } + /* slide out nav text & icons */ + .subheader, + .left { + color: @text !important; + } - .collection { - border: 1px solid @surface0; - } - .collection.with-header .collection-header, - .collection .collection-item { - border-bottom: 1px solid @surface0; - } + .collection { + border: 1px solid @surface0; + } + .collection.with-header .collection-header, + .collection .collection-item { + border-bottom: 1px solid @surface0; + } - .collapsible { - border-top: 1px solid @surface1; - border-right: 1px solid @surface1; - border-left: 1px solid @surface1; - } - .collapsible-body { - border-bottom: 1px solid @surface1; - } - .collapsible-header { - background-color: @surface0 !important; - border-bottom: 1px solid @surface1; - } + .collapsible { + border-top: 1px solid @surface1; + border-right: 1px solid @surface1; + border-left: 1px solid @surface1; + } + .collapsible-body { + border-bottom: 1px solid @surface1; + } + .collapsible-header { + background-color: @surface0 !important; + border-bottom: 1px solid @surface1; + } + blockquote { + border-left: 5px solid @maroon; + } + /* code box */ + .prettyprint, + .withBox, + .prettyprinted { + background-color: @mantle !important; + outline: 1px solid @mantle; + color: @overlay2; + } + .tag, + .boolean { + color: @blue; + } + .pln { + color: @text; + } + .com { + color: @overlay0; + } + .key { + color: @red; + } + .clo, + .opn, + .pun { + color: @yellow; + } + .str, + .string, + .atv { + color: @green; + } + .atn { + color: @mauve; + } + .number { + color: @peach; + } - blockquote { - border-left: 5px solid @maroon; - } - /* code box */ - .prettyprint, - .withBox, - .prettyprinted { - background-color: @mantle !important; - outline: 1px solid @mantle; - color: @overlay2; - } - .tag, - .boolean { - color: @blue; - } - .pln { - color: @text; - } - .com { - color: @overlay0; - } - .key { - color: @red - } - .clo, - .opn, - .pun { - color: @yellow; - } - .str, - .string, - .atv { - color: @green; - } - .atn { - color: @mauve; - } - .number { - color: @peach; - } + p, + h5, + b, + table, + th, + td, + .white-text, + nav .brand-logo, + nav a, + div.material-table .table-title, + div.material-table table th, + .card-title, + .card-content, + .container, + .center { + color: @text !important; + } + html, + div.material-table table tr td, + .grey-text.text-lighten-4, + .page-footer .footer-copyright { + color: @subtext1 !important; + } + .grey-text, + .grey-text.text-darken-2, + .input-field label, + div.material-table .table-footer label, + div.material-table .table-footer, + label { + color: @subtext0 !important; + } + .blue-text { + color: @blue !important; + } + .red-text { + color: @red !important; + } - p, - h5, - b, - table, - th, - td, - .white-text, - nav .brand-logo, - nav a, - div.material-table .table-title, - div.material-table table th, - .card-title, - .card-content, - .container, - .center { - color: @text !important; - } - html, - div.material-table table tr td, - .grey-text.text-lighten-4, - .page-footer .footer-copyright { - color: @subtext1 !important; - } - .grey-text, - .grey-text.text-darken-2, - .input-field label, - div.material-table .table-footer label, - div.material-table .table-footer, - label { - color: @subtext0 !important; - } - .blue-text { - color: @blue !important; - } - .red-text { - color: @red !important; - } + /* discord logo on homepage */ + img[src="/images/discord.svg"] when (@flavor=latte) { + filter: saturate(210%) hue-rotate(-20deg) brightness(82%); + } + img[src="/images/discord.svg"] when (@flavor=frappe) { + filter: saturate(53%) hue-rotate(-10deg) brightness(147%) contrast(90%) + sepia(15%) invert(2%); + } + img[src="/images/discord.svg"] when (@flavor=macchiato) { + filter: saturate(52%) hue-rotate(-15deg) brightness(157%) contrast(90%) + sepia(10%); + } + img[src="/images/discord.svg"] when (@flavor=mocha) { + filter: saturate(38%) hue-rotate(-25deg) brightness(153%) sepia(6%); + } - /* discord logo on homepage */ - img[src="/images/discord.svg"] when (@flavor=latte) { - filter: saturate(210%) hue-rotate(-20deg) brightness(82%); - } - img[src="/images/discord.svg"] when (@flavor=frappe) { - filter: saturate(53%) hue-rotate(-10deg) brightness(147%) contrast(90%) sepia(15%) invert(2%); - } - img[src="/images/discord.svg"] when (@flavor=macchiato) { - filter: saturate(52%) hue-rotate(-15deg) brightness(157%) contrast(90%) sepia(10%); - } - img[src="/images/discord.svg"] when (@flavor=mocha) { - filter: saturate(38%) hue-rotate(-25deg) brightness(153%) sepia(6%); - } + /* checkbox */ + [type="checkbox"] + label::before, + [type="checkbox"]:not(.filled-in) + label::after { + border: 2px solid @subtext0; + } + [type="checkbox"]:checked + label::before { + border: 0px solid rgba(0, 0, 0, 0); + border-right: 2px solid @green; + border-bottom: 2px solid @green; + } - /* checkbox */ - [type="checkbox"] + label::before, - [type="checkbox"]:not(.filled-in) + label::after { - border: 2px solid @subtext0; - } - [type="checkbox"]:checked + label::before { - border: 0px solid rgba(0, 0, 0, 0.0); - border-right: 2px solid @green; - border-bottom: 2px solid @green; - } + /* table hover */ + div.material-table table tbody tr:hover { + background-color: fade(@surface2, 40%); + } + /* nav hover */ + nav ul a:hover { + background-color: fade(@surface2, 40%); + } + .dropdown-content li:hover, + .dropdown-content li.active, + .dropdown-content li.selected { + background-color: fade(@surface2, 5%); + } - /* table hover */ - div.material-table table tbody tr:hover { - background-color: fade(@surface2, 40%); - } - /* nav hover */ - nav ul a:hover { - background-color: fade(@surface2, 40%); - } - .dropdown-content li:hover, - .dropdown-content li.active, - .dropdown-content li.selected { - background-color: fade(@surface2, 5%); - } + .input-field .active { + color: @accent-color !important; + } + /* search unfocused */ + input:not([type]), + input[type="text"], + input[type="password"], + input[type="email"], + input[type="url"], + input[type="time"], + input[type="date"], + input[type="datetime"], + input[type="datetime-local"], + input[type="tel"], + input[type="number"], + input[type="search"], + textarea.materialize-textarea { + border-bottom: 1px solid @subtext0; + box-shadow: 1 1px 0 0 @subtext0; + } + /* search focused */ + input:not([type]):focus:not([readonly]), + input[type="text"]:focus:not([readonly]), + input[type="password"]:focus:not([readonly]), + input[type="email"]:focus:not([readonly]), + input[type="url"]:focus:not([readonly]), + input[type="time"]:focus:not([readonly]), + input[type="date"]:focus:not([readonly]), + input[type="datetime"]:focus:not([readonly]), + input[type="datetime-local"]:focus:not([readonly]), + input[type="tel"]:focus:not([readonly]), + input[type="number"]:focus:not([readonly]), + input[type="search"]:focus:not([readonly]), + textarea.materialize-textarea:focus:not([readonly]) { + border-bottom: 1px solid @accent-color; + box-shadow: 0 1px 0 0 @accent-color; + } - .input-field .active { - color: @accent-color !important; - } - /* search unfocused */ - input:not([type]), - input[type="text"], - input[type="password"], - input[type="email"], - input[type="url"], - input[type="time"], - input[type="date"], - input[type="datetime"], - input[type="datetime-local"], - input[type="tel"], - input[type="number"], - input[type="search"], - textarea.materialize-textarea { - border-bottom: 1px solid @subtext0; - box-shadow: 1 1px 0 0 @subtext0; - } - /* search focused */ - input:not([type]):focus:not([readonly]), - input[type="text"]:focus:not([readonly]), - input[type="password"]:focus:not([readonly]), - input[type="email"]:focus:not([readonly]), - input[type="url"]:focus:not([readonly]), - input[type="time"]:focus:not([readonly]), - input[type="date"]:focus:not([readonly]), - input[type="datetime"]:focus:not([readonly]), - input[type="datetime-local"]:focus:not([readonly]), - input[type="tel"]:focus:not([readonly]), - input[type="number"]:focus:not([readonly]), - input[type="search"]:focus:not([readonly]), - textarea.materialize-textarea:focus:not([readonly]) { - border-bottom: 1px solid @accent-color; - box-shadow: 0 1px 0 0 @accent-color; - } + .teal-text, + .teal-text.text-darken-2, + .teal-text.text-lighten-3, + a { + color: @accent-color !important; + } - .teal-text, - .teal-text.text-darken-2, - .teal-text.text-lighten-3, - a { - color: @accent-color !important; - } + .btn, + .btn-large { + color: @text !important; + } + .btn.disabled, + .disabled.btn-large, + .btn-floating.disabled, + .btn-large.disabled, + .btn-flat.disabled, + .btn:disabled, + .btn-large:disabled, + .btn-floating:disabled, + .btn-large:disabled, + .btn-flat:disabled, + .btn[disabled], + [disabled].btn-large, + .btn-floating[disabled], + .btn-large[disabled], + .btn-flat[disabled] { + background-color: @mantle !important; + color: @subtext0 !important; + } - .btn, - .btn-large { - color: @text !important; - } - .btn.disabled, - .disabled.btn-large, - .btn-floating.disabled, - .btn-large.disabled, - .btn-flat.disabled, - .btn:disabled, - .btn-large:disabled, - .btn-floating:disabled, - .btn-large:disabled, - .btn-flat:disabled, - .btn[disabled], - [disabled].btn-large, - .btn-floating[disabled], - .btn-large[disabled], - .btn-flat[disabled] { - background-color: @mantle !important; - color: @subtext0 !important; - } + .btn-large.red { + background-color: darken(@red, 30%) !important; + } - .btn-large.red { - background-color: darken(@red, 30%) !important; - } + .card { + background-color: @base; + border: 1px solid @surface0; + } - .card { - background-color: @base; - border: 1px solid @surface0; - } + thead, + div.material-table table tr td, + div.material-table .table-header { + border-bottom: 1px solid @surface0; + } - thead, - div.material-table table tr td, - div.material-table .table-header { - border-bottom: 1px solid @surface0; - } + /* modals found in custom chart settings */ + .modal .modal-content, + .modal .modal-footer { + background-color: @surface0; + } - /* modals found in custom chart settings */ - .modal .modal-content, - .modal .modal-footer { - background-color: @surface0; - } + /* custom chart dropdown menu */ + .select-wrapper input.select-dropdown { + border-bottom: 1px solid @subtext0; + } + .select-dropdown li.optgroup { + border-top: 1px solid @surface1; + } + .select-dropdown li.disabled, + .select-dropdown li.disabled > span, + .select-dropdown li.optgroup { + color: @text; + } + .select-dropdown li.optgroup > span { + color: @subtext1; + } + .dropdown-content li > a, + .dropdown-content li > span { + color: @accent-color; + } - /* custom chart dropdown menu */ - .select-wrapper input.select-dropdown { - border-bottom: 1px solid @subtext0; - } - .select-dropdown li.optgroup { - border-top: 1px solid @surface1; - } - .select-dropdown li.disabled, - .select-dropdown li.disabled > span, - .select-dropdown li.optgroup { - color: @text; - } - .select-dropdown li.optgroup > span { - color: @subtext1; - } - .dropdown-content li > a, - .dropdown-content li > span { - color: @accent-color; - } + .divider { + background-color: @overlay2; + } + .caret { + color: @overlay1 !important; + } - .divider { - background-color: @overlay2; - } - .caret { - color: @overlay1 !important; - } + /* custom chart lever */ + .switch label .lever { + background-color: @overlay0; + &::after { + background-color: @overlay2; + } + } + .switch label input[type="checkbox"]:checked + .lever { + background-color: desaturate(darken(@accent-color, 30%), 50%); + &::after { + background-color: @accent-color; + } + } - /* custom chart lever */ - .switch label .lever { - background-color: @overlay0; - &::after { - background-color: @overlay2; - } - } - .switch label input[type="checkbox"]:checked + .lever { - background-color: desaturate(darken(@accent-color, 30%), 50%); - &::after { - background-color: @accent-color; - } - } + /* HIGHCHARTS "let's hope this does'nt break"-section */ + /* all the charts */ + .highcharts-graph when (@graphUseAccentColor=1) { + stroke: @accent-color; + } + .highcharts-graph when (@graphUseAccentColor=0) { + stroke: @red; + } + /* "shadow" area below graph in time navigator */ + .highcharts-area { + fill: fade(@red, 5%) !important; + & when (@graphUseAccentColor=1) { + fill: fade(@accent-color, 5%) !important; + } + } - /* HIGHCHARTS "let's hope this does'nt break"-section */ - /* all the charts */ - .highcharts-graph when (@graphUseAccentColor=1) { - stroke: @accent-color; - } - .highcharts-graph when (@graphUseAccentColor=0) { - stroke: @red; - } - /* "shadow" area below graph in time navigator */ - .highcharts-area { - fill: fade(@red, 5%) !important; - & when (@graphUseAccentColor=1) { - fill: fade(@accent-color, 5%) !important; - } - } + /* charts background */ + .highcharts-container { + background: @base !important; + } + /* map blends in with background on latte flavor */ + .highcharts-map-series .highcharts-point { + stroke: @base !important; + & when (@flavor=latte) { + stroke: @overlay0 !important; + } + } + /* graph chart grid */ + .highcharts-grid.highcharts-yaxis-grid .highcharts-grid-line { + stroke: @surface0; + } + /* bottom timeline line */ + .highcharts-tick, + .highcharts-xaxis .highcharts-axis-line { + stroke: @surface1; + } + /* bottom timeline & y axis text text */ + .highcharts-axis-labels.highcharts-xaxis-labels text, + .highcharts-axis-labels.highcharts-yaxis-labels text { + fill: @subtext1 !important; + } - /* charts background */ - .highcharts-container { - background: @base !important; - } - /* map blends in with background on latte flavor */ - .highcharts-map-series .highcharts-point { - stroke: @base !important; - & when (@flavor=latte) { - stroke: @overlay0 !important; - } - } - /* graph chart grid */ - .highcharts-grid.highcharts-yaxis-grid .highcharts-grid-line { - stroke: @surface0; - } - /* bottom timeline line */ - .highcharts-tick, - .highcharts-xaxis .highcharts-axis-line { - stroke: @surface1; - } - /* bottom timeline & y axis text text */ - .highcharts-axis-labels.highcharts-xaxis-labels text, - .highcharts-axis-labels.highcharts-yaxis-labels text { - fill: @subtext1 !important; - } + /* vertical line on graph hover */ + .highcharts-crosshair, + .highcharts-crosshair-thin { + stroke: @overlay2; + } + /* circle marker on graph */ + .highcharts-markers .highcharts-halo.highcharts-color-0 { + fill: @red !important; + stroke: none !important; + & when (@graphUseAccentColor=1) { + fill: @accent-color !important; + } + } + .highcharts-markers path { + fill: @red !important; + stroke: @base !important; + & when (@graphUseAccentColor=1) { + fill: @accent-color !important; + } + } - /* vertical line on graph hover */ - .highcharts-crosshair, - .highcharts-crosshair-thin { - stroke: @overlay2; - } - /* circle marker on graph */ - .highcharts-markers .highcharts-halo.highcharts-color-0 { - fill: @red !important; - stroke: none !important; - & when (@graphUseAccentColor=1) { - fill: @accent-color !important; - } - } - .highcharts-markers path { - fill: @red !important; - stroke: @base !important; - & when (@graphUseAccentColor=1) { - fill: @accent-color !important; - } - } + /* time navigator on bottom */ + /* active time span */ + .highcharts-navigator, + .highcharts-navigator-mask-inside { + fill: fade(@surface1, 33%); + } + .highcharts-navigator .highcharts-navigator-outline { + stroke: @surface1; + } + /* navigator handles on the left & right */ + .highcharts-navigator .highcharts-navigator-handle { + fill: @surface0; + stroke: @overlay1; + } + /* vertical timestamp lines */ + .highcharts-grid.highcharts-xaxis-grid.highcharts-navigator-xaxis + .highcharts-grid-line { + stroke: @surface1; + } + /* time navigator timestamp text */ + .highcharts-xaxis-labels.highcharts-navigator-xaxis tspan { + fill: @subtext0 !important; + } - /* time navigator on bottom */ - /* active time span */ - .highcharts-navigator, - .highcharts-navigator-mask-inside { - fill: fade(@surface1, 33%); - } - .highcharts-navigator .highcharts-navigator-outline { - stroke: @surface1; - } - /* navigator handles on the left & right */ - .highcharts-navigator .highcharts-navigator-handle { - fill: @surface0; - stroke: @overlay1; - } - /* vertical timestamp lines */ - .highcharts-grid.highcharts-xaxis-grid.highcharts-navigator-xaxis .highcharts-grid-line { - stroke: @surface1; - } - /* time navigator timestamp text */ - .highcharts-xaxis-labels.highcharts-navigator-xaxis tspan { - fill: @subtext0 !important; - } + /* scrollbar */ + .highcharts-scrollbar, + .highcharts-scrollbar-track { + fill: @surface0; + stroke: @surface1; + } + .highcharts-scrollbar, + .highcharts-scrollbar-thumb { + fill: @overlay1; + stroke: @overlay1; + } + .highcharts-scrollbar .highcharts-scrollbar-rifles { + stroke: @mantle; + } + .highcharts-scrollbar-button { + fill: @overlay1; + stroke: @overlay1; + } + .highcharts-scrollbar-arrow { + fill: @mantle; + } - /* scrollbar */ - .highcharts-scrollbar, - .highcharts-scrollbar-track { - fill: @surface0; - stroke: @surface1; - } - .highcharts-scrollbar, - .highcharts-scrollbar-thumb { - fill: @overlay1; - stroke: @overlay1; - } - .highcharts-scrollbar .highcharts-scrollbar-rifles { - stroke: @mantle; - } - .highcharts-scrollbar-button { - fill: @overlay1; - stroke: @overlay1; - } - .highcharts-scrollbar-arrow { - fill: @mantle; - } + /* buttons */ + .highcharts-button text { + fill: @subtext1 !important; + } + .highcharts-button-box { + fill: @surface0 !important; + stroke: @surface0 !important; + } + .highcharts-button-symbol { + fill: @subtext0 !important; + stroke: @subtext0 !important; + } + /* normal state */ + .highcharts-button.highcharts-button-normal text { + fill: @subtext1 !important; + } + .highcharts-button.highcharts-button-normal .highcharts-button-box { + fill: @surface0 !important; + stroke: @surface0 !important; + } + /* hover state */ + .highcharts-button.highcharts-button-hover text { + fill: @text !important; + } + .highcharts-button.highcharts-button-hover .highcharts-button-box { + fill: @surface2 !important; + stroke: @surface2 !important; + } + /* pressed state */ + .highcharts-button.highcharts-button-pressed text { + fill: @text !important; + } + .highcharts-button.highcharts-button-pressed .highcharts-button-box { + fill: @surface2 !important; + stroke: @surface2 !important; + } + /* disabled state */ + .highcharts-button.highcharts-button-disabled text { + fill: @overlay0 !important; + } + .highcharts-button.highcharts-button-disabled .highcharts-button-box { + fill: @base !important; + stroke: @surface0 !important; + } - /* buttons */ - .highcharts-button text { - fill: @subtext1 !important; - } - .highcharts-button-box { - fill: @surface0 !important; - stroke: @surface0 !important; - } - .highcharts-button-symbol { - fill: @subtext0 !important; - stroke: @subtext0 !important; - } - /* normal state */ - .highcharts-button.highcharts-button-normal text { - fill: @subtext1 !important; - } - .highcharts-button.highcharts-button-normal .highcharts-button-box { - fill: @surface0 !important; - stroke: @surface0 !important; - } - /* hover state */ - .highcharts-button.highcharts-button-hover text { - fill: @text !important; - } - .highcharts-button.highcharts-button-hover .highcharts-button-box { - fill: @surface2 !important; - stroke: @surface2 !important; - } - /* pressed state */ - .highcharts-button.highcharts-button-pressed text { - fill: @text !important; - } - .highcharts-button.highcharts-button-pressed .highcharts-button-box { - fill: @surface2 !important; - stroke: @surface2 !important; - } - /* disabled state */ - .highcharts-button.highcharts-button-disabled text { - fill: @overlay0 !important; - } - .highcharts-button.highcharts-button-disabled .highcharts-button-box { - fill: @base !important; - stroke: @surface0 !important; - } + /* pie text "shadow" */ + .highcharts-text-outline { + stroke: @mantle; + stroke-width: 2px; + } + /* pie text */ + .highcharts-label.highcharts-data-label tspan { + fill: @subtext1; + } + /* drilldown pie text */ + .highcharts-label.highcharts-data-label.highcharts-drilldown-data-label + tspan { + fill: @blue; + } + .highcharts-label.highcharts-data-label.highcharts-drilldown-data-label + text { + fill: @blue !important; + color: @blue !important; + } + /* pie subtitle */ + .highcharts-subtitle tspan { + fill: @subtext0; + } + /* pie hover text */ + .highcharts-label.highcharts-tooltip text { + fill: @subtext1 !important; + color: @subtext1 !important; + } + /* hover text */ + .highcharts-label.highcharts-tooltip-box tspan { + fill: @subtext1; + } + /* hover text red dot */ + .highcharts-label.highcharts-tooltip-box tspan[style="fill:#F44336"] { + fill: @red !important; + & when (@graphUseAccentColor=1) { + fill: @accent-color !important; + } + } + /* map hover text */ + .highcharts-label.highcharts-tooltip + span:not(div.highcharts-label > span:nth-child(1) > span:nth-child(1)) { + color: @subtext1 !important; + } + /* "No data to display" */ + .highcharts-label.highcharts-no-data tspan { + fill: @subtext1; + } + /* axis label */ + .highcharts-axis-title tspan { + fill: @subtext1; + } - /* pie text "shadow" */ - .highcharts-text-outline { - stroke: @mantle; - stroke-width: 2px; - } - /* pie text */ - .highcharts-label.highcharts-data-label tspan { - fill: @subtext1; - } - /* drilldown pie text */ - .highcharts-label.highcharts-data-label.highcharts-drilldown-data-label tspan { - fill: @blue; - } - .highcharts-label.highcharts-data-label.highcharts-drilldown-data-label text { - fill: @blue !important; - color: @blue !important; - } - /* pie subtitle */ - .highcharts-subtitle tspan { - fill: @subtext0; - } - /* pie hover text */ - .highcharts-label.highcharts-tooltip text { - fill: @subtext1 !important; - color: @subtext1 !important; - } - /* hover text */ - .highcharts-label.highcharts-tooltip-box tspan { - fill: @subtext1; - } - /* hover text red dot */ - .highcharts-label.highcharts-tooltip-box tspan[style="fill:#F44336"] { - fill: @red !important; - & when (@graphUseAccentColor=1) { - fill: @accent-color !important; - } - } - /* map hover text */ - .highcharts-label.highcharts-tooltip span:not(div.highcharts-label > span:nth-child(1) > span:nth-child(1)) { - color: @subtext1 !important; - } - /* "No data to display" */ - .highcharts-label.highcharts-no-data tspan { - fill: @subtext1; - } - /* axis label */ - .highcharts-axis-title tspan { - fill: @subtext1; - } + /* hover text background */ + .highcharts-label-box, + .highcharts-tooltip-box { + fill: @surface0; + } - /* hover text background */ - .highcharts-label-box, - .highcharts-tooltip-box { - fill: @surface0; - } + /* legend */ + /* legend title */ + .highcharts-label.highcharts-legend-title text { + fill: @subtext1 !important; + } + /* legend labels */ + .highcharts-axis-labels, + .highcharts-coloraxis-labels text { + fill: @subtext0 !important; + } + /* vertical lines */ + .highcharts-legend-item + .highcharts-grid.highcharts-coloraxis-grid + .highcharts-grid-line { + stroke: @base; + } + /* background only for bar chart legend */ + .highcharts-legend + .highcharts-legend-box[fill="#FFFFFF"][stroke="#999999"] { + fill: @surface0 !important; + stroke: @surface1 !important; + } + /* bar chart entries */ + .highcharts-legend .highcharts-legend-item.highcharts-bar-series tspan { + fill: @subtext1 !important; + &:hover { + fill: @text !important; + } + } + .highcharts-legend + .highcharts-legend-item.highcharts-bar-series.highcharts-legend-item-hidden + tspan { + fill: @overlay2 !important; + &:hover { + fill: @subtext0 !important; + } + } - /* legend */ - /* legend title */ - .highcharts-label.highcharts-legend-title text { - fill: @subtext1 !important; - } - /* legend labels */ - .highcharts-axis-labels, - .highcharts-coloraxis-labels text { - fill: @subtext0 !important; - } - /* vertical lines */ - .highcharts-legend-item .highcharts-grid.highcharts-coloraxis-grid .highcharts-grid-line { - stroke: @base; - } - /* background only for bar chart legend */ - .highcharts-legend .highcharts-legend-box[fill="#FFFFFF"][stroke="#999999"] { - fill: @surface0 !important; - stroke: @surface1 !important; - } - /* bar chart entries */ - .highcharts-legend .highcharts-legend-item.highcharts-bar-series tspan { - fill: @subtext1 !important; - &:hover { - fill: @text !important; - } - } - .highcharts-legend .highcharts-legend-item.highcharts-bar-series.highcharts-legend-item-hidden tspan { - fill: @overlay2 !important; - &:hover { - fill: @subtext0 !important; - } - } - - .highcharts-point { - stroke: @base !important; - } - /* bar chart circle outline */ - .highcharts-legend .highcharts-legend-item.highcharts-bar-series rect { - stroke: none !important; - } - /* disabled bar chart circle */ - .highcharts-legend .highcharts-legend-item.highcharts-bar-series.highcharts-legend-item-hidden rect { - fill: @overlay0 !important; - stroke: none !important; - } - /* bar & pie chart colors */ - /* color 0 */ - .highcharts-point.highcharts-color-0, - .highcharts-halo.highcharts-color-0, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-0 rect { - fill: @red !important; - } - .highcharts-data-label-connector.highcharts-color-0 { - stroke: @red !important; - } - /* color 1 */ - .highcharts-point.highcharts-color-1, - .highcharts-halo.highcharts-color-1, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-1 rect { - fill: @green !important; - } - .highcharts-data-label-connector.highcharts-color-1 { - stroke: @green !important; - } - /* color 2 */ - .highcharts-point.highcharts-color-2, - .highcharts-halo.highcharts-color-2, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-2 rect { - fill: @sky !important; - } - .highcharts-data-label-connector.highcharts-color-2 { - stroke: @sky !important; - } - /* color 3 */ - .highcharts-point.highcharts-color-3, - .highcharts-halo.highcharts-color-3, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-3 rect { - fill: @peach !important; - } - .highcharts-data-label-connector.highcharts-color-3 { - stroke: @peach !important; - } - /* color 4 */ - .highcharts-point.highcharts-color-4, - .highcharts-halo.highcharts-color-4, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-4 rect { - fill: @yellow !important; - } - .highcharts-data-label-connector.highcharts-color-4 { - stroke: @yellow !important; - } - /* color 5 */ - .highcharts-point.highcharts-color-5, - .highcharts-halo.highcharts-color-5, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-5 rect { - fill: @teal !important; - } - .highcharts-data-label-connector.highcharts-color-5 { - stroke: @teal !important; - } - /* color 6 */ - .highcharts-point.highcharts-color-6, - .highcharts-halo.highcharts-color-6, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-6 rect { - fill: @pink !important; - } - .highcharts-data-label-connector.highcharts-color-6 { - stroke: @pink !important; - } - /* color 7 */ - .highcharts-point.highcharts-color-7, - .highcharts-halo.highcharts-color-7, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-7 rect { - fill: @flamingo !important; - } - .highcharts-data-label-connector.highcharts-color-7 { - stroke: @flamingo !important; - } - /* color 8 */ - .highcharts-point.highcharts-color-8, - .highcharts-halo.highcharts-color-8, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-8 rect { - fill: @subtext0 !important; - } - .highcharts-data-label-connector.highcharts-color-8 { - stroke: @subtext0 !important; - } - /* color 9 */ - .highcharts-point.highcharts-color-9, - .highcharts-halo.highcharts-color-9, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-9 rect { - fill: @blue !important; - } - .highcharts-data-label-connector.highcharts-color-9 { - stroke: @blue !important; - } - /* color 10 */ - .highcharts-point.highcharts-color-10, - .highcharts-halo.highcharts-color-10, - .highcharts-legend-item.highcharts-bar-series.highcharts-color-10 rect { - fill: @mauve !important; - } - .highcharts-data-label-connector.highcharts-color-10 { - stroke: @mauve !important; - } - } + .highcharts-point { + stroke: @base !important; + } + /* bar chart circle outline */ + .highcharts-legend .highcharts-legend-item.highcharts-bar-series rect { + stroke: none !important; + } + /* disabled bar chart circle */ + .highcharts-legend + .highcharts-legend-item.highcharts-bar-series.highcharts-legend-item-hidden + rect { + fill: @overlay0 !important; + stroke: none !important; + } + /* bar & pie chart colors */ + /* color 0 */ + .highcharts-point.highcharts-color-0, + .highcharts-halo.highcharts-color-0, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-0 rect { + fill: @red !important; + } + .highcharts-data-label-connector.highcharts-color-0 { + stroke: @red !important; + } + /* color 1 */ + .highcharts-point.highcharts-color-1, + .highcharts-halo.highcharts-color-1, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-1 rect { + fill: @green !important; + } + .highcharts-data-label-connector.highcharts-color-1 { + stroke: @green !important; + } + /* color 2 */ + .highcharts-point.highcharts-color-2, + .highcharts-halo.highcharts-color-2, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-2 rect { + fill: @sky !important; + } + .highcharts-data-label-connector.highcharts-color-2 { + stroke: @sky !important; + } + /* color 3 */ + .highcharts-point.highcharts-color-3, + .highcharts-halo.highcharts-color-3, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-3 rect { + fill: @peach !important; + } + .highcharts-data-label-connector.highcharts-color-3 { + stroke: @peach !important; + } + /* color 4 */ + .highcharts-point.highcharts-color-4, + .highcharts-halo.highcharts-color-4, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-4 rect { + fill: @yellow !important; + } + .highcharts-data-label-connector.highcharts-color-4 { + stroke: @yellow !important; + } + /* color 5 */ + .highcharts-point.highcharts-color-5, + .highcharts-halo.highcharts-color-5, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-5 rect { + fill: @teal !important; + } + .highcharts-data-label-connector.highcharts-color-5 { + stroke: @teal !important; + } + /* color 6 */ + .highcharts-point.highcharts-color-6, + .highcharts-halo.highcharts-color-6, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-6 rect { + fill: @pink !important; + } + .highcharts-data-label-connector.highcharts-color-6 { + stroke: @pink !important; + } + /* color 7 */ + .highcharts-point.highcharts-color-7, + .highcharts-halo.highcharts-color-7, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-7 rect { + fill: @flamingo !important; + } + .highcharts-data-label-connector.highcharts-color-7 { + stroke: @flamingo !important; + } + /* color 8 */ + .highcharts-point.highcharts-color-8, + .highcharts-halo.highcharts-color-8, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-8 rect { + fill: @subtext0 !important; + } + .highcharts-data-label-connector.highcharts-color-8 { + stroke: @subtext0 !important; + } + /* color 9 */ + .highcharts-point.highcharts-color-9, + .highcharts-halo.highcharts-color-9, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-9 rect { + fill: @blue !important; + } + .highcharts-data-label-connector.highcharts-color-9 { + stroke: @blue !important; + } + /* color 10 */ + .highcharts-point.highcharts-color-10, + .highcharts-halo.highcharts-color-10, + .highcharts-legend-item.highcharts-bar-series.highcharts-color-10 rect { + fill: @mauve !important; + } + .highcharts-data-label-connector.highcharts-color-10 { + stroke: @mauve !important; + } + } } diff --git a/styles/chatgpt/catppuccin.user.css b/styles/chatgpt/catppuccin.user.css index abfde566..2dda73e9 100644 --- a/styles/chatgpt/catppuccin.user.css +++ b/styles/chatgpt/catppuccin.user.css @@ -14,7 +14,7 @@ ==/UserStyle== */ @-moz-document domain("chat.openai.com") { @import url("https://unpkg.com/@catppuccin/highlightjs@0.1.2/css/catppuccin.variables.css"); - + .light body, .light html { #catppuccin(@lightFlavor); @@ -146,7 +146,7 @@ @rgb-raw: red(@color), green(@color), blue(@color); } - #catppuccin(@lookup) { + #catppuccin(@lookup) { @rosewater: @catppuccin[@@lookup][@rosewater]; @flamingo: @catppuccin[@@lookup][@flamingo]; @pink: @catppuccin[@@lookup][@pink]; @@ -173,34 +173,34 @@ @base: @catppuccin[@@lookup][@base]; @mantle: @catppuccin[@@lookup][@mantle]; @crust: @catppuccin[@@lookup][@crust]; - - --ctp-rosewater: #rgbify(@rosewater)[]; - --ctp-flamingo: #rgbify(@flamingo)[]; - --ctp-pink: #rgbify(@pink)[]; - --ctp-mauve: #rgbify(@mauve)[]; - --ctp-red: #rgbify(@red)[]; - --ctp-maroon: #rgbify(@maroon)[]; - --ctp-peach: #rgbify(@peach)[]; - --ctp-yellow: #rgbify(@yellow)[]; - --ctp-green: #rgbify(@green)[]; - --ctp-teal: #rgbify(@teal)[]; - --ctp-sky: #rgbify(@sky)[]; - --ctp-sapphire: #rgbify(@sapphire)[]; - --ctp-blue: #rgbify(@blue)[]; - --ctp-lavender: #rgbify(@lavender)[]; - --ctp-text: #rgbify(@text)[]; - --ctp-subtext1: #rgbify(@subtext1)[]; - --ctp-subtext0: #rgbify(@subtext0)[]; - --ctp-overlay2: #rgbify(@overlay2)[]; - --ctp-overlay1: #rgbify(@overlay1)[]; - --ctp-overlay0: #rgbify(@overlay0)[]; - --ctp-surface2: #rgbify(@surface2)[]; - --ctp-surface1: #rgbify(@surface1)[]; - --ctp-surface0: #rgbify(@surface0)[]; - --ctp-base: #rgbify(@crust)[]; - --ctp-mantle: #rgbify(@mantle)[]; - --ctp-curst: #rgbify(@crust)[]; - + + --ctp-rosewater: #rgbify(@rosewater) []; + --ctp-flamingo: #rgbify(@flamingo) []; + --ctp-pink: #rgbify(@pink) []; + --ctp-mauve: #rgbify(@mauve) []; + --ctp-red: #rgbify(@red) []; + --ctp-maroon: #rgbify(@maroon) []; + --ctp-peach: #rgbify(@peach) []; + --ctp-yellow: #rgbify(@yellow) []; + --ctp-green: #rgbify(@green) []; + --ctp-teal: #rgbify(@teal) []; + --ctp-sky: #rgbify(@sky) []; + --ctp-sapphire: #rgbify(@sapphire) []; + --ctp-blue: #rgbify(@blue) []; + --ctp-lavender: #rgbify(@lavender) []; + --ctp-text: #rgbify(@text) []; + --ctp-subtext1: #rgbify(@subtext1) []; + --ctp-subtext0: #rgbify(@subtext0) []; + --ctp-overlay2: #rgbify(@overlay2) []; + --ctp-overlay1: #rgbify(@overlay1) []; + --ctp-overlay0: #rgbify(@overlay0) []; + --ctp-surface2: #rgbify(@surface2) []; + --ctp-surface1: #rgbify(@surface1) []; + --ctp-surface0: #rgbify(@surface0) []; + --ctp-base: #rgbify(@crust) []; + --ctp-mantle: #rgbify(@mantle) []; + --ctp-curst: #rgbify(@crust) []; + /* Main page */ div[class*="bg-gray-"]:not([class*="bg-gray-900"]):not( [class*="bg-gray-700"] diff --git a/styles/chatreplay/catppuccin.user.css b/styles/chatreplay/catppuccin.user.css index fa2728d7..115f1365 100644 --- a/styles/chatreplay/catppuccin.user.css +++ b/styles/chatreplay/catppuccin.user.css @@ -16,279 +16,291 @@ ==/UserStyle== */ @-moz-document domain("chatreplay.stream") { - :root[dark] #chat-container { - #catppuccin(@darkFlavor, @accentColor, chat); + :root[dark] #chat-container { + #catppuccin(@darkFlavor, @accentColor, chat); + } + :root #chat-container { + #catppuccin(@lightFlavor, @accentColor, chat); + } + @media (prefers-color-scheme: light) { + :root { + #catppuccin(@lightFlavor, @accentColor, base); } - :root #chat-container { - #catppuccin(@lightFlavor, @accentColor, chat); - } - @media (prefers-color-scheme: light) { - :root { - #catppuccin(@lightFlavor, @accentColor, base); - } - } - @media (prefers-color-scheme: dark) { - :root { - #catppuccin(@darkFlavor, @accentColor, base); - } + } + @media (prefers-color-scheme: dark) { + :root { + #catppuccin(@darkFlavor, @accentColor, base); } + } - @catppuccin: { - @latte: { - @rosewater: #dc8a78; - @flamingo: #dd7878; - @pink: #ea76cb; - @mauve: #8839ef; - @red: #d20f39; - @maroon: #e64553; - @peach: #fe640b; - @yellow: #df8e1d; - @green: #40a02b; - @teal: #179299; - @sky: #04a5e5; - @sapphire: #209fb5; - @blue: #1e66f5; - @lavender: #7287fd; - @text: #4c4f69; - @subtext1: #5c5f77; - @subtext0: #6c6f85; - @overlay2: #7c7f93; - @overlay1: #8c8fa1; - @overlay0: #9ca0b0; - @surface2: #acb0be; - @surface1: #bcc0cc; - @surface0: #ccd0da; - @base: #eff1f5; - @mantle: #e6e9ef; - @crust: #dce0e8; + @catppuccin: { + @latte: { + @rosewater: #dc8a78; + @flamingo: #dd7878; + @pink: #ea76cb; + @mauve: #8839ef; + @red: #d20f39; + @maroon: #e64553; + @peach: #fe640b; + @yellow: #df8e1d; + @green: #40a02b; + @teal: #179299; + @sky: #04a5e5; + @sapphire: #209fb5; + @blue: #1e66f5; + @lavender: #7287fd; + @text: #4c4f69; + @subtext1: #5c5f77; + @subtext0: #6c6f85; + @overlay2: #7c7f93; + @overlay1: #8c8fa1; + @overlay0: #9ca0b0; + @surface2: #acb0be; + @surface1: #bcc0cc; + @surface0: #ccd0da; + @base: #eff1f5; + @mantle: #e6e9ef; + @crust: #dce0e8; + }; + @frappe: { + @rosewater: #f2d5cf; + @flamingo: #eebebe; + @pink: #f4b8e4; + @mauve: #ca9ee6; + @red: #e78284; + @maroon: #ea999c; + @peach: #ef9f76; + @yellow: #e5c890; + @green: #a6d189; + @teal: #81c8be; + @sky: #99d1db; + @sapphire: #85c1dc; + @blue: #8caaee; + @lavender: #babbf1; + @text: #c6d0f5; + @subtext1: #b5bfe2; + @subtext0: #a5adce; + @overlay2: #949cbb; + @overlay1: #838ba7; + @overlay0: #737994; + @surface2: #626880; + @surface1: #51576d; + @surface0: #414559; + @base: #303446; + @mantle: #292c3c; + @crust: #232634; + }; + @macchiato: { + @rosewater: #f4dbd6; + @flamingo: #f0c6c6; + @pink: #f5bde6; + @mauve: #c6a0f6; + @red: #ed8796; + @maroon: #ee99a0; + @peach: #f5a97f; + @yellow: #eed49f; + @green: #a6da95; + @teal: #8bd5ca; + @sky: #91d7e3; + @sapphire: #7dc4e4; + @blue: #8aadf4; + @lavender: #b7bdf8; + @text: #cad3f5; + @subtext1: #b8c0e0; + @subtext0: #a5adcb; + @overlay2: #939ab7; + @overlay1: #8087a2; + @overlay0: #6e738d; + @surface2: #5b6078; + @surface1: #494d64; + @surface0: #363a4f; + @base: #24273a; + @mantle: #1e2030; + @crust: #181926; + }; + @mocha: { + @rosewater: #f5e0dc; + @flamingo: #f2cdcd; + @pink: #f5c2e7; + @mauve: #cba6f7; + @red: #f38ba8; + @maroon: #eba0ac; + @peach: #fab387; + @yellow: #f9e2af; + @green: #a6e3a1; + @teal: #94e2d5; + @sky: #89dceb; + @sapphire: #74c7ec; + @blue: #89b4fa; + @lavender: #b4befe; + @text: #cdd6f4; + @subtext1: #bac2de; + @subtext0: #a6adc8; + @overlay2: #9399b2; + @overlay1: #7f849c; + @overlay0: #6c7086; + @surface2: #585b70; + @surface1: #45475a; + @surface0: #313244; + @base: #1e1e2e; + @mantle: #181825; + @crust: #11111b; + }; + }; + + #catppuccin(@lookup, @accent-color, @platform) { + @rosewater: @catppuccin[@@lookup][@rosewater]; + @flamingo: @catppuccin[@@lookup][@flamingo]; + @pink: @catppuccin[@@lookup][@pink]; + @mauve: @catppuccin[@@lookup][@mauve]; + @red: @catppuccin[@@lookup][@red]; + @maroon: @catppuccin[@@lookup][@maroon]; + @peach: @catppuccin[@@lookup][@peach]; + @yellow: @catppuccin[@@lookup][@yellow]; + @green: @catppuccin[@@lookup][@green]; + @teal: @catppuccin[@@lookup][@teal]; + @sky: @catppuccin[@@lookup][@sky]; + @sapphire: @catppuccin[@@lookup][@sapphire]; + @blue: @catppuccin[@@lookup][@blue]; + @lavender: @catppuccin[@@lookup][@lavender]; + @text: @catppuccin[@@lookup][@text]; + @subtext1: @catppuccin[@@lookup][@subtext1]; + @subtext0: @catppuccin[@@lookup][@subtext0]; + @overlay2: @catppuccin[@@lookup][@overlay2]; + @overlay1: @catppuccin[@@lookup][@overlay1]; + @overlay0: @catppuccin[@@lookup][@overlay0]; + @surface2: @catppuccin[@@lookup][@surface2]; + @surface1: @catppuccin[@@lookup][@surface1]; + @surface0: @catppuccin[@@lookup][@surface0]; + @base: @catppuccin[@@lookup][@base]; + @mantle: @catppuccin[@@lookup][@mantle]; + @crust: @catppuccin[@@lookup][@crust]; + @accent: @catppuccin[@@lookup][@@accent-color]; + + & when (@platform = chat) { + & { + a, + i { + color: @accent; } - @frappe: { - @rosewater: #f2d5cf; - @flamingo: #eebebe; - @pink: #f4b8e4; - @mauve: #ca9ee6; - @red: #e78284; - @maroon: #ea999c; - @peach: #ef9f76; - @yellow: #e5c890; - @green: #a6d189; - @teal: #81c8be; - @sky: #99d1db; - @sapphire: #85c1dc; - @blue: #8caaee; - @lavender: #babbf1; - @text: #c6d0f5; - @subtext1: #b5bfe2; - @subtext0: #a5adce; - @overlay2: #949cbb; - @overlay1: #838ba7; - @overlay0: #737994; - @surface2: #626880; - @surface1: #51576d; - @surface0: #414559; - @base: #303446; - @mantle: #292c3c; - @crust: #232634; + color: @text; + --text-color: @text; + --timestamp-color: @subtext1; + --bg-color: @base; + --bg-color-transparent: fade(@base, 10%); + --settings-bg-color: @mantle; + --btn-bg-color: @surface0; + --bg-color-highlight: @surface0; + --scrollbar-thumb: @surface0; + --btn-hover-bg: @surface1; + --link-color: @accent; + --border-color: @surface0; + --settings-shadow: 0 4px 8px rgba(@crust, 0.4), + 0 0 4px rgba(@crust, 0.4); + .message-notice { + border-left: 4px solid @accent; } - @macchiato: { - @rosewater: #f4dbd6; - @flamingo: #f0c6c6; - @pink: #f5bde6; - @mauve: #c6a0f6; - @red: #ed8796; - @maroon: #ee99a0; - @peach: #f5a97f; - @yellow: #eed49f; - @green: #a6da95; - @teal: #8bd5ca; - @sky: #91d7e3; - @sapphire: #7dc4e4; - @blue: #8aadf4; - @lavender: #b7bdf8; - @text: #cad3f5; - @subtext1: #b8c0e0; - @subtext0: #a5adcb; - @overlay2: #939ab7; - @overlay1: #8087a2; - @overlay0: #6e738d; - @surface2: #5b6078; - @surface1: #494d64; - @surface0: #363a4f; - @base: #24273a; - @mantle: #1e2030; - @crust: #181926; + .message--highlighted a { + color: @accent; } - @mocha: { - @rosewater: #f5e0dc; - @flamingo: #f2cdcd; - @pink: #f5c2e7; - @mauve: #cba6f7; - @red: #f38ba8; - @maroon: #eba0ac; - @peach: #fab387; - @yellow: #f9e2af; - @green: #a6e3a1; - @teal: #94e2d5; - @sky: #89dceb; - @sapphire: #74c7ec; - @blue: #89b4fa; - @lavender: #b4befe; - @text: #cdd6f4; - @subtext1: #bac2de; - @subtext0: #a6adc8; - @overlay2: #9399b2; - @overlay1: #7f849c; - @overlay0: #6c7086; - @surface2: #585b70; - @surface1: #45475a; - @surface0: #313244; - @base: #1e1e2e; - @mantle: #181825; - @crust: #11111b; + .message--highlighted { + background: @accent; + border: 4px solid @accent; + color: @base; + text-shadow: none; } + .red-dot:after { + background: @red; + } + &[overlay] { + --bg-color: rgba(@base, var(--overlay-opacity)); + --bg-color-highlight: rgba( + @base, + max(0.4, calc(var(--overlay-opacity) * 1.2)) + ); + --text-shadow: -1px -1px 0px @base, 0px -1px 0px @base, + 1px -1px 0px @base, -1px 0px 0px @base, 1px 0px 0px @base, + -1px 1px 0px @base, 0px 1px 0px @base, 1px 1px 0px @base; + --text-color: @text; + } + .resume-scroll { + background-color: @surface0; + } + } + @keyframes rotating { + 0% { + transform: rotate(0); + } + + to { + transform: rotate(360deg); + scale: 1.5; + fill: @red; + } + } } - - - #catppuccin(@lookup, @accent-color, @platform) { - @rosewater: @catppuccin[@@lookup][@rosewater]; - @flamingo: @catppuccin[@@lookup][@flamingo]; - @pink: @catppuccin[@@lookup][@pink]; - @mauve: @catppuccin[@@lookup][@mauve]; - @red: @catppuccin[@@lookup][@red]; - @maroon: @catppuccin[@@lookup][@maroon]; - @peach: @catppuccin[@@lookup][@peach]; - @yellow: @catppuccin[@@lookup][@yellow]; - @green: @catppuccin[@@lookup][@green]; - @teal: @catppuccin[@@lookup][@teal]; - @sky: @catppuccin[@@lookup][@sky]; - @sapphire: @catppuccin[@@lookup][@sapphire]; - @blue: @catppuccin[@@lookup][@blue]; - @lavender: @catppuccin[@@lookup][@lavender]; - @text: @catppuccin[@@lookup][@text]; - @subtext1: @catppuccin[@@lookup][@subtext1]; - @subtext0: @catppuccin[@@lookup][@subtext0]; - @overlay2: @catppuccin[@@lookup][@overlay2]; - @overlay1: @catppuccin[@@lookup][@overlay1]; - @overlay0: @catppuccin[@@lookup][@overlay0]; - @surface2: @catppuccin[@@lookup][@surface2]; - @surface1: @catppuccin[@@lookup][@surface1]; - @surface0: @catppuccin[@@lookup][@surface0]; - @base: @catppuccin[@@lookup][@base]; - @mantle: @catppuccin[@@lookup][@mantle]; - @crust: @catppuccin[@@lookup][@crust]; - @accent: @catppuccin[@@lookup][@@accent-color]; - - & when (@platform = chat) { - & { - a, i { - color: @accent; - } - color: @text; - --text-color: @text; - --timestamp-color: @subtext1; - --bg-color: @base; - --bg-color-transparent: fade(@base, 10%); - --settings-bg-color: @mantle; - --btn-bg-color: @surface0; - --bg-color-highlight: @surface0; - --scrollbar-thumb: @surface0; - --btn-hover-bg: @surface1; - --link-color: @accent; - --border-color: @surface0; - --settings-shadow: 0 4px 8px rgba(@crust,.4), 0 0 4px rgba(@crust,.4); - .message-notice { - border-left: 4px solid @accent; - } - .message--highlighted a { - color: @accent; - } - .message--highlighted { - background: @accent; - border: 4px solid @accent; - color: @base; - text-shadow: none - } - .red-dot:after { - background: @red; - } - &[overlay] { - --bg-color: rgba(@base,var(--overlay-opacity)); - --bg-color-highlight: rgba(@base,max(.4, calc(var(--overlay-opacity)*1.2))); - --text-shadow: -1px -1px 0px @base, 0px -1px 0px @base, 1px -1px 0px @base, -1px 0px 0px @base, 1px 0px 0px @base, -1px 1px 0px @base, 0px 1px 0px @base, 1px 1px 0px @base; - --text-color: @text; - } - .resume-scroll { - background-color: @surface0; - } - } - @keyframes rotating { - 0% { - transform: rotate(0) - } - - to { - transform: rotate(360deg); - scale: 1.5; - fill: @red; - } - } - } - & when (@platform = base) { - & { - background-color: @base; - color: @text; - } - body { - color: @text; - } - .card { - background: fade(@crust, 80%) - } - .card.c1cw4bqg.c1cw4bqg { - color: @subtext0; - } - a, i { - color: @accent; - } - button.gradient, .btn.gradient { - background: linear-gradient(45deg, @accent, spin(@accent, 45)); - color: @base; - text-shadow: none; - } - button:not(.custom), .btn { - background: @surface0; - text-shadow: none; - color: @text; - } - .item.zmyc33:hover, .item.active.zmyc33 { - background-color: @surface0; - } - .video-title.damcrq, .logo-text.c1j5psx1.c1j5psx1 { - color: @text; - } - [d="M 4,0 1,3 v 10 h 4 v 3 l 3,-3 h 2 L 15,8 V 0 Z m 10,7 -3,3 H 9 L 7,12 V 10 H 5 V 1 h 9 z"], [d="m 8.5,3 3,2 -3,2 z"] { - fill: @accent; - } - [d="m 4,1 h 10 v 7 l -4,4 H 4 Z"] { - fill: @base; - } - .delete.c19loos5.c19loos5 { - border: 1px solid @red; - } - .mark.z8oy0d.z8oy0d { - background: @accent; - color: @base; - } - .bg.c1ejz165.c1ejz165 { - opacity: @bg-opacity; - filter: blur(@bg-blur); - } - .topbar-container.c1j5psx1.c1j5psx1 { - border-bottom: none; - } - #inner-a.tmgko.tmgko { - background: @mantle; - } - } + & when (@platform = base) { + & { + background-color: @base; + color: @text; + } + body { + color: @text; + } + .card { + background: fade(@crust, 80%); + } + .card.c1cw4bqg.c1cw4bqg { + color: @subtext0; + } + a, + i { + color: @accent; + } + button.gradient, + .btn.gradient { + background: linear-gradient(45deg, @accent, spin(@accent, 45)); + color: @base; + text-shadow: none; + } + button:not(.custom), + .btn { + background: @surface0; + text-shadow: none; + color: @text; + } + .item.zmyc33:hover, + .item.active.zmyc33 { + background-color: @surface0; + } + .video-title.damcrq, + .logo-text.c1j5psx1.c1j5psx1 { + color: @text; + } + [d="M 4,0 1,3 v 10 h 4 v 3 l 3,-3 h 2 L 15,8 V 0 Z m 10,7 -3,3 H 9 L 7,12 V 10 H 5 V 1 h 9 z"], + [d="m 8.5,3 3,2 -3,2 z"] { + fill: @accent; + } + [d="m 4,1 h 10 v 7 l -4,4 H 4 Z"] { + fill: @base; + } + .delete.c19loos5.c19loos5 { + border: 1px solid @red; + } + .mark.z8oy0d.z8oy0d { + background: @accent; + color: @base; + } + .bg.c1ejz165.c1ejz165 { + opacity: @bg-opacity; + filter: blur(@bg-blur); + } + .topbar-container.c1j5psx1.c1j5psx1 { + border-bottom: none; + } + #inner-a.tmgko.tmgko { + background: @mantle; + } } + } } diff --git a/styles/deepl/catppuccin.user.css b/styles/deepl/catppuccin.user.css index 9d99b083..e9a12785 100644 --- a/styles/deepl/catppuccin.user.css +++ b/styles/deepl/catppuccin.user.css @@ -19,7 +19,8 @@ @var checkbox removeAds "Remove DeepL Ads" 0 @var checkbox removeGlossaryButton "Remove Glossary Button" 0 ==/UserStyle== */ -@-moz-document url-prefix("https://www.deepl.com/translator") { +@-moz-document url-prefix("https://www.deepl.com/translator") +{ :root { #catppuccin(@flavor, @accentColor); } @@ -52,7 +53,7 @@ @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; - } + }; @frappe: { @rosewater: #f2d5cf; @@ -81,7 +82,7 @@ @base: #303446; @mantle: #292c3c; @crust: #232634; - } + }; @macchiato: { @rosewater: #f4dbd6; @@ -110,7 +111,7 @@ @base: #24273a; @mantle: #1e2030; @crust: #181926; - } + }; @mocha: { @rosewater: #f5e0dc; @@ -139,8 +140,8 @@ @base: #1e1e2e; @mantle: #181825; @crust: #11111b; - } - } + }; + }; #catppuccin(@lookup, @accent) { @rosewater: @catppuccin[@@lookup][@rosewater]; @@ -174,7 +175,7 @@ @accent2: mix(@accent-Color, @text, 60%); /* text highlight */ - + ::selection { background: fadeout(@accent-Color, 80%) !important; color: @text !important; @@ -297,9 +298,9 @@ .dark [class*="button--"].variant_text--gozza { background-color: transparent; } - + ///// - + .eSEOtericText { color: @overlay1; } @@ -453,7 +454,10 @@ border-color: @surface1; } - .integratedLanguageSelectors .lmt--web .lmt__sides_container .lmt__language_container, + .integratedLanguageSelectors + .lmt--web + .lmt__sides_container + .lmt__language_container, .dl_body--redesign .lmt--web .lmt__textarea_container, .lmt__doc .lmt__language_container #doc-trans-source-panel, [class^="docTrans__help_popup--"], @@ -469,7 +473,7 @@ } // new popup - + .root--Frqwa { background-color: @surface0; } @@ -482,7 +486,6 @@ color: @surface2; } - .dl_body--redesign .lmt--web .lmt__source_textarea__length_marker { color: @subtext0; } @@ -491,7 +494,10 @@ color: @overlay1; } - .dl_body--redesign .lmt--web .lmt__language_select .lmt__language_select__active { + .dl_body--redesign + .lmt--web + .lmt__language_select + .lmt__language_select__active { color: @subtext0; } @@ -519,17 +525,26 @@ color: @overlay2 !important; } - .lmt__source_textarea_overlay .lmt__source_textarea_overlay__sentence--active { + .lmt__source_textarea_overlay + .lmt__source_textarea_overlay__sentence--active { color: @accent2; background-color: @base; } - .integratedLanguageSelectors .lmt--web .lmt__sides_container .lmt__side_container.lmt__side_container--source .lmt__textarea_container { + .integratedLanguageSelectors + .lmt--web + .lmt__sides_container + .lmt__side_container.lmt__side_container--source + .lmt__textarea_container { border-right-color: @surface1; border-top-color: @surface1; } - .integratedLanguageSelectors .lmt--web .lmt__sides_container .lmt__side_container.lmt__side_container--target .lmt__textarea_container { + .integratedLanguageSelectors + .lmt--web + .lmt__sides_container + .lmt__side_container.lmt__side_container--target + .lmt__textarea_container { border-top-color: @surface1 !important; } @@ -542,9 +557,19 @@ color: @overlay1; } - .dl_body--redesign .lmt--web .lmt__textarea_container.lmt__textarea_container--focus, - .integratedLanguageSelectors .lmt--web .lmt__sides_container.lmt__sides_container--focus_source .lmt__side_container.lmt__side_container--source .lmt__textarea_container, - .integratedLanguageSelectors .lmt--web .lmt__sides_container.lmt__sides_container--focus_target .lmt__side_container.lmt__side_container--target .lmt__textarea_container { + .dl_body--redesign + .lmt--web + .lmt__textarea_container.lmt__textarea_container--focus, + .integratedLanguageSelectors + .lmt--web + .lmt__sides_container.lmt__sides_container--focus_source + .lmt__side_container.lmt__side_container--source + .lmt__textarea_container, + .integratedLanguageSelectors + .lmt--web + .lmt__sides_container.lmt__sides_container--focus_target + .lmt__side_container.lmt__side_container--target + .lmt__textarea_container { border: 1px solid @accent-Color !important; } @@ -554,35 +579,51 @@ @keyframes lmt_textarea__busy_animation_ctp { 0% { - box-shadow: inset 0 0 0px 0 @base, inset 0 0 0px 0px rgba(14, 43, 70, 0.0); + box-shadow: + inset 0 0 0px 0 @base, + inset 0 0 0px 0px rgba(14, 43, 70, 0); } 10% { - box-shadow: inset 0 0 0px 1px @base, inset 0 0 0px 2px rgba(14, 43, 70, 0.5); + box-shadow: + inset 0 0 0px 1px @base, + inset 0 0 0px 2px rgba(14, 43, 70, 0.5); } 20% { - box-shadow: inset 0 0 1px 3px @base, inset 0 0 1px 4px rgba(14, 43, 70, 0.5), + box-shadow: + inset 0 0 1px 3px @base, + inset 0 0 1px 4px rgba(14, 43, 70, 0.5); } 40% { - box-shadow: inset 0 0 1px 8px @base, inset 0 0 1px 8px rgba(14, 43, 70, 0.3), + box-shadow: + inset 0 0 1px 8px @base, + inset 0 0 1px 8px rgba(14, 43, 70, 0.3); } } - .lmt--active_translation_request.lmt--active_translation_request--with_target_has_content .lmt__side_container--target .lmt__inner_textarea_container { + .lmt--active_translation_request.lmt--active_translation_request--with_target_has_content + .lmt__side_container--target + .lmt__inner_textarea_container { animation: lmt_textarea__busy_animation_ctp 1.5s 2.5s linear infinite; - box-shadow: inset 0 0 1px 14px @base, inset 0 0 0px rgba(0, 0, 0, 0); + box-shadow: + inset 0 0 1px 14px @base, + inset 0 0 0px rgba(0, 0, 0, 0); } // toolbar? - + .local_undo_redo_DF-3361 .lmt__source_toolbar, .local_undo_redo_DF-3361 .lmt__target_toolbar { background-color: @base; } - .local_undo_redo_DF-3361 .lmt__toolbar_container.is_sticky .lmt__source_toolbar, - .local_undo_redo_DF-3361 .lmt__toolbar_container.is_sticky .lmt__target_toolbar { + .local_undo_redo_DF-3361 + .lmt__toolbar_container.is_sticky + .lmt__source_toolbar, + .local_undo_redo_DF-3361 + .lmt__toolbar_container.is_sticky + .lmt__target_toolbar { border-top-color: @surface1; } @@ -601,9 +642,9 @@ } } } - + // language selector - + .lmt__language_select__menu.lmt__language_select__menu_three_columns { &, input { @@ -614,19 +655,34 @@ } .lmt__language_select__menu .lmt__dropdown_item_inside_container, - .lmt__language_select__menu .lmt__formalitySwitch__menu_items > div > button, - .lmt__language_select__menu .lmt__formalitySwitch__menu_items > div > div > button, + .lmt__language_select__menu + .lmt__formalitySwitch__menu_items + > div + > button, + .lmt__language_select__menu + .lmt__formalitySwitch__menu_items + > div + > div + > button, .lmt__language_select__menu > div > button, .lmt__language_select__menu > div > div > button { color: @subtext1; } - .lmt__language_select__menu.lmt__language_select__menu_three_columns .lmt__language_wrapper .lmt__language_select_column button:hover, - .lmt__language_select__menu.lmt__language_select__menu_three_columns .lmt__language_wrapper .lmt__language_select_column button.highlighted { + .lmt__language_select__menu.lmt__language_select__menu_three_columns + .lmt__language_wrapper + .lmt__language_select_column + button:hover, + .lmt__language_select__menu.lmt__language_select__menu_three_columns + .lmt__language_wrapper + .lmt__language_select_column + button.highlighted { background-color: fadeout(@yellow, 0.3); } - .lmt__language_select__menu.lmt__language_select__menu_three_columns .lmt__language_wrapper .lmt__language_select_column { + .lmt__language_select__menu.lmt__language_select__menu_three_columns + .lmt__language_wrapper + .lmt__language_select_column { border-right-color: @surface1; } @@ -634,19 +690,23 @@ color: @accent-Color; } - .lmt__language_select__menu.lmt__language_select__menu_three_columns .lmt__language_wrapper .lmt__language_select_column button .tick { + .lmt__language_select__menu.lmt__language_select__menu_three_columns + .lmt__language_wrapper + .lmt__language_select_column + button + .tick { border-bottom-color: @accent-Color; border-right-color: @accent-Color; } - + // glossary - + .lmt__glossary_highlight { color: @accent-Color; } .lmt__glossaryButton__desktop { - border-color: fadeout(@text, 12%) + border-color: fadeout(@text, 12%); } .lmt__glossary_button .lmt__glossary_button_label:hover { @@ -692,7 +752,9 @@ } } - .lmt_firstEntry-content .lmt__glossary_newEntry_langButton .lmt__glossary_arrowDown { + .lmt_firstEntry-content + .lmt__glossary_newEntry_langButton + .lmt__glossary_arrowDown { border-bottom-color: @overlay2; border-right-color: @overlay2; } @@ -740,12 +802,19 @@ } } - .lmt__glossary_newEntry_langDropdown.lmt__language_select__menu button .langName { + .lmt__glossary_newEntry_langDropdown.lmt__language_select__menu + button + .langName { color: @text !important; } - .lmt__glossary_newEntry_langDropdown.lmt__language_select__menu button .langCodePair, - .lmt__glossary_newEntry_langDropdown.lmt__language_select__menu button .langCodePair .langCode { + .lmt__glossary_newEntry_langDropdown.lmt__language_select__menu + button + .langCodePair, + .lmt__glossary_newEntry_langDropdown.lmt__language_select__menu + button + .langCodePair + .langCode { color: @subtext0; } @@ -757,21 +826,33 @@ } } - .lmt__glossary_editor .lmt__glossary_editor_subBar_top .lmt__glossary_editor_glossarySelect .lmt__glossary_editor_glossaryNameWrapper .lmt__glossary_editor_glossaryName { + .lmt__glossary_editor + .lmt__glossary_editor_subBar_top + .lmt__glossary_editor_glossarySelect + .lmt__glossary_editor_glossaryNameWrapper + .lmt__glossary_editor_glossaryName { color: @text; } - .lmt__glossary_editor .lmt__glossary_editor_subBar_top .lmt__glossary_editor_glossarySelect .lmt__glossary_editor_glossaryNameWrapper .lmt__glossary_editor_glossarySelectChevron.lmt__glossary_arrowDown { + .lmt__glossary_editor + .lmt__glossary_editor_subBar_top + .lmt__glossary_editor_glossarySelect + .lmt__glossary_editor_glossaryNameWrapper + .lmt__glossary_editor_glossarySelectChevron.lmt__glossary_arrowDown { border-bottom-color: @accent2; border-right-color: @accent2; } .lmt__glossary_editor .lmt__glossary_editor_subBar_top, - .lmt__glossary_editor_subBar_bottom .lmt__glossary_editor [class^="form--"] { + .lmt__glossary_editor_subBar_bottom + .lmt__glossary_editor + [class^="form--"] { background-color: @mantle; } - .lmt__glossary_editor_subBar_bottom .lmt__glossary_editor_glossaryAddNewWrapper .lmt__glossary_editor_glossaryAddNew { + .lmt__glossary_editor_subBar_bottom + .lmt__glossary_editor_glossaryAddNewWrapper + .lmt__glossary_editor_glossaryAddNew { color: @accent-Color; } @@ -832,9 +913,9 @@ .lmt__glossary_editorRow .iconButton { color: @text; } - + ///// - + .combined_app_ad_mobile_and_desktop .dl_ad_pro_container, .dl_pro__banner--2021--wrapper, [class^="footerOuterContainer"], @@ -851,9 +932,9 @@ .lmt_quote__source a { color: @accent-Color; } - + // popup - + .lmt__edit_text_popup { background-color: @surface1; } @@ -867,9 +948,9 @@ .lmt__edit_text_popup .lmt__edit_text_popup__entry--active { background-color: fadeout(@yellow, 0.3); } - + // dictionary - + #lmt__dict_container { [class^="content--"] { .tag_lemma a, @@ -901,9 +982,9 @@ color: @accent-Color; } } - + // quotes - + .lmt_quotes_nav_entry { color: @overlay1; background-color: @overlay0; @@ -913,9 +994,9 @@ color: @accent-Color; background-color: @accent-Color; } - + // footer - + .dl_footerV2_container { [class*="linkList--"] li { &:not(:first-of-type) a { @@ -932,9 +1013,9 @@ } } } - + // fuck it we ball - + [class*="bg-[#E1F0F5]"] { background: fadeout(@accent-Color, 70%); } @@ -948,7 +1029,9 @@ #dl_menu_translator_simplified img, .lmt_quote .lmt_quote__logo, .lmt_quote__inner::before, - [class^="docTrans__help_popup__container--"] [class^="supportedIcons--"] > div, + [class^="docTrans__help_popup__container--"] + [class^="supportedIcons--"] + > div, .dl_footerV2_container [class^="brandingContainer--"] a > img, [class^="socialMediaContainer--"] a > img { filter: invert(100%) hue-rotate(180deg); diff --git a/styles/formative/catppuccin.user.css b/styles/formative/catppuccin.user.css index 3d488d10..c986d128 100644 --- a/styles/formative/catppuccin.user.css +++ b/styles/formative/catppuccin.user.css @@ -13,16 +13,123 @@ @var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire*", "sky:Sky", "lavender:Lavender", "subtext0:Gray"] ==/UserStyle== */ @-moz-document domain('app.formative.com') { - /* Palette Lookup Table * Defining the Colors per Flavor called via: * @catppuccin['Flavor']['Color'] */ @catppuccin: { - @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; } - @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; } - @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; } - @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; } - } + @latte: { + @rosewater: #dc8a78; + @flamingo: #dd7878; + @pink: #ea76cb; + @mauve: #8839ef; + @red: #d20f39; + @maroon: #e64553; + @peach: #fe640b; + @yellow: #df8e1d; + @green: #40a02b; + @teal: #179299; + @sky: #04a5e5; + @sapphire: #209fb5; + @blue: #1e66f5; + @lavender: #7287fd; + @text: #4c4f69; + @subtext1: #5c5f77; + @subtext0: #6c6f85; + @overlay2: #7c7f93; + @overlay1: #8c8fa1; + @overlay0: #9ca0b0; + @surface2: #acb0be; + @surface1: #bcc0cc; + @surface0: #ccd0da; + @base: #eff1f5; + @mantle: #e6e9ef; + @crust: #dce0e8; + }; + @frappe: { + @rosewater: #f2d5cf; + @flamingo: #eebebe; + @pink: #f4b8e4; + @mauve: #ca9ee6; + @red: #e78284; + @maroon: #ea999c; + @peach: #ef9f76; + @yellow: #e5c890; + @green: #a6d189; + @teal: #81c8be; + @sky: #99d1db; + @sapphire: #85c1dc; + @blue: #8caaee; + @lavender: #babbf1; + @text: #c6d0f5; + @subtext1: #b5bfe2; + @subtext0: #a5adce; + @overlay2: #949cbb; + @overlay1: #838ba7; + @overlay0: #737994; + @surface2: #626880; + @surface1: #51576d; + @surface0: #414559; + @base: #303446; + @mantle: #292c3c; + @crust: #232634; + }; + @macchiato: { + @rosewater: #f4dbd6; + @flamingo: #f0c6c6; + @pink: #f5bde6; + @mauve: #c6a0f6; + @red: #ed8796; + @maroon: #ee99a0; + @peach: #f5a97f; + @yellow: #eed49f; + @green: #a6da95; + @teal: #8bd5ca; + @sky: #91d7e3; + @sapphire: #7dc4e4; + @blue: #8aadf4; + @lavender: #b7bdf8; + @text: #cad3f5; + @subtext1: #b8c0e0; + @subtext0: #a5adcb; + @overlay2: #939ab7; + @overlay1: #8087a2; + @overlay0: #6e738d; + @surface2: #5b6078; + @surface1: #494d64; + @surface0: #363a4f; + @base: #24273a; + @mantle: #1e2030; + @crust: #181926; + }; + @mocha: { + @rosewater: #f5e0dc; + @flamingo: #f2cdcd; + @pink: #f5c2e7; + @mauve: #cba6f7; + @red: #f38ba8; + @maroon: #eba0ac; + @peach: #fab387; + @yellow: #f9e2af; + @green: #a6e3a1; + @teal: #94e2d5; + @sky: #89dceb; + @sapphire: #74c7ec; + @blue: #89b4fa; + @lavender: #b4befe; + @text: #cdd6f4; + @subtext1: #bac2de; + @subtext0: #a6adc8; + @overlay2: #9399b2; + @overlay1: #7f849c; + @overlay0: #6c7086; + @surface2: #585b70; + @surface1: #45475a; + @surface0: #313244; + @base: #1e1e2e; + @mantle: #181825; + @crust: #11111b; + }; + }; :root { #catppuccin(@flavor, @accentColor); @@ -59,34 +166,52 @@ @contrast-accent-color: @catppuccin[@@lookup][@base]; /* the formative icon */ - .jKwBMH, .SplitColumnLayout__StyledLogo-sc-4mcl10-4 { + .jKwBMH, + .SplitColumnLayout__StyledLogo-sc-4mcl10-4 { svg { - path:nth-child(1) {fill: @yellow !important} - path:nth-child(2) {fill: @green !important} - path:nth-child(3) {fill: @blue !important} - path:nth-child(4) {fill: @red !important} - path:nth-child(5) {fill: @yellow !important} - path:nth-child(6) {fill: @text !important} + path:nth-child(1) { + fill: @yellow !important; + } + path:nth-child(2) { + fill: @green !important; + } + path:nth-child(3) { + fill: @blue !important; + } + path:nth-child(4) { + fill: @red !important; + } + path:nth-child(5) { + fill: @yellow !important; + } + path:nth-child(6) { + fill: @text !important; + } } } /************************************************************* * HOMEPAGE *************************************************************/ - div.ClassAvatar__RootDiv-sc-1ihhtbf-0, .Avatar__RootDiv-sc-r9onsm-0>div { + div.ClassAvatar__RootDiv-sc-1ihhtbf-0, + .Avatar__RootDiv-sc-r9onsm-0 > div { background-color: @accent-color; color: @contrast-accent-color !important; - span {color: @contrast-accent-color} + span { + color: @contrast-accent-color; + } } div.ckhGGP { background-color: @base; } - span.giYyjb, span.keXwhS { + span.giYyjb, + span.keXwhS { color: @text; } - div.cWBWYQ, div.Card__RootDiv-sc-4gt2nj-0 { + div.cWBWYQ, + div.Card__RootDiv-sc-4gt2nj-0 { background-color: @mantle; border-color: @surface0; @@ -95,7 +220,8 @@ } &:hover { - div.FormativeCard__TitleOverflowEllipsis-sc-tkxjaz-7, div.SectionCard__SectionTitleOverflowEllipsis-sc-ir1v2v-4 { + div.FormativeCard__TitleOverflowEllipsis-sc-tkxjaz-7, + div.SectionCard__SectionTitleOverflowEllipsis-sc-ir1v2v-4 { color: @accent-color; } } @@ -107,7 +233,9 @@ .FormativeCardStatusPill__StyledPill-sc-156d63l-0 { background-color: @surface0 !important; } - .kCQMqN {border-color: @overlay0} + .kCQMqN { + border-color: @overlay0; + } .material-icons-outlined { color: @text; } @@ -121,13 +249,20 @@ } .SectionDetail__RootDiv-sc-1aifgaj-0 { - .hgKaEJ {background-color: @base} + .hgKaEJ { + background-color: @base; + } .dyVuUp { background-color: @surface0; color: @text; - i {color: @text} + i { + color: @text; + } + } + span, + .OverflowEllipsis__RootDiv-sc-1mjk6uz-0 { + color: @text; } - span, .OverflowEllipsis__RootDiv-sc-1mjk6uz-0 {color: @text} } button.Button__StyledButton-sc-aum9f1-1 { @@ -136,7 +271,8 @@ i { color: @accent-color; } - &:hover, &:focus { + &:hover, + &:focus { background-color: @surface1; } } @@ -153,13 +289,15 @@ } div[role="dialog"] { background-color: @surface2; - .Popover__PopoverArrow-sc-1x169li-3, .Dropdown__PopoverArrow-sc-1s7u5eb-1 { + .Popover__PopoverArrow-sc-1x169li-3, + .Dropdown__PopoverArrow-sc-1s7u5eb-1 { fill: @surface2; } button { background-color: @surface2; color: @text; - .material-icons-outlined, .selected { + .material-icons-outlined, + .selected { color: @accent-color !important; } } @@ -181,7 +319,8 @@ background-color: @accent-color !important; } - div.cvJhDB, div.dxwGZP { + div.cvJhDB, + div.dxwGZP { color: @text; } span.ioJPTZ { @@ -190,7 +329,10 @@ } } div.lcYltU { - .fvAkfK, .hqFwtw {color: @text !important} + .fvAkfK, + .hqFwtw { + color: @text !important; + } } div.hBqAyW { @@ -201,7 +343,6 @@ } .ReactSelect__control { .ReactSelect__control--is-focused { - } background-color: @surface0; border-color: @accent-color !important; @@ -216,7 +357,8 @@ border-radius: 4px; /* needed to fix radius i somehow broke */ border: 1px solid @overlay0; - .jYYNAO, .fHuoBD { + .jYYNAO, + .fHuoBD { color: @text; } @@ -229,7 +371,9 @@ button.Button__StyledButton-sc-aum9f1-1 { border-color: @accent-color; color: @text; - i {color: @text} + i { + color: @text; + } } } @@ -239,7 +383,8 @@ } } - div.jNcNAJ, div.kVjvQX { + div.jNcNAJ, + div.kVjvQX { background-color: @mantle; .material-icons-outlined { color: @text; @@ -247,7 +392,9 @@ color: @accent-color; } } - .DqwDN {background-color: @mantle} + .DqwDN { + background-color: @mantle; + } .SideTabItem__RootButton-sc-vtkzgr-0 { background-color: @mantle; &:hover { @@ -275,19 +422,29 @@ } .iYBCHL { - i, .bGQMJt, .jKqZHS {color: @text} + i, + .bGQMJt, + .jKqZHS { + color: @text; + } } .ErrorExplainer__BodyDiv-sc-7nq4if-0 { - i[name="error_outline"] {color: @red} + i[name="error_outline"] { + color: @red; + } .ErrorExplainer__MainTextHeading-sc-7nq4if-1, .ErrorExplainer__SubTextHeading-sc-7nq4if-2, .ErrorExplainer__TechnicalDetailsHeading-sc-7nq4if-3, - .ErrorExplainer__ErrorIdParagraph-sc-7nq4if-4 - {color: @text} + .ErrorExplainer__ErrorIdParagraph-sc-7nq4if-4 { + color: @text; + } } .brCeph { - .bVrKs>i, .jjxnUg {color: @text} + .bVrKs > i, + .jjxnUg { + color: @text; + } } /************************************************************* @@ -300,11 +457,19 @@ background-color: @base; border-color: @surface0; } - .fYAgHV {color: @text} - .esbgcq {color: @accent-color} + .fYAgHV { + color: @text; + } + .esbgcq { + color: @accent-color; + } .iYBCHL { - i, .empty-explainer-main-text, .jKqZHS {color: @text} + i, + .empty-explainer-main-text, + .jKqZHS { + color: @text; + } } } @@ -319,20 +484,27 @@ background-color: @base; .crQhJA { background-color: @base; - .dMFRNT {color: @text} + .dMFRNT { + color: @text; + } .ioJPTZ { background-color: @surface0 !important; color: @accent-color !important; } .kPxiiI { - .hArMFK {color: @text} + .hArMFK { + color: @text; + } .genDmU { background-color: @surface0 !important; /* goodbye multicolor pills */ } } } .iNJonG { - .jZwCGj, .kbWKmZ {color: @text} + .jZwCGj, + .kbWKmZ { + color: @text; + } } } @@ -340,7 +512,9 @@ * Modals *************************************************************/ .ReactModal__Overlay { - .ReactModal__Content {background-color: transparent} /* undo div[role="dialog"] */ + .ReactModal__Content { + background-color: transparent; + } /* undo div[role="dialog"] */ background-color: fade(@crust, 80%); /* thanks less! */ .ReactModal__ActualContent { background-color: @surface0; @@ -348,7 +522,9 @@ background-color: @surface1; border-color: @surface1; &:hover { - i {color: @accent-color} + i { + color: @accent-color; + } } i { color: @text; @@ -359,26 +535,36 @@ background-color: @surface0; .ModalTitle { background-color: @surface0; - .fdvlYb {color: @text} + .fdvlYb { + color: @text; + } } /********************************************************/ label { color: @text; - span {color: @red;} + span { + color: @red; + } } input { background-color: @surface1; border-color: @overlay0; color: @text; - &::placeholder {color: @subtext0} + &::placeholder { + color: @subtext0; + } } /*******************************************************/ .ModalBody__RootDiv-sc-1lg094f-0 { color: @text; - h3 {color: @text} + h3 { + color: @text; + } } .ModalFooter-sc-iv6ab8-0 { - .eGqfJp {border-color: @accent-color} + .eGqfJp { + border-color: @accent-color; + } } } } @@ -386,9 +572,16 @@ .ReactSelect__control { background-color: @surface1; border-color: @overlay0; - &.ReactSelect__control--is-focused {border-color: @accent-color !important} - .ReactSelect__single-value {color: @text} - .ReactSelect__indicator > svg {stroke: @text; fill: @text} + &.ReactSelect__control--is-focused { + border-color: @accent-color !important; + } + .ReactSelect__single-value { + color: @text; + } + .ReactSelect__indicator > svg { + stroke: @text; + fill: @text; + } } .ReactSelect__menu > .ReactSelect__menu-list { .ReactSelect__option { @@ -404,41 +597,68 @@ * PracticeView *************************************************************/ .PracticeSet__RootDiv-sc-1wup6tb-0 { - .dyYlFt {background-color: @mantle; border-color: @surface1} - .vzHqN > .kpSMxi > .gIxFZH > i, .gIxFZH, .dMFRNT {color: @text} - .IconButton__RootButton-sc-ebvofk-0, .fxjbRk { + .dyYlFt { + background-color: @mantle; + border-color: @surface1; + } + .vzHqN > .kpSMxi > .gIxFZH > i, + .gIxFZH, + .dMFRNT { + color: @text; + } + .IconButton__RootButton-sc-ebvofk-0, + .fxjbRk { background-color: @surface0; border-color: @surface0; - i {color: @text} + i { + color: @text; + } + } + .hMuqfo { + background-color: @base; } - .hMuqfo {background-color: @base} /* edit card */ .Sidebar__ChildrenDiv-sc-1d5hucq-2 { background-color: @mantle; - .jZwCGj, label {color: @text} + .jZwCGj, + label { + color: @text; + } .gotoQK { border-color: @surface0; textarea { color: @text; - &::placeholder {color: @text} + &::placeholder { + color: @text; + } } } } } .PracticeSession__RootDiv-sc-1t2vn9a-1 { - .jAtBlo {background-color: @mantle; border-color: @surface1} + .jAtBlo { + background-color: @mantle; + border-color: @surface1; + } .gWOYlX { background-color: @surface0; border-color: @surface0; - i {color: @text} + i { + color: @text; + } + } + .kbWKmZ, + .gIxFZH { + color: @text; } - .kbWKmZ, .gIxFZH {color: @text} .insToW { background-color: @base; .XmvNK { border-color: @surface2; background-color: @crust; - span {color: @text} + span { + color: @text; + } } .jGFokz { &.red { @@ -452,11 +672,16 @@ } .fjVeZh { background-color: @overlay1; - .ProgressBar__ProgressBarDiv-sc-4qm1te-2 {background-color: @accent-color !important} + .ProgressBar__ProgressBarDiv-sc-4qm1te-2 { + background-color: @accent-color !important; + } } } .feItUf { - .lnYigE, .fXcREk {color: @text} + .lnYigE, + .fXcREk { + color: @text; + } } } .notifications-wrapper { @@ -474,35 +699,62 @@ .dHLPyg { background-color: @base; border-color: @surface1; - .TabsItem__StyledTitleDiv-sc-tj1og8-2 {color: @text} - .TabsItem__SelectedLineDiv-sc-tj1og8-1 {background-color: @accent-color !important} + .TabsItem__StyledTitleDiv-sc-tj1og8-2 { + color: @text; + } + .TabsItem__SelectedLineDiv-sc-tj1og8-1 { + background-color: @accent-color !important; + } } .eEhCum { background-color: @base; .fFnpYA { - .kXDmTg {background-color: @accent-color; color: @contrast-accent-color !important} + .kXDmTg { + background-color: @accent-color; + color: @contrast-accent-color !important; + } color: @text; - label {color: @text} + label { + color: @text; + } + } + .eGqfJp { + color: @accent-color; + border-color: @accent-color; + } + .hGMdJp { + border-color: @surface1; } - .eGqfJp {color: @accent-color; border-color: @accent-color} - .hGMdJp {border-color: @surface1} .fOUzKq { /* fix shitty styling by formative */ padding: 1em; text-decoration: none; color: @text; - i {color: @text} + i { + color: @text; + } } .iSUyai { - .evnAvd, .iFWvBX, .BadgeCard__BadgeLabelDiv-sc-13976oo-8, .BadgeCard__BadgeDescriptionDiv-sc-13976oo-9 {color: @text} + .evnAvd, + .iFWvBX, + .BadgeCard__BadgeLabelDiv-sc-13976oo-8, + .BadgeCard__BadgeDescriptionDiv-sc-13976oo-9 { + color: @text; + } .Pill__RootDiv-sc-4b6mpn-0 { background-color: @surface0 !important; color: @accent-color !important; } .BadgeCard__LevelProgressDiv-sc-13976oo-2 { - span {color: @text} - .ProgressBar__Progress-sc-4qm1te-0 {background-color: @overlay0} - .ProgressBar__ProgressBarDiv-sc-4qm1te-2 {background-color: @accent-color} + span { + color: @text; + } + .ProgressBar__Progress-sc-4qm1te-0 { + background-color: @overlay0; + } + .ProgressBar__ProgressBarDiv-sc-4qm1te-2 { + background-color: @accent-color; + } } } } @@ -514,7 +766,9 @@ } color: @accent-color; } - .fJjhRQ:hover {background-color: @surface1} + .fJjhRQ:hover { + background-color: @surface1; + } /************************************************************* * Join Code *************************************************************/ @@ -523,25 +777,70 @@ .SplitColumnLayout__FullScreenDiv-sc-4mcl10-5 { background-color: @base; svg { - path:nth-child(1) {fill: @peach !important; stroke: @peach !important} - path:nth-child(2) {fill: @peach !important; stroke: @peach !important} - path:nth-child(3) {fill: @green !important; stroke: @green !important} - path:nth-child(4) {fill: @green !important; stroke: @green !important} - path:nth-child(5) {fill: @green !important; stroke: @green !important} - path:nth-child(6) {fill: @green !important; stroke: @green !important} - path:nth-child(7) {fill: @green !important; stroke: @green !important} - path:nth-child(8) {fill: @green !important; stroke: @green !important} - path:nth-child(9) {fill: @green !important; stroke: @green !important} - path:nth-child(10) {fill: @green !important; stroke: @green !important} - path:nth-child(11) {fill: @text !important; stroke: @text !important} + path:nth-child(1) { + fill: @peach !important; + stroke: @peach !important; + } + path:nth-child(2) { + fill: @peach !important; + stroke: @peach !important; + } + path:nth-child(3) { + fill: @green !important; + stroke: @green !important; + } + path:nth-child(4) { + fill: @green !important; + stroke: @green !important; + } + path:nth-child(5) { + fill: @green !important; + stroke: @green !important; + } + path:nth-child(6) { + fill: @green !important; + stroke: @green !important; + } + path:nth-child(7) { + fill: @green !important; + stroke: @green !important; + } + path:nth-child(8) { + fill: @green !important; + stroke: @green !important; + } + path:nth-child(9) { + fill: @green !important; + stroke: @green !important; + } + path:nth-child(10) { + fill: @green !important; + stroke: @green !important; + } + path:nth-child(11) { + fill: @text !important; + stroke: @text !important; + } } } - .Elements__ColumnDiv-sc-1qtb2ho-2, .Elements__TwoColumnParentDiv-sc-1qtb2ho-1 {background-color: @base} + .Elements__ColumnDiv-sc-1qtb2ho-2, + .Elements__TwoColumnParentDiv-sc-1qtb2ho-1 { + background-color: @base; + } .SplitColumnLayout__Card-sc-4mcl10-0 { background-color: @mantle; - .lmmjCy, .EaPMD, .cuNCkB {color: @text} - .JoinQuickCode__ErrorDiv-sc-1uhfett-4 {color: @red} - .PWQOG, .JoinQuickCode__StyledLink-sc-1uhfett-2 {color: @blue} + .lmmjCy, + .EaPMD, + .cuNCkB { + color: @text; + } + .JoinQuickCode__ErrorDiv-sc-1uhfett-4 { + color: @red; + } + .PWQOG, + .JoinQuickCode__StyledLink-sc-1uhfett-2 { + color: @blue; + } .react-code-input { input { background-color: @crust; @@ -552,7 +851,12 @@ } } } - .CallToActionLink__StyledLink-sc-yuiy65-0 {color: @text; span{color: @text}} + .CallToActionLink__StyledLink-sc-yuiy65-0 { + color: @text; + span { + color: @text; + } + } } } @@ -566,25 +870,34 @@ background-color: @surface1 !important; color: @text; border-color: @overlay0; - .FormativeStudentHeader__InfoItem-sc-yw00ql-7 {border-color: @overlay0} - .Button__StyledButton-sc-aum9f1-1 {border-color: @accent-color} + .FormativeStudentHeader__InfoItem-sc-yw00ql-7 { + border-color: @overlay0; + } + .Button__StyledButton-sc-aum9f1-1 { + border-color: @accent-color; + } } - } /***********************************************************/ #student-main-content { background-color: @base; .FormativeDescription__RootDiv-sc-msmcgd-0 { - * {color: @text} + * { + color: @text; + } } - .FormativeUnavailableMessage__InnerDiv-sc-14kxg7t-1 { + .FormativeUnavailableMessage__InnerDiv-sc-14kxg7t-1 { background-color: @mantle; border-color: @accent-color; - i[name="warning"] {color: @accent-color} + i[name="warning"] { + color: @accent-color; + } color: @text; } .FormativeStudentFooter__BottomDiv-sc-6tj89c-3 { - * {color: @text} + * { + color: @text; + } } } } @@ -598,7 +911,9 @@ background-color: @surface1; .formative-nav-item { color: @accent-color; - i {color: @accent-color} + i { + color: @accent-color; + } &:hover { background-color: @surface2; } @@ -607,28 +922,53 @@ } .formative-nav-item { color: @text; - i {color: @text} + i { + color: @text; + } &:hover { background-color: @surface1; color: @accent-color; - i {color: @accent-color} + i { + color: @accent-color; + } + } + .FormativeStudentNavItem__IndicatorDiv-sc-i1u5ts-1 > svg > path { + stroke: @red !important; + } + .fVOfai { + background-color: @green; + } + .jiaclp { + background-color: @text; + } + .fqmSk { + background-color: @yellow; + } + .dxDbbP { + background-color: @red; + } + .dLppQA { + background-color: @peach; } - .FormativeStudentNavItem__IndicatorDiv-sc-i1u5ts-1>svg>path {stroke: @red !important} - .fVOfai {background-color: @green} - .jiaclp {background-color: @text} - .fqmSk {background-color: @yellow} - .dxDbbP {background-color: @red} - .dLppQA {background-color: @peach} } } - .FormativeItemViewable__RootDiv-sc-m0kwch-0 { + .FormativeItemViewable__RootDiv-sc-m0kwch-0 { background-color: @mantle; border-color: @surface0; .TextViewable__RootDiv-sc-ohojgu-0 { - * {color: @text !important} + * { + color: @text !important; + } + } + .Ellipse__RootButton-sc-684qlw-0 { + background-color: @surface0 !important; + color: @text !important; + } + .QuestionNumber__RootDiv-sc-zm7966-0 { + background-color: @surface0 !important; + border-color: @accent-color !important; + color: @text; } - .Ellipse__RootButton-sc-684qlw-0 {background-color: @surface0 !important; color: @text !important} - .QuestionNumber__RootDiv-sc-zm7966-0 {background-color: @surface0 !important; border-color: @accent-color !important; color: @text} .withFunctionalizedViewable__RightColumn-sc-1636o2h-4 { border-color: @surface0; } @@ -644,24 +984,44 @@ } &.question { .FormativeItemViewable__HintsDiv-sc-m0kwch-7 { - label, .FormativeItemViewable__HintDiv-sc-m0kwch-8 {color: @text !important} + label, + .FormativeItemViewable__HintDiv-sc-m0kwch-8 { + color: @text !important; + } } - .QuestionViewable__QuestionNumberDiv-sc-13jvio2-3 {color: @text} - .ItemInfoPill-sc-ecx83e-0, .FormativeItemViewable__HintsRemainingCountDiv-sc-m0kwch-11 { + .QuestionViewable__QuestionNumberDiv-sc-13jvio2-3 { + color: @text; + } + .ItemInfoPill-sc-ecx83e-0, + .FormativeItemViewable__HintsRemainingCountDiv-sc-m0kwch-11 { background-color: @surface0; border-color: @overlay0; color: @text; - &.fVzTTr > svg > path {stroke: @red} - .ScorePill__ScoreDiv-sc-w63ftw-0 {color: @text} + &.fVzTTr > svg > path { + stroke: @red; + } + .ScorePill__ScoreDiv-sc-w63ftw-0 { + color: @text; + } .ScoreCircle__RootDiv-sc-lj5glq-0 { - &[style*="rgb(32, 213, 171)"] {background-color: @green !important} - &[style*="rgb(255, 222, 51)"] {background-color: @yellow !important} - &[style*="rgb(255, 138, 51)"] {background-color: @peach !important} - &[style*="rgb(255, 76, 77)"] {background-color: @red !important} + &[style*="rgb(32, 213, 171)"] { + background-color: @green !important; + } + &[style*="rgb(255, 222, 51)"] { + background-color: @yellow !important; + } + &[style*="rgb(255, 138, 51)"] { + background-color: @peach !important; + } + &[style*="rgb(255, 76, 77)"] { + background-color: @red !important; + } } } .QuestionViewable__ContentDiv-sc-13jvio2-4 { - * {color: @text !important} /* i'm not going to style each text element teachers can put in */ + * { + color: @text !important; + } /* i'm not going to style each text element teachers can put in */ .ShortAnswerViewableDetails__InputAutosizeTextarea-sc-1ugk4gk-0 { background-color: @surface0; @@ -685,7 +1045,11 @@ } .MatchingTable__RootDiv-sc-1rhxmvo-0 { table { - tr, td {border-color: @overlay0; outline-color: @accent-color} + tr, + td { + border-color: @overlay0; + outline-color: @accent-color; + } background-color: @surface0; .MatchingTableRow__ArrowIcon-sc-1u9h4tb-1.highlight { background-color: @accent-color; @@ -700,9 +1064,10 @@ } background-color: @surface1; border-radius: 8px; - &>button { + & > button { background-color: @surface1; - i, .RichText__RootReadOnlyDiv-sc-fjolxt-1 { + i, + .RichText__RootReadOnlyDiv-sc-fjolxt-1 { background-color: transparent; color: @text; } @@ -712,9 +1077,13 @@ } .CategorizeViewableContainer__FlexDiv-sc-1yo1jbo-2 { .ChoiceElementViewable__RootDiv-sc-viwu2x-0 { - .RichText__RootReadOnlyDiv-sc-fjolxt-1 {background-color: transparent} + .RichText__RootReadOnlyDiv-sc-fjolxt-1 { + background-color: transparent; + } border-color: @overlay0; - &:hover {border-color: @accent-color} + &:hover { + border-color: @accent-color; + } &.highlight { i { background-color: @accent-color; @@ -722,10 +1091,10 @@ } } } - .TargetElementViewable__BoxDiv-sc-1cp2mml-1 { + .TargetElementViewable__BoxDiv-sc-1cp2mml-1 { border-color: @overlay0; background-color: @surface0; - .TargetElementViewable__AddSelectedChoiceButton-sc-1cp2mml-9 >i { + .TargetElementViewable__AddSelectedChoiceButton-sc-1cp2mml-9 > i { background-color: @accent-color; color: @contrast-accent-color !important; } @@ -734,13 +1103,17 @@ border-color: @overlay1; &.selected { background-color: @accent-color; - * {color: @contrast-accent-color !important} + * { + color: @contrast-accent-color !important; + } } .TargetElementViewable__StyledIconWarningButton-sc-1cp2mml-6 { border-color: @overlay1; &:hover { background-color: @red; - i{color: @contrast-accent-color !important} + i { + color: @contrast-accent-color !important; + } } } } @@ -748,46 +1121,75 @@ } .MatchTableGrid__RootDiv-sc-1ue3nun-0 { table { - td, th, tr {border-color: @overlay0} - th {background-color: @surface1 !important} - td:first-child {background-color: @surface1} - td {background-color: @surface0} + td, + th, + tr { + border-color: @overlay0; + } + th { + background-color: @surface1 !important; + } + td:first-child { + background-color: @surface1; + } + td { + background-color: @surface0; + } button[role="checkbox"] { background-color: @surface1; border-color: @accent-color; &[data-state="checked"] { background-color: @accent-color; - i{color: @contrast-accent-color !important} + i { + color: @contrast-accent-color !important; + } } } } } - .MultipleChoiceViewableDetails__RootDiv-sc-d82bbx-0, .MultipleSelectionViewableDetails__RootDiv-sc-1b13xp6-0{ + .MultipleChoiceViewableDetails__RootDiv-sc-d82bbx-0, + .MultipleSelectionViewableDetails__RootDiv-sc-1b13xp6-0 { .ChoiceOptionViewable__RootDiv-sc-a2vwy6-0 { .checkbox-root { button { background-color: @surface0; border-color: @accent-color; - .Checkbox__RadioCircleDiv-sc-1oy0ey9-3 {background-color: @accent-color !important;} + .Checkbox__RadioCircleDiv-sc-1oy0ey9-3 { + background-color: @accent-color !important; + } } } .ChoiceOptionViewable__RightSideDiv-sc-a2vwy6-2 { border-color: @overlay0; background-color: @surface0; .ChoiceOptionViewable__StrickenOverlayDiv-sc-a2vwy6-7 { - background-image: repeating-linear-gradient(315deg, transparent, transparent 16px, @text 16px, @text 18px); + background-image: repeating-linear-gradient( + 315deg, + transparent, + transparent 16px, + @text 16px, + @text 18px + ); } .IconButton__RootButton-sc-ebvofk-0 { background-color: @surface1; border-color: @accent-color; - i {color: @text !important} + i { + color: @text !important; + } } } } } - .DrawingContainerStudent__DrawingPreviewDiv-sc-en378l-0, .QuestionViewableWithDrawing__RootDiv-sc-1kzyk7j-0 { - .DrawingCardButton__DrawingPreview-sc-u2qprg-3 {background-color: white; border-radius: 6px} - button {border-color: @overlay0 !important} + .DrawingContainerStudent__DrawingPreviewDiv-sc-en378l-0, + .QuestionViewableWithDrawing__RootDiv-sc-1kzyk7j-0 { + .DrawingCardButton__DrawingPreview-sc-u2qprg-3 { + background-color: white; + border-radius: 6px; + } + button { + border-color: @overlay0 !important; + } .DrawingCardButton__HoverDarkScrim-sc-u2qprg-2 { background-color: @surface0; } @@ -797,30 +1199,46 @@ } } .GraphViewableDetails__RootDiv-sc-13yx2r4-0 { - .ExpandableAccordionHeader__RootButton-sc-cu02pz-0 {background-color: transparent} + .ExpandableAccordionHeader__RootButton-sc-cu02pz-0 { + background-color: transparent; + } .GraphViewableDetails__TabRowDiv-sc-13yx2r4-1 { .Tabs__RootDiv-sc-2v0c2x-0 { border-color: @surface1; - .TabsItem__TabDiv-sc-tj1og8-4 {background-color: @mantle !important} - .TabsItem__StyledTitleDiv-sc-tj1og8-2 {color: @text} - .TabsItem__SelectedLineDiv-sc-tj1og8-1 {background-color: @accent-color !important} + .TabsItem__TabDiv-sc-tj1og8-4 { + background-color: @mantle !important; + } + .TabsItem__StyledTitleDiv-sc-tj1og8-2 { + color: @text; + } + .TabsItem__SelectedLineDiv-sc-tj1og8-1 { + background-color: @accent-color !important; + } } } - .GraphViewableDetails__GraphContainerDiv-sc-13yx2r4-3>div { + .GraphViewableDetails__GraphContainerDiv-sc-13yx2r4-3 > div { background-color: white; .sc-fqkvVR { - * {color: black !important} + * { + color: black !important; + } } } - .VerticalButton__StyledButton-sc-1h2we7r-2:hover .VerticalButton__IconDiv-sc-1h2we7r-0 {background-color: @surface0} + .VerticalButton__StyledButton-sc-1h2we7r-2:hover + .VerticalButton__IconDiv-sc-1h2we7r-0 { + background-color: @surface0; + } } .BlankOutput__FillableNumericDiv-sc-15mzaww-0 { background-color: @surface0; outline-color: @overlay0; - &.filling {outline-color: @accent-color} + &.filling { + outline-color: @accent-color; + } } .ResequenceViewableDetailsContainer__AnswerList-sc-s5awz8-0 { - .ResequenceCard__ListItemContentDiv-sc-30eibj-1, li { + .ResequenceCard__ListItemContentDiv-sc-30eibj-1, + li { background-color: @surface0 !important; border-color: @overlay0; } @@ -828,22 +1246,51 @@ } } } - .FullPointsAnimation__AbsoluteContainerDiv-sc-mzm76r-0, .ScoreCircle__LottieWrapperDiv-sc-lj5glq-1 { + .FullPointsAnimation__AbsoluteContainerDiv-sc-mzm76r-0, + .ScoreCircle__LottieWrapperDiv-sc-lj5glq-1 { svg { - path[fill="rgb(32,213,171)"] {fill: @green !important} - path[fill="rgb(255,138,51)"] {fill: @peach !important} - path[fill="rgb(255,222,51)"] {fill: @yellow !important} - path[fill="rgb(255,76,77)"] {fill: @red !important} - path[fill="rgb(255,255,255)"] {fill: @contrast-accent-color !important} - path[fill="rgb(242,242,242)"] {fill: @contrast-accent-color !important} - path[fill="rgb(32,213,171)"] {fill: @teal !important} - path[stroke="rgb(32,213,171)"] {stroke: @green !important} - path[stroke="rgb(255,138,51)"] {stroke: @peach !important} - path[stroke="rgb(255,222,51)"] {stroke: @yellow !important} - path[stroke="rgb(255,76,77)"] {stroke: @red !important} - path[stroke="rgb(255,255,255)"] {stroke: @contrast-accent-color !important} - path[stroke="rgb(242,242,242)"] {stroke: @contrast-accent-color !important} - path[stroke="rgb(32,213,171)"] {stroke: @teal !important} + path[fill="rgb(32,213,171)"] { + fill: @green !important; + } + path[fill="rgb(255,138,51)"] { + fill: @peach !important; + } + path[fill="rgb(255,222,51)"] { + fill: @yellow !important; + } + path[fill="rgb(255,76,77)"] { + fill: @red !important; + } + path[fill="rgb(255,255,255)"] { + fill: @contrast-accent-color !important; + } + path[fill="rgb(242,242,242)"] { + fill: @contrast-accent-color !important; + } + path[fill="rgb(32,213,171)"] { + fill: @teal !important; + } + path[stroke="rgb(32,213,171)"] { + stroke: @green !important; + } + path[stroke="rgb(255,138,51)"] { + stroke: @peach !important; + } + path[stroke="rgb(255,222,51)"] { + stroke: @yellow !important; + } + path[stroke="rgb(255,76,77)"] { + stroke: @red !important; + } + path[stroke="rgb(255,255,255)"] { + stroke: @contrast-accent-color !important; + } + path[stroke="rgb(242,242,242)"] { + stroke: @contrast-accent-color !important; + } + path[stroke="rgb(32,213,171)"] { + stroke: @teal !important; + } } } .css-1vamqze { @@ -857,30 +1304,43 @@ color: @contrast-accent-color; } } - .fHrrVC>svg>path {fill:@text !important} + .fHrrVC > svg > path { + fill: @text !important; + } .FormativeItemViewable__FeedbackMessagesListDiv-sc-m0kwch-1 { .FeedbackMessagesList__MessagesListDiv-sc-9o5dsw-0 { background-color: @overlay0; - .jZwCGj {color: @text} + .jZwCGj { + color: @text; + } } .FeedbackMessageComposer__RootDiv-sc-vs8711-0 { border-color: @overlay2; .FeedbackMessageComposer__RichTextContainerDiv-sc-vs8711-3 { border-color: @overlay2; - .public-DraftEditorPlaceholder-inner {color: @subtext1} - .public-DraftEditor-content {color: @text !important} + .public-DraftEditorPlaceholder-inner { + color: @subtext1; + } + .public-DraftEditor-content { + color: @text !important; + } } } } - .hxNLul>svg>path {fill: @accent-color !important} + .hxNLul > svg > path { + fill: @accent-color !important; + } .ejr02pv { - .e16zneum {color: @text} + .e16zneum { + color: @text; + } background-color: @surface2; } .MathLiveInput__RootDiv-sc-2fx8pp-0 { background-color: @surface0; border-color: @overlay0; - &:focus-within, &:hover { + &:focus-within, + &:hover { border-color: @accent-color; } .MathLiveInput__KeyboardButtonWrapper-sc-2fx8pp-1 svg > path { @@ -911,14 +1371,18 @@ .DrawingSidebar__RootDiv-sc-1hvcy70-3 { .DrawingSidebar__ExpandedAnswerDiv-sc-1hvcy70-0 { background-color: @base; - .FormativeItemViewable__RootDiv-sc-m0kwch-0 {background-color: @base} + .FormativeItemViewable__RootDiv-sc-m0kwch-0 { + background-color: @base; + } } } .DrawingSidebar__SidebarTopExplainer-sc-1hvcy70-1 { background-color: @mantle; color: @text; border-color: @overlay0; - .DrawingSidebar__StyledIcon-sc-1hvcy70-5 {color: @text} + .DrawingSidebar__StyledIcon-sc-1hvcy70-5 { + color: @text; + } } .DrawingToolbar__RootDiv-sc-2xuxy3-0 { background-color: @surface0; @@ -937,7 +1401,9 @@ } } .StrokePicker__InnerDiv-sc-8widgm-4 { - label {color: @text} + label { + color: @text; + } .StrokeWidthPickerContent__ListItemDiv-sc-116c7dc-0 { &:hover { .StrokeWidthPickerContent__CircleDiv-sc-116c7dc-1 { @@ -949,7 +1415,7 @@ } } .slider { - background: linear-gradient(to right, rgba(0, 0, 0, 0), @text) + background: linear-gradient(to right, rgba(0, 0, 0, 0), @text); } .Button__StyledButton-sc-aum9f1-1 { background-color: @surface1; @@ -957,7 +1423,9 @@ .Checkbox__RootDiv-sc-1oy0ey9-0 { button[role="checkbox"] { border-color: @accent-color; - &[aria-checked="true"] {background-color: transparent} + &[aria-checked="true"] { + background-color: transparent; + } } } } diff --git a/styles/github/catppuccin.user.css b/styles/github/catppuccin.user.css index 68cd87aa..3060fc9c 100644 --- a/styles/github/catppuccin.user.css +++ b/styles/github/catppuccin.user.css @@ -44,7 +44,7 @@ @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; - } + }; @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @@ -72,7 +72,7 @@ @base: #303446; @mantle: #292c3c; @crust: #232634; - } + }; @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @@ -100,7 +100,7 @@ @base: #24273a; @mantle: #1e2030; @crust: #181926; - } + }; @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @@ -128,11 +128,10 @@ @base: #1e1e2e; @mantle: #181825; @crust: #11111b; - } -} + }; +}; @-moz-document regexp("https:\/\/(gist\.)*github\.com(?!\/(marketplace|organizations\/plan)).*") { - [data-color-mode="light"], [data-color-mode="auto"] > .theme-light { #catppuccin(@lightFlavor, @accentColor); @@ -152,7 +151,8 @@ } } - html:not([data-light-theme="light"]) body::after, html:not([data-dark-theme="dark"]) body::after { + html:not([data-light-theme="light"]) body::after, + html:not([data-dark-theme="dark"]) body::after { position: fixed; top: 0; right: 0; @@ -219,7 +219,7 @@ &, & body { - accent-color: @accent-color; + accent-color: @accent-color; --bgColor-default: @base; --color-canvas-default-transparent: rgba(13, 17, 23, 0); --color-page-header-bg: @base; @@ -383,12 +383,11 @@ --color-mktg-btn-shadow-outline: rgb(255, 255, 255 / 25%) 0 0 0 1px inset; --color-mktg-btn-shadow-focus: rgb(255, 255, 255 / 25%) 0 0 0 4px; --color-mktg-btn-shadow-hover: 0 4px 7px rgba(0, 0, 0, 0.15), - 0 100px 80px rgba(255, 255, 255, 0.02), - 0 42px 33px rgba(255, 255, 255, 0.024), - 0 22px 18px rgba(255, 255, 255, 0.028), - 0 12px 10px rgba(255, 255, 255, 0.034), - 0 7px 5px rgba(255, 255, 255, 0.04), - 0 3px 2px rgba(255, 255, 255, 0.07); + 0 100px 80px rgba(255, 255, 255, 0.02), + 0 42px 33px rgba(255, 255, 255, 0.024), + 0 22px 18px rgba(255, 255, 255, 0.028), + 0 12px 10px rgba(255, 255, 255, 0.034), + 0 7px 5px rgba(255, 255, 255, 0.04), 0 3px 2px rgba(255, 255, 255, 0.07); --color-mktg-btn-shadow-hover-muted: rgb(255, 255, 255) 0 0 0 2px inset; --color-avatar-bg: rgba(255, 255, 255, 0.1); --color-avatar-border: rgba(240, 246, 252, 0.1); @@ -400,8 +399,7 @@ --color-select-menu-backdrop-border: #484f58; --color-select-menu-tap-highlight: rgba(48, 54, 61, 0.5); --color-select-menu-tap-focus-bg: #0c2d6b; - --color-overlay-shadow: 0 0 0 1px #30363d, - 0 16px 32px rgba(1, 4, 9, 0.85); + --color-overlay-shadow: 0 0 0 1px #30363d, 0 16px 32px rgba(1, 4, 9, 0.85); --color-header-text: var(--subtext2); --color-header-bg: @base; @@ -457,7 +455,8 @@ --color-btn-outline-hover-bg: #30363d; --color-btn-outline-hover-border: rgba(240, 246, 252, 0.1); --color-btn-outline-hover-shadow: 0 1px 0 rgba(1, 4, 9, 0.1); - --color-btn-outline-hover-inset-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03); + --color-btn-outline-hover-inset-shadow: inset 0 1px 0 + rgba(255, 255, 255, 0.03); --color-btn-outline-hover-counter-bg: rgba(255, 255, 255, 0.2); --color-btn-outline-selected-text: #ffffff; --color-btn-outline-selected-bg: #0d419d; @@ -634,15 +633,15 @@ --color-scale-pink-7: #7d2457; --color-scale-pink-8: #5e103e; --color-scale-pink-9: #42062a; - --color-scale-coral-0: #FFDDD2; - --color-scale-coral-1: #FFC2B2; - --color-scale-coral-2: #FFA28B; - --color-scale-coral-3: #F78166; - --color-scale-coral-4: #EA6045; - --color-scale-coral-5: #CF462D; - --color-scale-coral-6: #AC3220; + --color-scale-coral-0: #ffddd2; + --color-scale-coral-1: #ffc2b2; + --color-scale-coral-2: #ffa28b; + --color-scale-coral-3: #f78166; + --color-scale-coral-4: #ea6045; + --color-scale-coral-5: #cf462d; + --color-scale-coral-6: #ac3220; --color-scale-coral-7: #872012; - --color-scale-coral-8: #640D04; + --color-scale-coral-8: #640d04; --color-scale-coral-9: #460701; } --color-workflow-card-connector: @overlay0; @@ -687,11 +686,13 @@ /* Buttons */ .btn-danger, .Button--danger { - background: var(--color-btn-danger-bg) + background: var(--color-btn-danger-bg); } /* Create PR button & New branch button */ - .iRoQzU, .ifkUYV, .bOZDzN { + .iRoQzU, + .ifkUYV, + .bOZDzN { background-color: @green; color: @base; } @@ -728,20 +729,52 @@ .hx_IssueLabel not when (@lookup =latte) { --lightness-threshold: 0.453; --border-threshold: 0.96; - --border-fadeout: max(0, min(calc((var(--perceived-lightness) - var(--border-threshold)) * 100), 1)); //color: hsl(0deg, 0%, calc(var(--lightness-switch) * 100%)) !important; + --border-fadeout: max( + 0, + min( + calc((var(--perceived-lightness) - var(--border-threshold)) * 100), + 1 + ) + ); //color: hsl(0deg, 0%, calc(var(--lightness-switch) * 100%)) !important; color: var(--text) !important; - background: rgb(var(--label-r), var(--label-g), var(--label-b)) !important; - border-color: hsla(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) - 25) * 1%), var(--border-fadeout)) !important; + background: rgb( + var(--label-r), + var(--label-g), + var(--label-b) + ) !important; + border-color: hsla( + var(--label-h), + calc(var(--label-s) * 1%), + calc((var(--label-l) - 25) * 1%), + var(--border-fadeout) + ) !important; } .hx_IssueLabel when (@lookup =latte) { --lightness-threshold: 0.6; --background-fadeout: 0.18; --border-fadeout: 0.3; - --lighten-by: calc(((var(--lightness-threshold) - var(--perceived-lightness)) * 100) * var(--lightness-switch)); - color: hsl(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%)) !important; - background: rgba(var(--label-r), var(--label-g), var(--label-b), var(--background-fadeout)) !important; - border-color: hsla(var(--label-h), calc(var(--label-s) * 1%), calc((var(--label-l) + var(--lighten-by)) * 1%), var(--border-fadeout)) !important; + --lighten-by: calc( + ((var(--lightness-threshold) - var(--perceived-lightness)) * 100) * + var(--lightness-switch) + ); + color: hsl( + var(--label-h), + calc(var(--label-s) * 1%), + calc((var(--label-l) + var(--lighten-by)) * 1%) + ) !important; + background: rgba( + var(--label-r), + var(--label-g), + var(--label-b), + var(--background-fadeout) + ) !important; + border-color: hsla( + var(--label-h), + calc(var(--label-s) * 1%), + calc((var(--label-l) + var(--lighten-by)) * 1%), + var(--border-fadeout) + ) !important; } /* Labels */ @@ -793,7 +826,8 @@ background-color: @base; } - .user-mention, .team-mention { + .user-mention, + .team-mention { color: @accent-color; } @@ -836,7 +870,7 @@ h4, h5, h6 { - color: @subtext1 + color: @subtext1; } body, @@ -869,7 +903,10 @@ } /* New change visibility box danger buttons Fix */ - :where(#repo-visibility-proceed-button-public, #repo-visibility-proceed-button-private):not([data-next-stage]) { + :where( + #repo-visibility-proceed-button-public, + #repo-visibility-proceed-button-private + ):not([data-next-stage]) { color: var(--color-btn-danger-text); background-color: var(--color-btn-danger-bg); } @@ -879,7 +916,6 @@ background-color: inherit; } - /* Footer Logo Fix */ .footer-octicon > svg:nth-child(1) > path:nth-child(1) { fill: @text; @@ -898,7 +934,8 @@ /* Keyboard hint */ .bdgUpN, - .hZMmEi .TextInput-icon, .hZMmEi .TextInput-action { + .hZMmEi .TextInput-icon, + .hZMmEi .TextInput-action { color: @text; background-color: @mantle; border-color: @surface0; @@ -1012,7 +1049,7 @@ background-color: @surface0; &:hover:not([disabled]) { border-color: @surface2; - background-color: @surface1 + background-color: @surface1; } } @@ -1065,7 +1102,9 @@ border-bottom-color: @surface0; } - .hLwWNO .PRIVATE_TreeView-item[aria-current="true"] > .PRIVATE_TreeView-item-container { + .hLwWNO + .PRIVATE_TreeView-item[aria-current="true"] + > .PRIVATE_TreeView-item-container { background-color: @surface0; &::after { background-color: @accent-color; @@ -1077,7 +1116,7 @@ .bFrOJy { .segmentedControl-content { background-color: @mantle; - color: @text + color: @text; } } @@ -1185,7 +1224,8 @@ } .Tnbrt { - &:active, &[aria-expanded="true"] { + &:active, + &[aria-expanded="true"] { background-color: @surface2; } &:hover { @@ -1213,8 +1253,8 @@ } .cnIHxk { - background-color: @surface0; - color: @text; + background-color: @surface0; + color: @text; &:disabled { background-color: @overlay0; color: @crust; @@ -1258,7 +1298,9 @@ background-color: @accent-color; } - .joxhcl, .hXyJIp, .fMkBhb > .segmentedControl-content { + .joxhcl, + .hXyJIp, + .fMkBhb > .segmentedControl-content { background-color: @mantle; } @@ -1277,8 +1319,8 @@ } .hJMtSk { - color: @crust; - background-color: @green; + color: @crust; + background-color: @green; &:disabled { color: @crust; background-color: @overlay0; @@ -1309,7 +1351,7 @@ } .UHWYv:hover { - background-color: fade(@red, 20) + background-color: fade(@red, 20); } .lmmHGT:hover { @@ -1360,7 +1402,9 @@ .jykkjb { background-color: @base; - box-shadow: @crust 0px -2px 0px inset, @crust 0px 1px 0px inset; + box-shadow: + @crust 0px -2px 0px inset, + @crust 0px 1px 0px inset; } .jhjELj, @@ -1434,252 +1478,264 @@ /* Tree Fix */ /* Weird barely visible outlines | Can be removed if intentional*/ - .brFBoI, .ldUAkr, .gtXnmh { - border-color: @surface1; + .brFBoI, + .ldUAkr, + .gtXnmh { + border-color: @surface1; } - + /* New Repository Overview Fix */ - .gWjhfa, .jMdYTc { - background-color: @mantle; - } - + .gWjhfa, .jMdYTc { - border: 1px solid @surface1; - - & button { - color: @subtext1; - - &:hover { - background-color: @surface0; - } - - &[aria-expanded="true"] { - background-color: @surface0; - } - } + background-color: @mantle; } - - .gwuIGu > a { + + .jMdYTc { + border: 1px solid @surface1; + + & button { + color: @subtext1; + &:hover { - background-color: @surface0; + background-color: @surface0; } - - & span { - color: @subtext1;; + + &[aria-expanded="true"] { + background-color: @surface0; } + } + } + + .gwuIGu > a { + &:hover { + background-color: @surface0; + } + + & span { + color: @subtext1; + } } /* Buttons */ .bJYdrf:hover { - background-color: @mantle; + background-color: @mantle; } .dSlCya:hover { - color: @accent-color; + color: @accent-color; } - - .hNNRLM, .hGgJQu, .hTcsdJ { - background-color: @surface0; - border-color: @surface0; - color: @text; - - &:hover { - background-color: @surface1; - border-color: @surface1; - } + + .hNNRLM, + .hGgJQu, + .hTcsdJ { + background-color: @surface0; + border-color: @surface0; + color: @text; + + &:hover { + background-color: @surface1; + border-color: @surface1; + } } .eOIzRT { - background-color: @base; - - &:hover { - background-color: @surface0; - } + background-color: @base; + + &:hover { + background-color: @surface0; + } } - - .hNNRLM svg { - color: @text; + color: @text; } .react-last-commit-history-group:hover { - background-color: @base; - color: @text; + background-color: @base; + color: @text; } - + .hfRvxg { - color: @subtext1; - - &:hover { - color: @text; - } + color: @subtext1; + + &:hover { + color: @text; + } } /* Scrolling top menu */ .lbYguI { - border-radius: 6px; - } - - .hPsWZB, .bOUZZs { - background-color: @mantle; + border-radius: 6px; } - .react-blob-header-edit-and-raw-actions > div > a, .react-blob-header-edit-and-raw-actions > div > span > a, .react-blob-header-edit-and-raw-actions > div > span > button { - background-color: @base; - color: @subtext0; - - &:hover { - background-color: @surface1; - } + .hPsWZB, + .bOUZZs { + background-color: @mantle; + } + + .react-blob-header-edit-and-raw-actions > div > a, + .react-blob-header-edit-and-raw-actions > div > span > a, + .react-blob-header-edit-and-raw-actions > div > span > button { + background-color: @base; + color: @subtext0; + + &:hover { + background-color: @surface1; + } } .hMOAua { - color: @subtext1; - - &:hover { - background-color: @mantle; - border: 1px solid @surface1; - color: @text; - } + color: @subtext1; + + &:hover { + background-color: @mantle; + border: 1px solid @surface1; + color: @text; + } } /* Fullscreen Sidebar Fixes*/ - .hMCjFU, .jcKsih , .hpgNiv { - background-color: @base; - color: @text; - border: 1px solid @surface1; - - &:hover { - background-color: @surface0; - } + .hMCjFU, + .jcKsih, + .hpgNiv { + background-color: @base; + color: @text; + border: 1px solid @surface1; + + &:hover { + background-color: @surface0; + } } /* Dropdown Menus */ - .jfOCiu, .gNXjVV, .iGzDhH, .Overlay { - background-color: @mantle; - border: 1px solid @surface1; - border-radius: 6px; - box-shadow: var(--shadow-floating-large, var(--color-shadow-large)); - } - - .jfOCiu li { - color: @text; - } - - .kRbyXo { - color: @text; - } - - .VgnWi { - background-color: @base; - border: 1px solid @surface1; - - &:focus-within { - border-color: @accent-color; - box-shadow: @accent-color 0px 0px 0px 1px inset; - } - } - - .bAKGFC { - background-color: @surface1; - } - - .bdMlHy { - border-color: @surface1; - } - - .jMyfUO.selected { - border-color: @surface1; - background-color: @mantle; - } - - .bPgnBp { - color: @accent-color; - } - - kbd { - background-color: @surface1; - } - - select option, optgroup { + .jfOCiu, + .gNXjVV, + .iGzDhH, + .Overlay { background-color: @mantle; border: 1px solid @surface1; border-radius: 6px; box-shadow: var(--shadow-floating-large, var(--color-shadow-large)); - } - + + .jfOCiu li { + color: @text; + } + + .kRbyXo { + color: @text; + } + + .VgnWi { + background-color: @base; + border: 1px solid @surface1; + + &:focus-within { + border-color: @accent-color; + box-shadow: @accent-color 0px 0px 0px 1px inset; + } + } + + .bAKGFC { + background-color: @surface1; + } + + .bdMlHy { + border-color: @surface1; + } + + .jMyfUO.selected { + border-color: @surface1; + background-color: @mantle; + } + + .bPgnBp { + color: @accent-color; + } + + kbd { + background-color: @surface1; + } + + select option, + optgroup { + background-color: @mantle; + border: 1px solid @surface1; + border-radius: 6px; + box-shadow: var(--shadow-floating-large, var(--color-shadow-large)); + } + .hUQSCH { - background-color: @base; - color: @subtext1; + background-color: @base; + color: @subtext1; + border-color: @surface1; + + &:hover { + background-color: @mantle; border-color: @surface1; - - &:hover { - background-color: @mantle; - border-color: @surface1; - } + } } /* Add File Menu */ .dQPLyc { - background-color: transparent; - border: 1px solid @surface1; + background-color: transparent; + border: 1px solid @surface1; } - + .ktGGEf { - background-color: @base; - border: 1px solid @surface1; + background-color: @base; + border: 1px solid @surface1; } - + .gkfBtX { - background-color: @mantle; - border-radius: 6px 0px 0px 0px; - border-bottom: 1px solid @surface1; + background-color: @mantle; + border-radius: 6px 0px 0px 0px; + border-bottom: 1px solid @surface1; } - + .jproXT { - background-color: transparent; + background-color: transparent; + border-color: transparent; + color: @subtext1; + + &:hover { + color: @text; + } + + &:focus-within { border-color: transparent; - color: @subtext1; - - &:hover { - color: @text; - } - - &:focus-within { - border-color: transparent; - box-shadow: none; - color: @text; - } + box-shadow: none; + color: @text; + } } - + .wLDmP { - background-color: @mantle; - border: 1px solid @surface1; + background-color: @mantle; + border: 1px solid @surface1; } - - .eNSiNz .segmentedControl-content, .gKuCoB .segmentedControl-content { - background-color: @base; + + .eNSiNz .segmentedControl-content, + .gKuCoB .segmentedControl-content { + background-color: @base; } /* Notification Menu Fix */ - .notifications-list-item.notification-read, .notifications-list-item.notification-archived { - background-color: @base !important; - - &:last-child { - border-bottom-left-radius: 6px; - } + .notifications-list-item.notification-read, + .notifications-list-item.notification-archived { + background-color: @base !important; + + &:last-child { + border-bottom-left-radius: 6px; + } } /* Loading Bar Color */ .turbo-progress-bar { - background-color: @accent-color; + background-color: @accent-color; } } } @-moz-document regexp("https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*") { - :root { #catppuccin(@darkFlavor, @accentColor); } @@ -1796,15 +1852,15 @@ --color-scale-pink-7: #7d2457; --color-scale-pink-8: #5e103e; --color-scale-pink-9: #42062a; - --color-scale-coral-0: #FFDDD2; - --color-scale-coral-1: #FFC2B2; - --color-scale-coral-2: #FFA28B; - --color-scale-coral-3: #F78166; - --color-scale-coral-4: #EA6045; - --color-scale-coral-5: #CF462D; - --color-scale-coral-6: #AC3220; + --color-scale-coral-0: #ffddd2; + --color-scale-coral-1: #ffc2b2; + --color-scale-coral-2: #ffa28b; + --color-scale-coral-3: #f78166; + --color-scale-coral-4: #ea6045; + --color-scale-coral-5: #cf462d; + --color-scale-coral-6: #ac3220; --color-scale-coral-7: #872012; - --color-scale-coral-8: #640D04; + --color-scale-coral-8: #640d04; --color-scale-coral-9: #460701; --jp-border-color0: var(--color-scale-gray-7); diff --git a/styles/hoppscotch/catppuccin.user.css b/styles/hoppscotch/catppuccin.user.css index b3a946bf..8b5f1e0c 100644 --- a/styles/hoppscotch/catppuccin.user.css +++ b/styles/hoppscotch/catppuccin.user.css @@ -14,7 +14,6 @@ @var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue*", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"] ==/UserStyle== */ @-moz-document domain("hoppscotch.io") { - @catppuccin: { @latte: { @rosewater: #dc8a78; @@ -43,7 +42,7 @@ @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; - } + }; @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @@ -71,7 +70,7 @@ @base: #303446; @mantle: #292c3c; @crust: #232634; - } + }; @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @@ -99,7 +98,7 @@ @base: #24273a; @mantle: #1e2030; @crust: #181926; - } + }; @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @@ -127,8 +126,8 @@ @base: #1e1e2e; @mantle: #181825; @crust: #11111b; - } - } + }; + }; :root.dark { #catppuccin(@darkFlavor, @accentColor); @@ -166,13 +165,13 @@ @mantle: @catppuccin[@@lookup][@mantle]; @crust: @catppuccin[@@lookup][@crust]; @accent: @catppuccin[@@lookup][@@accent-color]; - + @accent-light-alpha: 1.1; @accent-dark-alpha: 0.9; @accent-gradient-from-color: 1.05; @accent-gradient-via-color: 1.2; @accent-gradient-to-color: 0.85; - + & { --primary-color: @base; --primary-light-color: @surface1; @@ -199,7 +198,7 @@ --editor-process-color: fade(@pink, 1.4); --editor-constant-color: fade(@lavender, 1.2); --editor-keyword-color: @red; - + --accent-color: @accent; --accent-light-color: fade(@accent, @accent-light-alpha); --accent-dark-color: fade(@accent, @accent-dark-alpha); @@ -210,7 +209,6 @@ --editor-process-color: @text; } - .ΝΌ1 .cm-placeholder { color: @text; diff --git a/styles/mastodon/catppuccin.user.css b/styles/mastodon/catppuccin.user.css index 1cb6aac3..46d1405a 100644 --- a/styles/mastodon/catppuccin.user.css +++ b/styles/mastodon/catppuccin.user.css @@ -18,7 +18,6 @@ domain("fosstodon.org"), domain("tech.lgbt"), domain("mastodon.social"), domain("piaille.fr") { - .theme-mastodon-light, .skin-mastodon-light { #mastodon(@lightFlavor, @accentColor); @@ -72,7 +71,7 @@ domain("piaille.fr") { @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; - } + }; @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @@ -100,7 +99,7 @@ domain("piaille.fr") { @base: #303446; @mantle: #292c3c; @crust: #232634; - } + }; @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @@ -128,7 +127,7 @@ domain("piaille.fr") { @base: #24273a; @mantle: #1e2030; @crust: #181926; - } + }; @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @@ -156,8 +155,8 @@ domain("piaille.fr") { @base: #1e1e2e; @mantle: #181825; @crust: #11111b; - } - } + }; + }; @rosewater: @catppuccin[@@lookup][@rosewater]; @flamingo: @catppuccin[@@lookup][@flamingo]; @@ -190,17 +189,18 @@ domain("piaille.fr") { &, .tabs-bar__wrapper, .admin-wrapper .sidebar-wrapper__inner, - .ui__header{ + .ui__header { background: @crust; color: @text; } - + .ui__header { - border-bottom: none; + border-bottom: none; } - - .navigation-panel, .column-link{ - background: transparent; + + .navigation-panel, + .column-link { + background: transparent; } .account__header__bio .account__header__fields dt { @@ -230,7 +230,6 @@ domain("piaille.fr") { color: @text; } - .search-popout span, .link-footer p, .link-footer p a { @@ -247,12 +246,12 @@ domain("piaille.fr") { .label_input .search__input, .search__input:focus, .account__header__fields dt { - color: @subtext0 + color: @subtext0; } .compose-panel hr, .navigation-panel hr { - border-top-color: @subtext0 + border-top-color: @subtext0; } .trends__item, @@ -260,7 +259,7 @@ domain("piaille.fr") { .getting-started__trends h4, .trends__item__name span, .story { - border-color: @surface0 + border-color: @surface0; } .mention, @@ -280,34 +279,36 @@ domain("piaille.fr") { .status__content a.unhandled-link, .announcements__item__content a.unhandled-link, .reactions-bar__item.active .reactions-bar__item__count, - .column-header.active .column-header__icon{ + .column-header.active .column-header__icon { color: @accent-color; } - + .conversation__unread, - .react-toggle--checked .react-toggle-track, .react-toggle--checked:hover .react-toggle-track, - .pillbar-button:not([disabled]).active, .pillbar-button:not([disabled]).active:focus, .pillbar-button:not([disabled]).active:hover, - .radio-button__input.checked{ - background-color: @accent-color; + .react-toggle--checked .react-toggle-track, + .react-toggle--checked:hover .react-toggle-track, + .pillbar-button:not([disabled]).active, + .pillbar-button:not([disabled]).active:focus, + .pillbar-button:not([disabled]).active:hover, + .radio-button__input.checked { + background-color: @accent-color; } - + .reactions-bar__item.active { - background-color: rgba(@accent-color, .25); + background-color: rgba(@accent-color, 0.25); } - + .trends__item__sparkline path:last-child { - stroke: @accent-color !important; + stroke: @accent-color !important; } .trends__item__sparkline path:first-child { - fill: rgba(@accent-color, .25) !important; + fill: rgba(@accent-color, 0.25) !important; } .icon-button, - .notification__message .fa{ + .notification__message .fa { color: @surface2; } - .icon-button:active, .icon-button:focus, .icon-button:hover, @@ -338,7 +339,8 @@ domain("piaille.fr") { .public-layout .public-account-header__bar::before, .account__header__fields, .account__header__fields dt, - .account__header__fields dd:not(.account__header__bio .account__header__fields dd), + .account__header__fields + dd:not(.account__header__bio .account__header__fields dd), .admin-wrapper .sidebar ul .simple-navigation-active-leaf .selected, .explore__search-header, .column-inline-form, @@ -347,40 +349,45 @@ domain("piaille.fr") { .column-header__collapsible-inner, .announcements, .status-card__image, - .account__header__bar{ + .account__header__bar { border-color: @crust; background: @surface0; } - + .account__section-headline { - background: @mantle; - border-color: @crust + background: @mantle; + border-color: @crust; } - + .focusable:focus { - background: unset; + background: unset; } .admin-wrapper .sidebar ul a:hover, .admin-wrapper .sidebar ul .simple-navigation-active-leaf a:hover, - .detailed-status, .detailed-status__action-bar{ + .detailed-status, + .detailed-status__action-bar { background: @surface0; } - + .detailed-status__wrapper > div:first-child .detailed-status { - border-top: none; + border-top: none; } .dismissable-banner { border-color: @surface1; background: @base; } - + .column-header__wrapper.active { - box-shadow: 0 1px 0 rgba(@accent-color,.3); + box-shadow: 0 1px 0 rgba(@accent-color, 0.3); } .column-header__wrapper.active::before { - background: radial-gradient(ellipse,rgba(@accent-color,.23) 0,rgba(99,100,255,0) 60%); + background: radial-gradient( + ellipse, + rgba(@accent-color, 0.23) 0, + rgba(99, 100, 255, 0) 60% + ); } .theme-mastodon-light .account__header__bar, @@ -399,12 +406,11 @@ domain("piaille.fr") { background: @base; } - .public-layout .public-account-header__tabs__tabs .counter::after, - .public-layout .public-account-header__tabs__tabs .counter.active::after , + .public-layout .public-account-header__tabs__tabs .counter.active::after, .react-toggle--checked .react-toggle-thumb, .radio-button__input.checked, - .account__action-bar__tab.active{ + .account__action-bar__tab.active { border-color: @accent-color; } @@ -474,7 +480,6 @@ domain("piaille.fr") { fill: currentColor; } - .public-layout .header .nav-button { background-color: @surface1; } @@ -484,16 +489,16 @@ domain("piaille.fr") { } .button.button-secondary { - background-color: transparent; - color: @text; - border-color: @accent-color; + background-color: transparent; + color: @text; + border-color: @accent-color; } .button.button-secondary:active, .button.button-secondary:focus, .button.button-secondary:hover { border-color: @accent-color; color: @base; - transition: .2s; + transition: 0.2s; } .button:active, @@ -510,7 +515,7 @@ domain("piaille.fr") { .drawer__inner, .drawer__inner__mastodon, - .explore__search-header .search__input{ + .explore__search-header .search__input { background-color: @base; } @@ -523,7 +528,7 @@ domain("piaille.fr") { } .compose-form .autosuggest-textarea__textarea::placeholder { - color: @subtext0 !important + color: @subtext0 !important; } .compose-form .compose-form__buttons-wrapper { @@ -535,7 +540,7 @@ domain("piaille.fr") { } .character-counter { - color: @subtext0 + color: @subtext0; } .public-layout .header, @@ -562,7 +567,7 @@ domain("piaille.fr") { } .input-copy, - .simple_form input[type=text], + .simple_form input[type="text"], .simple_form textarea, .simple_form .block-button, .simple_form .button, @@ -585,45 +590,49 @@ domain("piaille.fr") { } .simple_form textarea, - .simple_form input[type=password], - .simple_form input[type=number], - .simple_form input[type=text] { + .simple_form input[type="password"], + .simple_form input[type="number"], + .simple_form input[type="text"] { border: 1px solid @crust; } - .simple_form input[type=email]:required:valid { - border: 1px solid @green + .simple_form input[type="email"]:required:valid { + border: 1px solid @green; } - .simple_form input[type=password], - .simple_form input[type=number], - .simple_form input[type=email]:required:valid, - .simple_form input[type=password]:required:invalid:not(:placeholder-shown) { + .simple_form input[type="password"], + .simple_form input[type="number"], + .simple_form input[type="email"]:required:valid, + .simple_form + input[type="password"]:required:invalid:not(:placeholder-shown) { color: @text; background: @mantle; } - .simple_form input[type=password]:required:invalid:not(:placeholder-shown) { + .simple_form + input[type="password"]:required:invalid:not(:placeholder-shown) { border: 1px solid @red; } .simple_form select { - background: @mantle url("data:image/svg+xml;utf8,") no-repeat right 8px center/auto 16px; + background: @mantle + url("data:image/svg+xml;utf8,") + no-repeat right 8px center/auto 16px; border: 1px solid @crust; } - .simple_form input[type=datetime-local]:active, - .simple_form input[type=datetime-local]:focus, - .simple_form input[type=email]:active, - .simple_form input[type=email]:focus, - .simple_form input[type=number]:active, - .simple_form input[type=number]:focus, - .simple_form input[type=password]:active, - .simple_form input[type=password]:focus, - .simple_form input[type=text]:active, - .simple_form input[type=text]:focus, - .simple_form input[type=url]:active, - .simple_form input[type=url]:focus, + .simple_form input[type="datetime-local"]:active, + .simple_form input[type="datetime-local"]:focus, + .simple_form input[type="email"]:active, + .simple_form input[type="email"]:focus, + .simple_form input[type="number"]:active, + .simple_form input[type="number"]:focus, + .simple_form input[type="password"]:active, + .simple_form input[type="password"]:focus, + .simple_form input[type="text"]:active, + .simple_form input[type="text"]:focus, + .simple_form input[type="url"]:active, + .simple_form input[type="url"]:focus, .simple_form textarea:active, .simple_form textarea:focus { border-color: @accent-color !important; @@ -632,7 +641,8 @@ domain("piaille.fr") { } .table > thead > tr > th, - .setting-text:active, .setting-text:focus{ + .setting-text:active, + .setting-text:focus { border-color: @accent-color !important; } @@ -642,12 +652,12 @@ domain("piaille.fr") { color: @text !important; } - .simple_form input[type=datetime-local]:hover, - .simple_form input[type=email]:hover, - .simple_form input[type=number]:hover, - .simple_form input[type=password]:hover, - .simple_form input[type=text]:hover, - .simple_form input[type=url]:hover, + .simple_form input[type="datetime-local"]:hover, + .simple_form input[type="email"]:hover, + .simple_form input[type="number"]:hover, + .simple_form input[type="password"]:hover, + .simple_form input[type="text"]:hover, + .simple_form input[type="url"]:hover, .simple_form textarea:hover { background: @mantle !important; border-color: @accent-color !important;