From 323c88e310b5d9f028889aa8aaa7525dad211879 Mon Sep 17 00:00:00 2001 From: Scarce Koi Date: Sat, 9 May 2026 12:32:54 -0400 Subject: [PATCH 1/2] feat(organism-earth-library): init --- scripts/userstyles.yml | 7 ++++ .../catppuccin.user.less | 34 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 styles/organism-earth-library/catppuccin.user.less diff --git a/scripts/userstyles.yml b/scripts/userstyles.yml index 57c1872f88..9a182b3920 100644 --- a/scripts/userstyles.yml +++ b/scripts/userstyles.yml @@ -75,6 +75,7 @@ collaborators: - &koibtw koibtw - &TheAnonymousCrusher TheAnonymousCrusher - &42willow 42willow + - &scarcekoi scarcekoi userstyles: advent-of-code: @@ -702,6 +703,12 @@ userstyles: icon: openmediavault color: sky current-maintainers: [*Gandalf-the-Blue] + organism-earth-library: + name: Organism Earth Library + link: https://organism.earth/library + categories: [wiki] + color: mauve + current-maintainers: [*scarcekoi] paste.rs: name: paste.rs link: https://paste.rs diff --git a/styles/organism-earth-library/catppuccin.user.less b/styles/organism-earth-library/catppuccin.user.less new file mode 100644 index 0000000000..ec6c618162 --- /dev/null +++ b/styles/organism-earth-library/catppuccin.user.less @@ -0,0 +1,34 @@ +/* ==UserStyle== +@name Organism Earth Library Catppuccin +@namespace github.com/catppuccin/userstyles/styles/organism-earth-library +@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/organism-earth-library +@version 2000.01.01 +@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/organism-earth-library/catppuccin.user.less +@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aorganism-earth-library +@description Soothing pastel theme for Organism Earth Library +@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/lib.less"; + +@-moz-document url-prefix("https://organism.earth/library") { + :root { + @media (prefers-color-scheme: light) { + #catppuccin(@lightFlavor); + } + @media (prefers-color-scheme: dark) { + #catppuccin(@darkFlavor); + } + } + + #catppuccin(@flavor) { + #lib.palette(); + #lib.defaults(); + } +} From bc11d4a658632184934d8a5a76ec884da95c56cb Mon Sep 17 00:00:00 2001 From: Scarce Koi Date: Sat, 9 May 2026 13:13:35 -0400 Subject: [PATCH 2/2] feat(organism-earth-library): theme --- .../catppuccin.user.less | 43 ++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/styles/organism-earth-library/catppuccin.user.less b/styles/organism-earth-library/catppuccin.user.less index ec6c618162..3579bd3a88 100644 --- a/styles/organism-earth-library/catppuccin.user.less +++ b/styles/organism-earth-library/catppuccin.user.less @@ -17,7 +17,7 @@ @import "https://userstyles.catppuccin.com/lib/lib.less"; -@-moz-document url-prefix("https://organism.earth/library") { +@-moz-document url-prefix("https://organism.earth/library"), url-prefix("https://www.organism.earth/library") { :root { @media (prefers-color-scheme: light) { #catppuccin(@lightFlavor); @@ -30,5 +30,46 @@ #catppuccin(@flavor) { #lib.palette(); #lib.defaults(); + + --col-bg: @base; + --col-bg-box: @mantle; + --col-bg-box-bg: @crust; + --col-text: @text; + --col-text-inverted: @base; + --col-accent: @accent; + --col-highlight: darken(@accent, 10%); + --col-header-bg: @accent; + --col-header-button: darken(@accent, 10%); + --col-quote: fade(@accent, 15%); + --col-quote-text: @accent; + --col-hoverbox-bg: @surface0; + --col-index-docmeta-title-bg: fade(@accent, 80%); + --col-index-docmeta-bg: @mantle; + --col-blockquote-link: @accent; + + .topic-card, .document-meta-left { + color: @base; + } + + .active-button { + color: @base !important; + } + + .aside { + color: @subtext0; + } + + #toc-v2 h1, .chapter-header { + border-top-color: @surface0; + border-bottom-color: @surface0; + } + + #stats, .visitorCounter { + color: @subtext0; + } + + #book-icon { + filter: @base-filter + } } }