Files

105 lines
4.7 KiB
Plaintext

/* ==UserStyle==
@name Ecosia Catppuccin
@namespace github.com/catppuccin/userstyles/styles/ecosia
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/ecosia
@version 2026.08.16
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/ecosia/catppuccin.user.less
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aecosia
@description Soothing pastel theme for Ecosia
@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/std/v1.less";
@-moz-document domain("ecosia.org") {
:root.light {
#catppuccin(@lightFlavor);
}
:root.dark {
#catppuccin(@darkFlavor);
}
#catppuccin(@flavor) {
#lib.palette();
#lib.defaults();
--color-brand-primary: @accent !important;
--color-brand-secondary: @crust !important;
--color-error: @red !important;
--color-success: @green !important;
--color-disabled: @overlay1 !important;
--color-button-background-primary: @accent !important;
--color-button-background-primary-active: @accent !important;
--color-button-background-primary-hover: @accent;
--color-button-background-secondary: @surface0 !important;
--color-button-background-secondary-active: @surface2 !important;
--color-button-background-secondary-hover: @surface1 !important;
--color-button-content-primary: @base !important;
--color-button-content-secondary: @text !important;
--color-button-content-tertiary: @accent !important;
--color-button-border: @surface0 !important;
--color-button-background-transparent-hover: @surface1;
--color-button-background-transparent-active: @surface2;
--color-background-primary: @base !important;
--color-background-secondary: @crust !important;
--color-background-tertiary: @mantle !important;
--color-background-quaternary: @surface0;
--color-background-elevation-1: @mantle !important;
--color-highlighter: @surface0 !important;
--color-highlight-primary: @surface0 !important;
--color-overlay-primary: @overlay0 !important;
--color-overlay-secondary: @overlay1 !important;
--color-text-primary: @text !important;
--color-text-secondary: @subtext0 !important;
--color-text-tertiary: @text !important;
--color-link-primary: @sapphire !important;
--color-link-secondary: @sky !important;
--color-url: @sapphire !important;
--color-link-results-default: @sapphire !important;
--color-link-results-visited: @teal !important;
--color-decorative-icon: @accent !important;
--color-elevation-layer-1: @surface1;
--color-elevation-layer-2: @surface2;
--color-decorative-border-1: @surface1 !important;
--color-focused: @accent !important;
--color-form-border-default: @surface0 !important;
--color-form-border-hover: @surface1 !important;
--color-form-border-primary-active: @accent !important;
--color-tripadvisor-rating: @subtext0 !important;
--color-tree-counter-tree-tall: @yellow !important;
--color-green-leaf-icon-color-top: @green !important;
--color-green-leaf-icon-color-bottom: @green !important;
--color-fossil-fuel-icon-color-top: @flamingo !important;
--color-fossil-fuel-icon-color-bottom: @maroon !important;
/* search page */
--color-above-fold-background: @surface0 !important;
--color-above-fold-background-addon: @overlay1 !important;
--color-above-fold-text: @text !important;
--color-section-wrapper-background-gray: @surface1 !important;
--color-section-wrapper-background-dark-green: @surface0 !important;
--color-section-wrapper-background-light-green: @surface0 !important;
--color-section-header-title: @text !important;
--color-projects-title: @text !important;
--color-projects-description: @surface1;
--color-financial-report-total-background: @surface0 !important;
--color-financial-report-total-text: @text !important;
--color-forest-background-addon: @surface1 !important;
--color-forest-background-secondary: @surface0 !important;
--color-before-after-text: @text !important;
/* override color digit on homepage */
.count__digit,
.counter__description {
color: @text !important;
}
}
}