feat(proton): support lumo (#1983)

This commit is contained in:
Rui Jiang authored and GitHub committed 2025-12-05 11:21:50 -06:00
1 parent e0bccca51e
commit e967539ef4
1 file changed
+80 -1
+80 -1
View File
@@ -17,7 +17,9 @@
@import "https://userstyles.catppuccin.com/lib/lib.less";
@-moz-document regexp("https://(account|mail|drive|calendar).proton.me/.*$") {
@-moz-document regexp(
"https://(account|mail|drive|calendar|lumo).proton.me/.*$"
) {
:root {
@media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor);
@@ -165,6 +167,7 @@
--text-hint: @subtext1;
--text-disabled: @overlay1;
--text-invert: @crust;
--text-markdown: @text;
--field-norm: @overlay2;
--field-hover: @overlay1;
--field-disabled: @overlay0;
@@ -172,6 +175,10 @@
--field-highlight: fade(@accent, 70%);
--focus-outline: @accent;
--focus-ring: fade(@accent, 40%);
--link-norm: @blue;
--link-hover: @lavender;
--link-active: @sky;
--markdown-pre-background: @mantle;
--border-norm: @overlay0;
--border-weak: @surface1;
--background-norm: @base;
@@ -233,5 +240,77 @@
);
}
}
/* Proton Lumo */
header {
a[aria-label="Go to Lumo homepage"] img {
filter: @accent-filter;
}
}
.whats-new-section {
background: @accent;
}
.new-label {
background-color: @accent;
color: @crust;
}
.lumo-sidebar {
background: @mantle;
a.lumo-plus-button svg path {
fill: @accent;
}
}
.lumo-input-container.ghost-mode {
background-color: @crust;
--ghost-text: @text;
--ghost-text-weak: @subtext0;
.lumo-input {
background-color: @mantle;
}
}
div[style*="background: rgb(40, 44, 52);"],
div[style*="background: rgb(250, 250, 250);"] {
background: @mantle !important;
span {
color: @text !important;
}
span.token[style*="color: rgb(92, 99, 112);"],
span.token[style*="color: rgb(160, 161, 167);"] {
color: @overlay2 !important;
}
span.token[style*="color: rgb(97, 175, 239);"],
span.token[style*="color: rgb(64, 120, 242);"] {
color: @blue !important;
}
span.token[style*="color: rgb(152, 195, 121);"],
span.token[style*="color: rgb(80, 161, 79);"] {
color: @green !important;
}
span.token[style*="color: rgb(209, 154, 102);"],
span.token[style*="color: rgb(183, 107, 1);"] {
color: @peach !important;
}
span.token[style*="color: rgb(198, 120, 221);"],
span.token[style*="color: rgb(166, 38, 164);"] {
color: @mauve !important;
}
span.token[style*="color: rgb(224, 108, 117);"],
span.token[style*="color: rgb(228, 86, 73);"] {
color: @red !important;
}
}
}
}