diff --git a/styles/cinny/catppuccin.user.css b/styles/cinny/catppuccin.user.css index 31d0a903..8a625e5f 100644 --- a/styles/cinny/catppuccin.user.css +++ b/styles/cinny/catppuccin.user.css @@ -2,7 +2,7 @@ @name Cinny Catppuccin @namespace github.com/catppuccin/userstyles/styles/cinny @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/cinny -@version 2.2.1 +@version 2.3.0 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/cinny/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acinny @description Soothing pastel theme for Cinny @@ -59,44 +59,40 @@ } } + /* Backgrounds */ --bg-surface: @base; - --bg-surface-transparent: fadeout(@base, 100%); + --bg-surface-transparent: fade(@base, 0%); --bg-surface-low: @mantle; - --bg-surface-low-transparent: fadeout(@mantle, 100%); + --bg-surface-low-transparent: fade(@mantle, 0%); --bg-surface-extra-low: @crust; - --bg-surface-extra-low-transparent: fadeout(@crust, 100%); - --bg-surface-border: fadeout(@crust, 80%); - + --bg-surface-extra-low-transparent: fade(@crust, 0%); + --bg-surface-border: fade(@crust, 20%); --bg-surface-hover: @surface0; --bg-surface-active: @surface1; - - --bg-overlay: fadeout(@crust, 40%); - --bg-overlay-low: fadeout(@crust, 20%); - + --bg-overlay: fade(@crust, 60%); + --bg-overlay-low: fade(@crust, 80%); --bg-primary: @accent-color; - --bg-primary-hover: fadeout(@accent-color, 20%); - --bg-primary-active: fadeout(@accent-color, 30%); - --bg-primary-border: fadeout(@accent-color, 62%); - + --bg-primary-hover: fade(@accent-color, 80%); + --bg-primary-active: fade(@accent-color, 70%); + --bg-primary-border: fade(@accent-color, 38%); --bg-tooltip: @surface0; --bg-badge: @lavender; - --bg-positive: @green; - --bg-positive-hover: fadeout(@green, 92%); - --bg-positive-active: fadeout(@green, 85%); - --bg-positive-border: fadeout(@green, 60%); + --bg-positive-hover: fade(@green, 8%); + --bg-positive-active: fade(@green, 15%); + --bg-positive-border: fade(@green, 40%); --bg-caution: @peach; - --bg-caution-hover: fadeout(@peach, 92%); - --bg-caution-active: fadeout(@peach, 85%); - --bg-caution-border: fadeout(@peach, 60%); + --bg-caution-hover: fade(@peach, 8%); + --bg-caution-active: fade(@peach, 15%); + --bg-caution-border: fade(@peach, 40%); --bg-danger: @maroon; - --bg-danger-hover: fadeout(@maroon, 95%); - --bg-danger-active: fadeout(@maroon, 90%); - --bg-danger-border: fadeout(@maroon, 80%); - - --bg-ping: fadeout(@green, 60%); - --bg-ping-hover: fadeout(@green, 50%); + --bg-danger-hover: fade(@maroon, 5%); + --bg-danger-active: fade(@maroon, 10%); + --bg-danger-border: fade(@maroon, 20%); + --bg-ping: fade(@green, 40%); + --bg-ping-hover: fade(@green, 50%); + /* Texts */ --tc-surface-high: @text; --tc-surface-normal: @text; --tc-surface-normal-low: @subtext1; @@ -104,12 +100,10 @@ --tc-primary-high: @crust; --tc-primary-normal: @text; --tc-primary-low: @subtext1; - --tc-tooltip: @subtext0; --tc-code: @mauve; --tc-link: @rosewater; --tc-badge: @crust; - --tc-positive-high: @green; --tc-positive-normal: @green; --tc-positive-low: @green; @@ -120,12 +114,13 @@ --tc-danger-normal: @maroon; --tc-danger-low: @maroon; + /* Icons */ --ic-surface-high: @text; --ic-surface-normal: @text; --ic-surface-low: @subtext1; - --ic-primary-high: @text; + --ic-primary-high: @crust; --ic-primary-normal: @crust; - + --ic-primary-low: @crust; --ic-positive-high: @green; --ic-positive-normal: @maroon; --ic-caution-high: @peach; @@ -133,6 +128,7 @@ --ic-danger-high: @maroon; --ic-danger-normal: @maroon; + /* Users */ --mx-uc-1: @blue; --mx-uc-2: @pink; --mx-uc-3: @teal; @@ -142,124 +138,121 @@ --mx-uc-7: @mauve; --mx-uc-8: @green; - --oq6d070: @mantle; - --oq6d071: @base; - --oq6d072: @surface0; - --oq6d073: @surface1; - --oq6d074: @text; - --oq6d075: @base; - --oq6d076: @surface0; - --oq6d077: @surface1; - --oq6d078: @surface2; - --oq6d079: @text; - --oq6d07a: @mantle; - --oq6d07b: @base; - --oq6d07c: @surface0; - --oq6d07d: @surface1; - --oq6d07e: @text; + body.oq6d071w, + &._15q3ngn0, + &._15q3ngn1, + &._15q3ngn2 { + --oq6d070: @mantle; + --oq6d071: @base; + --oq6d072: @surface0; + --oq6d073: @surface1; + --oq6d074: @text; + --oq6d075: @base; + --oq6d076: @surface0; + --oq6d077: @surface1; + --oq6d078: @surface2; + --oq6d079: @text; + --oq6d07a: @mantle; + --oq6d07b: @base; + --oq6d07c: @surface0; + --oq6d07d: @surface1; + --oq6d07e: @text; - --oq6d07f: @subtext0; - --oq6d07g: @overlay2; - --oq6d07h: @overlay1; - --oq6d07i: @overlay0; + --oq6d07f: @subtext0; + --oq6d07g: @overlay2; + --oq6d07h: @overlay1; + --oq6d07i: @overlay0; - --oq6d07j: fadeout(@accent-color, 40%); - --oq6d07k: fadeout(@accent-color, 50%); - --oq6d07l: fadeout(@accent-color, 60%); - --oq6d07m: fadeout(@accent-color, 70%); - --oq6d07n: fadeout(@accent-color, 80%); + --oq6d07j: @base; - --oq6d07o: @text; - --oq6d07p: @subtext1; - --oq6d07q: @subtext0; - --oq6d07r: @overlay2; - --oq6d07s: @overlay1; + --oq6d07k: fade(@accent-color, 50%); + --oq6d07l: fade(@accent-color, 40%); + --oq6d07m: fade(@accent-color, 30%); + --oq6d07n: fade(@accent-color, 20%); - --oq6d07t: @mantle; - --oq6d07u: @surface0; - --oq6d07v: @surface1; - --oq6d07w: @surface2; - --oq6d07x: @overlay0; - --oq6d07y: @subtext0; + --oq6d07o: @text; + --oq6d07p: @subtext1; + --oq6d07q: @subtext0; + --oq6d07r: @overlay2; + --oq6d07s: @overlay1; - --oq6d07z: fadeout(@green, 10%); - --oq6d0710: fadeout(@green, 5%); - --oq6d0711: fadeout(@green, 2.5%); - --oq6d0712: @green; - --oq6d0713: @surface0; - --oq6d0714: fadeout(@surface0, 2.5%); - --oq6d0715: fadeout(@surface0, 5%); - --oq6d0716: fadeout(@surface0, 10%); - --oq6d0717: fadeout(@surface0, 20%); + --oq6d07t: @mantle; + --oq6d07u: @surface0; + --oq6d07v: @surface1; + --oq6d07w: @surface2; + --oq6d07x: @overlay0; + --oq6d07y: @subtext0; - --oq6d0718: @green; + --oq6d07z: fade(@green, 90%); + --oq6d0710: fade(@green, 95%); + --oq6d0711: fade(@green, 97.5%); + --oq6d0712: @green; + --oq6d0713: @surface0; + --oq6d0714: fade(@surface0, 97.5%); + --oq6d0715: fade(@surface0, 95%); + --oq6d0716: fade(@surface0, 90%); + --oq6d0717: fade(@surface0, 80%); - --oq6d0719: fadeout(@peach, 10%); - --oq6d071a: fadeout(@peach, 5%); - --oq6d071b: fadeout(@peach, 2.5%); - --oq60d71c: @peach; - --oq6d071d: fadeout(@surface0, 2.5%); - --oq6d071e: fadeout(@surface0, 5%); - --oq6d071f: fadeout(@surface0, 10%); - --oq6d071g: fadeout(@surface0, 20%); - --oq6d071h: fadeout(@surface0, 30%); + --oq6d0718: @green; - --oq6d071i: fadeout(@maroon, 10%); - --oq6d071j: fadeout(@maroon, 5%); - --oq6d071k: fadeout(@maroon, 2.5%); - --oq6d071l: @maroon; - --oq6d071m: fadeout(@surface0, 2.5%); - --oq6d071n: fadeout(@surface0, 5%); - --oq6d071o: fadeout(@surface0, 10%); - --oq6d071p: fadeout(@surface0, 20%); - --oq6d071q: fadeout(@surface0, 30%); - --oq6d071r: fadeout(@surface0, 40%); - --oq6d071s: fadeout(@maroon, 10%); + --oq6d0719: fade(@peach, 90%); + --oq6d071a: fade(@peach, 95%); + --oq6d071b: fade(@peach, 97.5%); + --oq6d071c: @peach; + --oq6d071d: fade(@surface0, 97.5%); + --oq6d071e: fade(@surface0, 95%); + --oq6d071f: fade(@surface0, 90%); + --oq6d071g: fade(@surface0, 80%); + --oq6d071h: fade(@surface0, 70%); - --oq6d071t: fadeout(@text, 50%); - --oq6d071u: @crust; - --oq6d071v: fadeout(@crust, 40%); + --oq6d071i: fade(@maroon, 90%); + --oq6d071j: fade(@maroon, 95%); + --oq6d071k: fade(@maroon, 97.5%); + --oq6d071l: @maroon; + --oq6d071m: fade(@surface0, 97.5%); + --oq6d071n: fade(@surface0, 95%); + --oq6d071o: fade(@surface0, 90%); + --oq6d071p: fade(@surface0, 80%); + --oq6d071q: fade(@surface0, 70%); + --oq6d071r: fade(@surface0, 60%); + --oq6d071s: fade(@maroon, 90%); - --prism-comment: @overlay0; - --prism-punctuation: @sky; - --prism-property: @yellow; - --prism-boolean: @peach; - --prism-selector: @green; - --prism-operator: @sky; - --prism-atrule: @pink; - --prism-keyword: @mauve; - --prism-regex: @maroon; + --oq6d071t: fade(@text, 50%); + --oq6d071u: @crust; + --oq6d071v: fade(@crust, 60%); + } + + /* Syntax highlighting */ + body.prism-light, + &.prism-light, + &.prism-dark { + --prism-comment: @overlay0; + --prism-punctuation: @sky; + --prism-property: @yellow; + --prism-boolean: @peach; + --prism-selector: @green; + --prism-operator: @sky; + --prism-atrule: @pink; + --prism-keyword: @mauve; + --prism-regex: @maroon; + } + + /* Search results */ + ._1m2qi7rn { + background-color: @accent-color; + color: @base; + } } :root, - .oq6d071w, - .silver-theme, - ._15q3ngn0, - .prism-light { + .silver-theme { #catppuccin(@lightFlavor, @accentColor); } .dark-theme, - .dark-theme .text, - ._15q3ngn1, - .butter-theme, - .butter-theme .text, - ._15q3ngn2, - .prism-dark { + .butter-theme { #catppuccin(@darkFlavor, @accentColor); } - - @media (prefers-color-scheme: light) { - .system-theme { - #catppuccin(@lightFlavor, @accentColor); - } - } - @media (prefers-color-scheme: dark) { - .system-theme, - .system-theme .text { - #catppuccin(@darkFlavor, @accentColor); - } - } } /* prettier-ignore */ diff --git a/styles/cinny/preview.webp b/styles/cinny/preview.webp index e345ab28..6754c609 100644 Binary files a/styles/cinny/preview.webp and b/styles/cinny/preview.webp differ