From 98562a00dae39f3af361a1cc55e19ab4d780e69c Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 5 Dec 2025 19:09:46 +0100 Subject: [PATCH] feat(searchix): init (#1984) Co-authored-by: uncenter --- scripts/userstyles.yml | 7 ++++ styles/searchix/catppuccin.user.less | 50 ++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 styles/searchix/catppuccin.user.less diff --git a/scripts/userstyles.yml b/scripts/userstyles.yml index a25a62b5..66d6d83f 100644 --- a/scripts/userstyles.yml +++ b/scripts/userstyles.yml @@ -69,6 +69,7 @@ collaborators: - &shnjd shnjd - &zenoix zenoix - &NekoDrone NekoDrone + - &adamperkowski adamperkowski userstyles: advent-of-code: @@ -799,6 +800,12 @@ userstyles: categories: [productivity] color: text current-maintainers: [*thismoon] + searchix: + name: Searchix + link: https://searchix.ovh + categories: [development, search_engine] + color: blue + current-maintainers: [*adamperkowski] searxng: name: SearXNG link: https://github.com/searxng/searxng diff --git a/styles/searchix/catppuccin.user.less b/styles/searchix/catppuccin.user.less new file mode 100644 index 00000000..5e54437a --- /dev/null +++ b/styles/searchix/catppuccin.user.less @@ -0,0 +1,50 @@ +/* ==UserStyle== +@name Searchix Catppuccin +@namespace github.com/catppuccin/userstyles/styles/searchix +@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/searchix +@version 2000.01.01 +@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/searchix/catppuccin.user.less +@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Asearchix +@description Soothing pastel theme for Searchix +@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 domain("searchix.ovh") { + :root { + @media (prefers-color-scheme: light) { + #catppuccin(@lightFlavor); + } + @media (prefers-color-scheme: dark) { + #catppuccin(@darkFlavor); + } + } + + #catppuccin(@flavor) { + #lib.palette(); + #lib.defaults(); + + --bg: @base; + --accent-bg: @mantle; + --text: @text; + --text-light: @subtext0; + --accent: @accent; + --accent-hover: @accent; + --accent-error: fade(@red, 20%); + --border: @overlay0; + --code: @lavender; + --preformatted: @text; + --disabled: @crust; + + dialog { + color: var(--text); + } + } +}