refactor(tree-wide): consistent metadata (#557)

* ci(lint): quick fix

* refactor(tree-wide): consistent metadata

* refactor: more

* refactor: accent-color

* fix: accentColor issues

* fix: logger line numbers

* fix: svg colors

* fix(google): add accent-color line

---------

Co-authored-by: Isabel <[email protected]>
This commit is contained in:
uncenterandIsabel authored and GitHub committed 2024-02-25 16:50:10 +00:00
1 parent 74eaa37e19
commit ded7419d5c
71 files changed
+798 -753

No files matched your search

+25 -17
View File
@@ -3,20 +3,28 @@
@namespace github.com/catppuccin/userstyles/styles/tuta
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/tuta
@version 0.0.6
@description Soothing pastel theme for Tuta
@author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/tuta/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Atuta
@description Soothing pastel theme for Tuta
@author Catppuccin
@license MIT
@preprocessor less
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentSelect "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"]
@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== */
@-moz-document domain("app.tuta.com"), domain("mail.tutanota.com") {
:root {
#catppuccin(@flavor, @accentSelect);
@media (prefers-color-scheme: light) {
:root {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
:root {
#catppuccin(@darkFlavor, @accentColor);
}
}
/* prettier-ignore */
@@ -27,7 +35,7 @@
@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, @accentSelect) {
#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@@ -54,7 +62,7 @@
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent: @catppuccin[@@lookup][@@accentSelect];
@accent-color: @catppuccin[@@lookup][@@accent];
body,
drawer-menu,
@@ -89,18 +97,18 @@
}
.row-selected {
border-color: @accent !important;
color: @accent !important;
border-color: @accent-color !important;
color: @accent-color !important;
}
.row-selected > .nav-button {
color: @accent !important;
color: @accent-color !important;
}
.row-selected > .nav-button > .icon {
fill: @accent !important;
fill: @accent-color !important;
}
.secondary {
color: @accent !important;
color: @accent-color !important;
}
.nav-button,
@@ -147,15 +155,15 @@
}
.teamLabel {
background-color: @accent;
background-color: @accent-color;
color: @mantle;
}
[style*="border: 2px solid rgb(0, 210, 167);"] {
border-color: @accent !important;
border-color: @accent-color !important;
}
[style*="color: rgb(0, 210, 167);"] {
color: @accent !important;
color: @accent-color !important;
}
button.expander {
@@ -163,7 +171,7 @@
}
.logo-height > svg:nth-child(1) > path:nth-child(2) {
fill: @accent !important;
fill: @accent-color !important;
}
::-webkit-scrollbar-thumb {