109 lines
3.7 KiB
Plaintext
109 lines
3.7 KiB
Plaintext
/* ==UserStyle==
|
|
@name keybr.com Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/keybr.com
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/keybr.com
|
|
@version 2025.09.06
|
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/keybr.com/catppuccin.user.less
|
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Akeybr.com
|
|
@description Soothing pastel theme for keybr.com
|
|
@author Catppuccin
|
|
@license MIT
|
|
|
|
@preprocessor less
|
|
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
|
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "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:Gray"]
|
|
==/UserStyle== */
|
|
|
|
@import "https://userstyles.catppuccin.com/lib/lib.less";
|
|
|
|
@-moz-document domain("keybr.com") {
|
|
html[data-color="dark"] {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
html[data-color="light"] {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
html[data-color="system"] {
|
|
@media (prefers-color-scheme: light) {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
}
|
|
|
|
#catppuccin(@flavor) {
|
|
#lib.palette();
|
|
#lib.defaults();
|
|
|
|
--primary-d2: @overlay0;
|
|
--primary-d1: @overlay0;
|
|
--primary: @base;
|
|
--primary-l1: @crust;
|
|
--primary-l2: @mantle;
|
|
--secondary-d1: @subtext0;
|
|
--secondary: @text;
|
|
--secondary-l1: @subtext0;
|
|
--secondary-l2: @accent;
|
|
--secondary-f1: @subtext0;
|
|
--secondary-f2: @subtext0;
|
|
--accent-d2: @accent;
|
|
--accent-d1: @accent;
|
|
--accent: @accent;
|
|
--accent-l1: @accent;
|
|
--accent-l2: @accent;
|
|
--error-d1: @red;
|
|
--error: @red;
|
|
--error-l1: @red;
|
|
--shadow-color: fade(@crust, 88%);
|
|
--slow-key-color: @red;
|
|
--fast-key-color: @green;
|
|
--Chart-speed__color: @green;
|
|
--Chart-accuracy__color: @peach;
|
|
--Chart-complexity__color: @pink;
|
|
--Chart-threshold__color: @maroon;
|
|
--Chart-hist-h__color: @lavender;
|
|
--Chart-hist-m__color: @maroon;
|
|
--Chart-hist-r__color: @mauve;
|
|
--KeyboardKey-pointer__color: @accent;
|
|
--KeyboardKey-symbol__color: @crust;
|
|
--pinky-zone-color: @green;
|
|
--ring-zone-color: @teal;
|
|
--middle-zone-color: @yellow;
|
|
--left-index-zone-color: @blue;
|
|
--right-index-zone-color: @maroon;
|
|
--thumb-zone-color: @mauve;
|
|
--effort-0-color: @crust;
|
|
--effort-1-color: @crust;
|
|
--effort-2-color: @accent;
|
|
--effort-3-color: @accent;
|
|
--Value--more__color: @green;
|
|
--Value--less__color: @red;
|
|
--KeyboardKey-button--depressed__color: @accent;
|
|
--LessonKey--included__color: @crust;
|
|
--LessonKey--uncalibrated__background-color: @surface0;
|
|
--LessonKey--excluded__background-color: @surface0;
|
|
--LessonKey--excluded__color: @overlay0;
|
|
--DailyGoal-bar__color: @accent;
|
|
--KeyboardKey-button__color: @accent;
|
|
--textinput__color: @text;
|
|
--textinput--special__color: @subtext1;
|
|
--textinput--hit__color: @subtext0;
|
|
--textinput--miss__color: @red;
|
|
--syntax-keyword: @mauve;
|
|
--syntax-string: @green;
|
|
--syntax-number: @peach;
|
|
--syntax-comment: @overlay2;
|
|
--MenuItem__background-color: @mantle;
|
|
--MenuItem__color: @text;
|
|
--MenuItem--hover__background-color: @surface0;
|
|
--MenuItem--hover__color: @text;
|
|
--KeyboardKey-symbol--dead__color: @red;
|
|
--KeyboardKey-symbol--ligature__color: @blue;
|
|
--Name-color: @subtext0;
|
|
--Value-color: @accent;
|
|
--effort-color: @accent;
|
|
}
|
|
}
|