fix(tutanota): color replacements for most UI elements (#195)
This commit is contained in:
parent
c161d249ff
commit
4d31ccc34b
@ -2,7 +2,7 @@
|
|||||||
@name Tutanota Catppuccin
|
@name Tutanota Catppuccin
|
||||||
@namespace github.com/catppuccin/userstyles/styles/tutanota
|
@namespace github.com/catppuccin/userstyles/styles/tutanota
|
||||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/tutanota
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/tutanota
|
||||||
@version 0.0.3
|
@version 0.0.4
|
||||||
@description Soothing pastel theme for Tutanota
|
@description Soothing pastel theme for Tutanota
|
||||||
@author Catppuccin
|
@author Catppuccin
|
||||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/tutanota/catppuccin.user.css
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/tutanota/catppuccin.user.css
|
||||||
@ -10,11 +10,12 @@
|
|||||||
|
|
||||||
@preprocessor less
|
@preprocessor less
|
||||||
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
|
@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:Gray"]
|
@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"]
|
||||||
==/UserStyle== */
|
==/UserStyle== */
|
||||||
|
|
||||||
@-moz-document domain("mail.tutanota.com") {
|
@-moz-document domain("mail.tutanota.com") {
|
||||||
:root {
|
:root {
|
||||||
#catppuccin(@flavor, @accentColor);
|
#catppuccin(@flavor, @accentSelect);
|
||||||
}
|
}
|
||||||
|
|
||||||
@catppuccin: {
|
@catppuccin: {
|
||||||
@ -132,7 +133,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#catppuccin(@lookup, @accent) {
|
#catppuccin(@lookup, @accentSelect) {
|
||||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||||
@pink: @catppuccin[@@lookup][@pink];
|
@pink: @catppuccin[@@lookup][@pink];
|
||||||
@ -159,12 +160,12 @@
|
|||||||
@base: @catppuccin[@@lookup][@base];
|
@base: @catppuccin[@@lookup][@base];
|
||||||
@mantle: @catppuccin[@@lookup][@mantle];
|
@mantle: @catppuccin[@@lookup][@mantle];
|
||||||
@crust: @catppuccin[@@lookup][@crust];
|
@crust: @catppuccin[@@lookup][@crust];
|
||||||
@accent-Color: @catppuccin[@@lookup][@@accent];
|
@accent: @catppuccin[@@lookup][@@accentSelect];
|
||||||
|
|
||||||
body,
|
body,
|
||||||
drawer-menu,
|
drawer-menu,
|
||||||
.list-bg {
|
.list-bg {
|
||||||
background-color: @base !important;
|
background-color: @mantle !important;
|
||||||
color: @text;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -177,13 +178,12 @@
|
|||||||
|
|
||||||
.header-nav {
|
.header-nav {
|
||||||
background-color: @base;
|
background-color: @base;
|
||||||
box-shadow: 0 2px 4px 0 @surface0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.elevated-bg,
|
.elevated-bg,
|
||||||
.folder-column,
|
.folder-column,
|
||||||
div[aria-modal] {
|
div[aria-modal] {
|
||||||
background-color: @surface0 !important;
|
background-color: @base !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-button,
|
.dropdown-button,
|
||||||
@ -218,27 +218,57 @@
|
|||||||
fill: @subtext0 !important;
|
fill: @subtext0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
[style*="0"][style*="210"][style*="167"] {
|
.bubble {
|
||||||
color: @accent !important;
|
background-color: @base;
|
||||||
fill: @accent !important;
|
color: @text;
|
||||||
border-color: @accent !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:is([style*="color"], [style*="fill"])[style*="78"] {
|
:where(.mouse-nav) .state-bg:hover,
|
||||||
|
:where(.keyboard-nav) .state-bg:hover,
|
||||||
|
[style*="background: rgba(139, 139, 139, 0.22)"] {
|
||||||
|
background-color: @surface0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-bg,
|
||||||
|
.content-bg,
|
||||||
|
[style*="background-color: rgb(35, 35, 35)"] {
|
||||||
|
background-color: @base !important;
|
||||||
|
}
|
||||||
|
[style*="background-color: rgb(17, 17, 17);"] {
|
||||||
|
background-color: @mantle !important;
|
||||||
|
}
|
||||||
|
[style*="background-color: rgba(139, 139, 139, 0.22);"] {
|
||||||
|
background-color: @surface0 !important;
|
||||||
|
}
|
||||||
|
[style*="background-color: rgba(139, 139, 139, 0.38);"] {
|
||||||
|
background-color: @surface1 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
[style*="color: rgb(221, 221, 221);"] {
|
||||||
|
color: @text !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
[style*="color: rgb(174, 174, 174);"] {
|
||||||
color: @subtext1 !important;
|
color: @subtext1 !important;
|
||||||
fill: @subtext1 !important;
|
}
|
||||||
|
|
||||||
|
.teamLabel {
|
||||||
|
background-color: @accent;
|
||||||
|
color: @mantle;
|
||||||
|
}
|
||||||
|
|
||||||
|
[style*="border: 2px solid rgb(0, 210, 167);"] {
|
||||||
|
border-color: @accent !important;
|
||||||
|
}
|
||||||
|
[style*="color: rgb(0, 210, 167);"] {
|
||||||
|
color: @accent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.expander {
|
button.expander {
|
||||||
color: @subtext0 !important;
|
color: @subtext0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
div
|
.logo-height > svg:nth-child(1) > path:nth-child(2) {
|
||||||
> div.header-nav.overflow-hidden.flex.items-end.flex-center
|
|
||||||
> div.header-left.pl-l.ml-negative-s.flex-start.items-center
|
|
||||||
> div
|
|
||||||
> svg
|
|
||||||
> path {
|
|
||||||
fill: @accent !important;
|
fill: @accent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user