From 8de8e88068bb0f860b5433892c2a1f055f22393b Mon Sep 17 00:00:00 2001 From: Crusher <129316307+TheAnonymousCrusher@users.noreply.github.com> Date: Wed, 7 Jan 2026 01:19:54 +0200 Subject: [PATCH] feat(poe): init (#2069) * Add files via upload * Update styles/poe/catppuccin.user.less Change 'poe' to 'Poe' Co-authored-by: WalkQuackBack * Update styles/poe/catppuccin.user.less Change 'poe' to 'Pow' Co-authored-by: WalkQuackBack * Update scripts/userstyles.yml Co-authored-by: uncenter * Update scripts/userstyles.yml Co-authored-by: uncenter * Remove variable that are defined in standard lib Co-authored-by: uncenter * Fix indentation in scripts/userstyles.yml * fix(poe): indentation * chore(poe): delete extra file * Update styles/poe/catppuccin.user.less Co-authored-by: uncenter * Update styles/poe/catppuccin.user.less Co-authored-by: uncenter * Update catppuccin.user.less * Remove prism.js like syntax * Change to CSS variables Co-authored-by: uncenter * fix(poe): settings, tooltips, codes, misc * Update styles/poe/catppuccin.user.less Co-authored-by: WalkQuackBack * Update catppuccin.user.less * Change 'Tooltip_root' BG to surface0 to show elevation * fix(poe): use variable instead * feat(poe): logo, ignore help center, api section * fix(poe): optimize logo svg * fix(poe): login gradient, add comment about url-prefix --------- Co-authored-by: WalkQuackBack Co-authored-by: uncenter --- scripts/userstyles.yml | 8 +++ styles/poe/catppuccin.user.less | 114 ++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 styles/poe/catppuccin.user.less diff --git a/scripts/userstyles.yml b/scripts/userstyles.yml index 6c2850dc..7f8b1e96 100644 --- a/scripts/userstyles.yml +++ b/scripts/userstyles.yml @@ -70,6 +70,7 @@ collaborators: - &zenoix zenoix - &NekoDrone NekoDrone - &adamperkowski adamperkowski + - &TheAnonymousCrusher TheAnonymousCrusher userstyles: advent-of-code: @@ -731,6 +732,13 @@ userstyles: categories: [game] color: green current-maintainers: [*Nyameliaaaa] + poe: + name: Poe + link: https://poe.com + categories: [artificial_intelligence] + icon: poe + color: blue + current-maintainers: [*TheAnonymousCrusher] porkbun: name: Porkbun link: https://porkbun.com diff --git a/styles/poe/catppuccin.user.less b/styles/poe/catppuccin.user.less new file mode 100644 index 00000000..dbbee0db --- /dev/null +++ b/styles/poe/catppuccin.user.less @@ -0,0 +1,114 @@ +/* ==UserStyle== +@name Poe Catppuccin +@namespace github.com/catppuccin/userstyles/styles/poe +@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/poe +@version 2000.01.01 +@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/poe/catppuccin.user.less +@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Apoe +@description Soothing pastel theme for Poe +@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"; + +// Using `url-prefix `instead of `domain` prevents a broken theme on the Help Center (https://help.poe.com/). +@-moz-document url-prefix("https://poe.com") { + :root:not(.dark, .light) { + @media (prefers-color-scheme: light) { + #catppuccin(@lightFlavor); + } + @media (prefers-color-scheme: dark) { + #catppuccin(@darkFlavor); + } + } + + :root { + &.dark { + #catppuccin(@darkFlavor); + } + &.light { + #catppuccin(@lightFlavor); + } + } + + #catppuccin(@flavor) { + #lib.palette(); + #lib.defaults(); + + --pdl-bg-base: @mantle; + --pdl-bg-faint: @base; + --pdl-bg-muted: @surface0; + --pdl-bg-subtle: @surface1; + --pdl-bg-emphasis: @surface2; + + --pdl-fg-base: @text; + --pdl-fg-muted: @subtext1; + --pdl-fg-subtle: @subtext0; + + --pdl-bg-reverse: @text; + --pdl-fg-reverse: @base; + + --pdl-border-base: @surface1; + --pdl-border-emphasis: @overlay0; + + --pdl-accent-base: @accent; + --pdl-accent-on-accent: @base; + --pdl-fg-white: @base; + + --code-block-bg: @base; + + --pdl-error-base: @red; + + --pdl-success-base: @green; + --pdl-success-muted: fade(@green, 60%); + --pdl-success-on-success: @base; + + // Settings + --pdl-action-default-bg: @mantle; + --pdl-action-disabled-bg: @surface0; + --pdl-action-default-border: @surface2; + --pdl-action-hover-border: @overlay0; + --pdl-action-hover-border-accent: @accent; + --pdl-action-default-fg: @text; + --pdl-action-disabled-fg: @overlay2; + --violet-9: @accent; + --violet-10: @accent; + --violet-11: @accent; + --ruby-10: @red; // danger button text + --ruby-11: @red; // danger button hover text + + textarea { + color: @text; + } + + [class^="Tooltip_root"] { + --pdl-tooltip-bg: @surface0; + --pdl-tooltip-color: @text; + } + + // API + ul[data-pdl-sidebar-menu] { + li[data-pdl-sidebar-menu-item] { + --item-active-bg-color: @surface0; + --item-hover-bg-color: @surface1; + } + } + + // Login + --fade-bottom-gradual: linear-gradient(to bottom,transparent 0%,fade(@crust, 50%) 60%,@mantle 90%,@mantle 100%); + --fg-base--ignore-light-mode: @text; + + + // Logo (Login, Chat) + img[src^="https://psc2.cf2.poecdn.net/assets/_next/static/media/poeFullMultibot"], img[src^="https://psc2.cf2.poecdn.net/assets/_next/static/media/poeFullWhiteMultibot"] { + @svg: escape(''); + content: url("data:image/svg+xml,@{svg}"); + } + } +}