121 lines
3.2 KiB
Plaintext
121 lines
3.2 KiB
Plaintext
/* ==UserStyle==
|
|
@name Crowdin Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/crowdin
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/crowdin
|
|
@version 2026.08.16
|
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/crowdin/catppuccin.user.less
|
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acrowdin
|
|
@description Soothing pastel theme for Crowdin
|
|
@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 regexp("https://crowdin.com(?!/translate).*") {
|
|
:root {
|
|
@media (prefers-color-scheme: light) {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
}
|
|
|
|
#catppuccin(@flavor) {
|
|
#lib.palette();
|
|
#lib.defaults();
|
|
|
|
:root:root:root:root:root {
|
|
--app-bg: @mantle;
|
|
--body-bg: @base;
|
|
--light-bg: @surface0;
|
|
--search-bg: @surface0;
|
|
--super-light-bg: @surface1;
|
|
--body-color: @text;
|
|
--link-hover: @green;
|
|
--primary: @green;
|
|
--secondary: @rosewater;
|
|
--tertiary: @pink;
|
|
--primary-btn: @green;
|
|
--primary-btn-hover: @teal;
|
|
--warning-content: @yellow;
|
|
--info: @blue;
|
|
--crowdin-primary-blue-gray-05: @surface1;
|
|
--crowdin-primary-blue-gray: @overlay0;
|
|
}
|
|
|
|
.btn-primary,
|
|
.btn-primary:hover {
|
|
color: @base;
|
|
}
|
|
|
|
.btn-outline-primary,
|
|
.btn-outline-primary:hover {
|
|
color: @green;
|
|
border-color: @green;
|
|
}
|
|
}
|
|
}
|
|
|
|
@-moz-document regexp("https://crowdin.com/translate/.*") {
|
|
@media (prefers-color-scheme: light) {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
|
|
#catppuccin(@flavor) {
|
|
#lib.palette();
|
|
#lib.defaults();
|
|
|
|
body {
|
|
background-color: @mantle !important;
|
|
color: @text !important;
|
|
}
|
|
|
|
#left_panel,
|
|
.nav-tabs,
|
|
.navbar-inner.editor-navbar,
|
|
#discussions_control,
|
|
#main_menu {
|
|
background-color: @surface0 !important;
|
|
}
|
|
|
|
#editor-center-layout,
|
|
.editor-pane-inner,
|
|
#translation_wrapper,
|
|
#translation_text_container,
|
|
.texts-to-translate-header,
|
|
#right_panel,
|
|
.texts-to-translate-paging,
|
|
#asset_preview_wrapper.no-preview,
|
|
.editor-pane-title-and-buttons-helper {
|
|
background-color: @base !important;
|
|
color: @text !important;
|
|
}
|
|
|
|
.body.dark-theme #main_menu .nav-pills > li.active > a {
|
|
background-color: @blue;
|
|
}
|
|
|
|
.progress .bar-validate {
|
|
background-color: @lavender;
|
|
}
|
|
.progress .bar-translate {
|
|
background-color: @sapphire;
|
|
}
|
|
|
|
a,
|
|
.btn-link {
|
|
color: @rosewater !important;
|
|
}
|
|
}
|
|
}
|