83 lines
2.4 KiB
Plaintext
83 lines
2.4 KiB
Plaintext
/* ==UserStyle==
|
|
@name alacritty.org Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/alacritty.org
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/alacritty.org
|
|
@version 2026.08.16
|
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/alacritty.org/catppuccin.user.less
|
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aalacritty.org
|
|
@description Soothing pastel theme for alacritty.org
|
|
@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/std/v1.less";
|
|
|
|
@-moz-document domain("alacritty.org") {
|
|
:root {
|
|
@media (prefers-color-scheme: light) {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
}
|
|
|
|
#catppuccin(@flavor) {
|
|
#lib.palette();
|
|
#lib.defaults();
|
|
|
|
body {
|
|
color: @text !important;
|
|
background-color: @base !important;
|
|
}
|
|
a {
|
|
color: @accent !important;
|
|
}
|
|
header {
|
|
background-color: @mantle !important;
|
|
border-bottom-color: @surface0 !important;
|
|
nav > a {
|
|
color: @text !important;
|
|
}
|
|
}
|
|
em {
|
|
color: @green !important;
|
|
}
|
|
strong, strong > a {
|
|
color: @blue !important;
|
|
}
|
|
#pick-version select {
|
|
color: @text !important;
|
|
background-color: @surface0;
|
|
border-color: @overlay0;
|
|
}
|
|
h1 {
|
|
color: @accent !important;
|
|
}
|
|
a:not([name]) {
|
|
text-shadow: none !important;
|
|
}
|
|
code {
|
|
background-color: @surface0;
|
|
}
|
|
video {
|
|
background-color: @overlay0 !important;
|
|
}
|
|
img:not(img#logo-img) {
|
|
border-color: @overlay0 !important;
|
|
}
|
|
img#logo-img {
|
|
border-color: @mantle !important;
|
|
}
|
|
kbd {
|
|
background-color: @surface1 !important;
|
|
border-color: @overlay0 !important;
|
|
}
|
|
}
|
|
}
|