Skip to content

Commit

Permalink
feat(stack-overflow): init
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed May 25, 2024
1 parent 8519ff1 commit 682d92c
Show file tree
Hide file tree
Showing 2 changed files with 201 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/userstyles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,14 @@ userstyles:
readme:
app-link: "https://open.spotify.com"
current-maintainers: [*tnixc]
stack-overflow:
name: Stack Overflow
categories: [development]
icon: stackoverflow
color: peach
readme:
app-link: https://stackoverflow.com
current-maintainers: [*uncenter]
startpage:
name: Startpage
categories: [search_engine]
Expand Down
193 changes: 193 additions & 0 deletions styles/stack-overflow/catppuccin.user.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
/* ==UserStyle==
@name Stack Overflow Catppuccin
@namespace github.com/catppuccin/userstyles/styles/stack-overflow
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/stack-overflow
@version 0.0.1
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/stack-overflow/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Astack-overflow
@description Soothing pastel theme for Stack Overflow
@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== */

@-moz-document domain('stackoverflow.com') {
@import url("https://unpkg.com/@catppuccin/[email protected]/css/catppuccin.variables.important.css");
code.hljs {
background: none !important;
}

body:not(.theme-highcontrast, .theme-dark).unified-theme {
#catppuccin(@lightFlavor, @accentColor);
}
body:not(.theme-highcontrast).unified-theme.theme-dark {
#catppuccin(@darkFlavor, @accentColor);
}

@media (prefers-color-scheme: light) {
body:not(.theme-highcontrast).unified-theme.theme-system {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
body:not(.theme-highcontrast).unified-theme.theme-system {
#catppuccin(@darkFlavor, @accentColor);
}
}

#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@mauve: @catppuccin[@@lookup][@mauve];
@red: @catppuccin[@@lookup][@red];
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach];
@yellow: @catppuccin[@@lookup][@yellow];
@green: @catppuccin[@@lookup][@green];
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire];
@blue: @catppuccin[@@lookup][@blue];
@lavender: @catppuccin[@@lookup][@lavender];
@text: @catppuccin[@@lookup][@text];
@subtext1: @catppuccin[@@lookup][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2];
@surface1: @catppuccin[@@lookup][@surface1];
@surface0: @catppuccin[@@lookup][@surface0];
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];

--ctp-rosewater: #rgbify(@rosewater) [];
--ctp-flamingo: #rgbify(@flamingo) [];
--ctp-pink: #rgbify(@pink) [];
--ctp-mauve: #rgbify(@mauve) [];
--ctp-red: #rgbify(@red) [];
--ctp-maroon: #rgbify(@maroon) [];
--ctp-peach: #rgbify(@peach) [];
--ctp-yellow: #rgbify(@yellow) [];
--ctp-green: #rgbify(@green) [];
--ctp-teal: #rgbify(@teal) [];
--ctp-sky: #rgbify(@sky) [];
--ctp-sapphire: #rgbify(@sapphire) [];
--ctp-blue: #rgbify(@blue) [];
--ctp-lavender: #rgbify(@lavender) [];
--ctp-text: #rgbify(@text) [];
--ctp-subtext1: #rgbify(@subtext1) [];
--ctp-subtext0: #rgbify(@subtext0) [];
--ctp-overlay2: #rgbify(@overlay2) [];
--ctp-overlay1: #rgbify(@overlay1) [];
--ctp-overlay0: #rgbify(@overlay0) [];
--ctp-surface2: #rgbify(@surface2) [];
--ctp-surface1: #rgbify(@surface1) [];
--ctp-surface0: #rgbify(@surface0) [];
--ctp-base: #rgbify(@base) [];
--ctp-mantle: #rgbify(@mantle) [];
--ctp-crust: #rgbify(@crust) [];

color-scheme: if(@lookup = latte, light, dark);

::selection {
background-color: fade(@accent-color, 30%);
}

input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
}

&,
* {
--theme-background-color: @mantle;
--theme-content-background-color: @base;
--theme-topbar-background-color: @mantle;
--theme-button-primary-background-color: @accent-color;
--theme-button-primary-hover-background-color: darken(@accent-color, 5%);
--theme-button-primary-active-background-color: @text;
--theme-link-color: @accent-color;
--theme-link-color-hover: darken(@accent-color, 5%);
--theme-footer-background-color: @mantle;

--highlight-bg: @mantle;

--theme-secondary-100: fade(@accent-color, 30%);
--theme-secondary-200: fade(@accent-color, 40%);
--theme-secondary-300: fade(@accent-color, 50%);
--theme-secondary-400: fade(@accent-color, 60%);
--theme-secondary-500: fade(@accent-color, 70%);

--white: @mantle;
--black-100: @crust;
--black-150: @mantle;
--black-200: @base;
--black-225: @surface1;
--black-250: @surface2;
--black-300: @overlay0;
--black-350: @overlay2;
--black-400: @subtext0;
--black-500: @subtext1;
--black-600: @text;

--green-400: @green;

--blue-500: @sky;
--blue-500: @blue;

Check failure on line 146 in styles/stack-overflow/catppuccin.user.css

View workflow job for this annotation

GitHub Actions / Lint Userstyles

Unexpected duplicate "--blue-500" (declaration-block-no-duplicate-custom-properties)

--orange-500: @peach;

--yellow-500: @yellow;

--red-400: @red;
}

.wmd-button > span {
@svg: escape(
'<svg width="360" height="60" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14 8c0-1.5-1.6-3-3.5-3H5v12h6.3c1.7 0 3.2-1.7 3.2-3.5 0-1.3-.9-2.5-2-3 .8-.6 1.5-1 1.5-2.5M7.5 7H10a1.5 1.5 0 0 1 0 3H7.5zm3 8h-3v-3h3a1.5 1.5 0 1 1 0 3M32 5v2h2.6l-3.7 8H28v2h8v-2h-2.6l3.7-8H40V5zm18.2 8.8c.5.4 1 .7 1.6.9l.7-1.8a4.1 4.1 0 1 1 4-.8l1.2 1.4a6 6 0 1 0-7.5.3" fill="@{subtext0}"/><path d="M53.6 8.2a6 6 0 0 0-1.6-.8L51.4 9a4.1 4.1 0 1 1-4 .8L46 8.4a6 6 0 1 0 7.5-.2zM63 7c0-1.1.9-2 2-2h3a2 2 0 0 1 2 2v7l-1.8 3H66l1.8-3H65a2 2 0 0 1-2-2zm8 0c0-1.1.9-2 2-2h3a2 2 0 0 1 2 2v7l-1.8 3H74l1.8-3H73a2 2 0 0 1-2-2zm32-2c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm4.5 7.5L104 17h14l-4.5-6-3.5 4.5zm0-4.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m76.5 2h14v2h-14z" fill="@{subtext0}"/><path opacity=".4" d="M184 4h14v1h-14zm0 3h14v1h-14zm0 7h14v1h-14zm0 3h14v1h-14z" fill="@{subtext0}"/><path d="M251 3a8 8 0 1 0 0 16 8 8 0 0 0 0-16m.8 12.1c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2c0-.8.6-1.2 1.2-1.2.7 0 1.2.5 1.2 1.2m2-5.1-1 1-.6.3-.5.7v.7s-.1.2-.3.2H250c-.2 0-.2-.1-.2-.2 0-.6.1-1.2.4-1.6.4-.5.9-1 1.4-1.3.2 0 .3-.2.4-.3a1.3 1.3 0 0 0 0-1.8c-.2-.3-.5-.4-1-.4s-.8.3-1 .6-.2.7-.2 1h-2q0-1.95 1.2-2.7c.5-.3 1.1-.5 1.9-.5 1 0 1.8.2 2.5.7.6.5 1 1.2 1 2.2 0 .5-.3 1-.5 1.4z" fill="@{subtext0}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M262 5c0-1.1.9-2 2-2h10l4 4v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm9.7 2-1.4 1.4 2.6 2.6-2.6 2.6 1.4 1.4 4-4zm-2 1.4L268.3 7l-4 4 4 4 1.4-1.4-2.6-2.6zM230 3a8 8 0 0 1 5.6 2.3L238 3v7h-7l3.2-3.2A6 6 0 0 0 230 5a6 6 0 0 0 0 12v2a8 8 0 1 1 0-16" fill="@{subtext0}"/><path fill="@{subtext0}" d="M163 4h14v2h-14zm2 3h10v2h-10z"/><path opacity=".4" fill="@{subtext0}" d="M163 11h14v1h-14zm2 3h10v1h-10zm-2 3h14v1h-14z"/><path d="M87 9.5V7.2c0-1 .8-1.4 2-1.4V4c-2.5 0-4 1-4 3.1v2.1c0 .4-.3.8-.8.8H83v2h1.2c.5 0 .8.4.8.8v2c0 2.2 1.5 3.2 4 3.2v-1.8c-1.2 0-2-.4-2-1.4v-2.3c0-.9-.7-1.4-1.1-1.5.4-.1 1.1-.6 1.1-1.5m7 0V7.2c0-1-.8-1.4-2-1.4V4c2.5 0 4 1 4 3.1v2.1c0 .4.3.8.8.8H98v2h-1.2c-.5 0-.8.4-.8.8v2c0 2.2-1.5 3.2-4 3.2v-1.8c1.2 0 2-.4 2-1.4v-2.3c0-.9.7-1.4 1.1-1.5-.4-.1-1.1-.6-1.1-1.5" fill="@{subtext0}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M124 8h1V4h-2v1h1zm.8 2H123V9h3v.9l-1.8 2.1h1.8v1h-3v-.9zm-1.8 5v-1h3v4h-3v-1h2v-.5h-1v-1h1V15zm5-8V5h9v2zm0 10h9v-2h-9zm9-5h-9v-2h9z" fill="@{subtext0}"/><path d="M146.3 6a1.3 1.3 0 1 1-2.6 0 1.3 1.3 0 0 1 2.6 0M157 7h-9V5h9zm0 10h-9v-2h9zm-9-5h9v-2h-9zm-1.7 4a1.3 1.3 0 1 1-2.6 0 1.3 1.3 0 0 1 2.6 0m-1.3-3.7a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.6" fill="@{subtext0}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M210 3a8 8 0 0 0-5.6 2.3L202 3v7h7l-3.2-3.2A6 6 0 0 1 210 5a6 6 0 0 1 0 12v2a8 8 0 1 0 0-16" fill="@{subtext0}"/><path d="M14 28c0-1.5-1.6-3-3.5-3H5v12h6.3c1.7 0 3.2-1.7 3.2-3.5 0-1.3-.9-2.5-2-3 .8-.6 1.5-1 1.5-2.5m-6.5-1H10a1.5 1.5 0 1 1 0 3H7.5zm3 8h-3v-3h3a1.5 1.5 0 1 1 0 3M32 25v2h2.6l-3.7 8H28v2h8v-2h-2.6l3.7-8H40v-2zm18.2 8.8c.5.4 1 .7 1.6.9l.7-1.8a4.1 4.1 0 1 1 4-.8l1.2 1.4a6 6 0 1 0-7.5.3" fill="@{subtext1}"/><path d="M53.6 28.2a6 6 0 0 0-1.6-.8l-.6 1.7a4.1 4.1 0 1 1-4 .8L46 28.4a6 6 0 1 0 7.5-.2zM63 27c0-1.1.9-2 2-2h3a2 2 0 0 1 2 2v7l-1.8 3H66l1.8-3H65a2 2 0 0 1-2-2zm8 0c0-1.1.9-2 2-2h3a2 2 0 0 1 2 2v7l-1.8 3H74l1.8-3H73a2 2 0 0 1-2-2zm32-2c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm4.5 7.5L104 37h14l-4.5-6-3.5 4.5zm0-4.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m76.5 2h14v2h-14z" fill="@{subtext1}"/><path opacity=".4" d="M184 24h14v1h-14zm0 3h14v1h-14zm0 7h14v1h-14zm0 3h14v1h-14z" fill="@{subtext1}"/><path d="M251 23a8 8 0 1 0 0 16 8 8 0 0 0 0-16m.8 12.1c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2c0-.8.6-1.2 1.2-1.2.7 0 1.2.5 1.2 1.2m2-5.1-1 1-.6.3-.5.7v.7s-.1.2-.3.2H250c-.2 0-.2-.1-.2-.2 0-.6.1-1.2.4-1.6.4-.5.9-1 1.4-1.3.2 0 .3-.2.4-.3a1.3 1.3 0 0 0 0-1.8c-.2-.3-.5-.4-1-.4s-.8.3-1 .6-.2.7-.2 1h-2q0-1.95 1.2-2.7c.5-.3 1.1-.5 1.9-.5 1 0 1.8.2 2.5.7.6.5 1 1.2 1 2.2 0 .5-.3 1-.5 1.4z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M262 25c0-1.1.9-2 2-2h10l4 4v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm9.7 2-1.4 1.4 2.6 2.6-2.6 2.6 1.4 1.4 4-4zm-2 1.4-1.4-1.4-4 4 4 4 1.4-1.4-2.6-2.6zM230 23a8 8 0 0 1 5.6 2.4L238 23v7h-7l3.2-3.2A6 6 0 0 0 230 25a6 6 0 0 0 0 12v2a8 8 0 1 1 0-16" fill="@{subtext1}"/><path fill="@{subtext1}" d="M163 24h14v2h-14zm2 3h10v2h-10z"/><path opacity=".4" fill="@{subtext1}" d="M163 31h14v1h-14zm2 3h10v1h-10zm-2 3h14v1h-14z"/><path d="M87 29.5v-2.3c0-1 .8-1.4 2-1.4V24c-2.5 0-4 1-4 3.1v2.1c0 .4-.3.8-.8.8H83v2h1.2c.5 0 .8.4.8.8v2c0 2.2 1.5 3.2 4 3.2v-1.8c-1.2 0-2-.4-2-1.4v-2.3c0-.9-.7-1.4-1.1-1.5.4-.1 1.1-.6 1.1-1.5m7 0v-2.3c0-1-.8-1.4-2-1.4V24c2.5 0 4 1 4 3.1v2.1c0 .4.3.8.8.8H98v2h-1.2c-.5 0-.8.4-.8.8v2c0 2.2-1.5 3.2-4 3.2v-1.8c1.2 0 2-.4 2-1.4v-2.3c0-.9.7-1.4 1.1-1.5-.4-.1-1.1-.6-1.1-1.5" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M124 28h1v-4h-2v1h1zm.8 2H123v-1h3v.9l-1.8 2.1h1.8v1h-3v-.9zm-1.8 5v-1h3v4h-3v-1h2v-.5h-1v-1h1V35zm5-8v-2h9v2zm0 10h9v-2h-9zm9-5h-9v-2h9z" fill="@{subtext1}"/><path d="M146.3 26a1.3 1.3 0 1 1-2.6 0 1.3 1.3 0 0 1 2.6 0m10.7 1h-9v-2h9zm0 10h-9v-2h9zm-9-5h9v-2h-9zm-1.7 4a1.3 1.3 0 1 1-2.6 0 1.3 1.3 0 0 1 2.6 0m-1.3-3.7a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.6" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M210 23a8 8 0 0 0-5.6 2.4L202 23v7h7l-3.2-3.2A6 6 0 0 1 210 25a6 6 0 0 1 0 12v2a8 8 0 1 0 0-16" fill="@{subtext1}"/><path d="M14 48c0-1.5-1.6-3-3.5-3H5v12h6.3c1.7 0 3.2-1.7 3.2-3.5 0-1.3-.9-2.5-2-3 .8-.6 1.5-1 1.5-2.5m-6.5-1H10a1.5 1.5 0 1 1 0 3H7.5zm3 8h-3v-3h3a1.5 1.5 0 1 1 0 3M32 45v2h2.6l-3.7 8H28v2h8v-2h-2.6l3.7-8H40v-2zm18.2 8.8c.5.4 1 .7 1.6.9l.7-1.8a4.1 4.1 0 1 1 4-.8l1.2 1.4a6 6 0 1 0-7.5.3" fill="@{text}"/><path d="M53.6 48.2a6 6 0 0 0-1.6-.8l-.6 1.7a4.1 4.1 0 1 1-4 .8L46 48.4a6 6 0 1 0 7.5-.2zM63 47c0-1.1.9-2 2-2h3a2 2 0 0 1 2 2v7l-1.8 3H66l1.8-3H65a2 2 0 0 1-2-2zm8 0c0-1.1.9-2 2-2h3a2 2 0 0 1 2 2v7l-1.8 3H74l1.8-3H73a2 2 0 0 1-2-2zm32-2c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm4.5 7.5L104 57h14l-4.5-6-3.5 4.5zm0-4.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3m76.5 2h14v2h-14z" fill="@{text}"/><path opacity=".4" d="M184 44h14v1h-14zm0 3h14v1h-14zm0 7h14v1h-14zm0 3h14v1h-14z" fill="@{text}"/><path d="M251 43a8 8 0 1 0 0 16 8 8 0 0 0 0-16m.8 12.1c0 .7-.5 1.2-1.2 1.2s-1.2-.5-1.2-1.2c0-.8.6-1.2 1.2-1.2.7 0 1.2.5 1.2 1.2m2-5.1-1 1-.6.3-.5.7v.7s-.1.2-.3.2H250c-.2 0-.2-.1-.2-.2 0-.6.1-1.2.4-1.6.4-.5.9-1 1.4-1.3.2 0 .3-.2.4-.3a1.3 1.3 0 0 0 0-1.8c-.2-.3-.5-.4-1-.4s-.8.3-1 .6-.2.7-.2 1h-2q0-1.95 1.2-2.7c.5-.3 1.1-.5 1.9-.5 1 0 1.8.2 2.5.7.6.5 1 1.2 1 2.2 0 .5-.3 1-.5 1.4z" fill="@{text}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M262 45c0-1.1.9-2 2-2h10l4 4v10a2 2 0 0 1-2 2h-12a2 2 0 0 1-2-2zm9.7 2-1.4 1.4 2.6 2.6-2.6 2.6 1.4 1.4 4-4zm-2 1.4-1.4-1.4-4 4 4 4 1.4-1.4-2.6-2.6zM230 43a8 8 0 0 1 5.6 2.4L238 43v7h-7l3.2-3.2A6 6 0 0 0 230 45a6 6 0 0 0 0 12v2a8 8 0 1 1 0-16" fill="@{text}"/><path fill="@{text}" d="M163 44h14v2h-14zm2 3h10v2h-10z"/><path opacity=".4" fill="@{text}" d="M163 51h14v1h-14zm2 3h10v1h-10zm-2 3h14v1h-14z"/><path d="M87 49.5v-2.3c0-1 .8-1.4 2-1.4V44c-2.5 0-4 1-4 3.1v2.1c0 .4-.3.8-.8.8H83v2h1.2c.5 0 .8.4.8.8v2c0 2.2 1.5 3.2 4 3.2v-1.8c-1.2 0-2-.4-2-1.4v-2.3c0-.9-.7-1.4-1.1-1.5.4-.1 1.1-.6 1.1-1.5m7 0v-2.3c0-1-.8-1.4-2-1.4V44c2.5 0 4 1 4 3.1v2.1c0 .4.3.8.8.8H98v2h-1.2c-.5 0-.8.4-.8.8v2c0 2.2-1.5 3.2-4 3.2v-1.8c1.2 0 2-.4 2-1.4v-2.3c0-.9.7-1.4 1.1-1.5-.4-.1-1.1-.6-1.1-1.5" fill="@{text}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M124 48h1v-4h-2v1h1zm.8 2H123v-1h3v.9l-1.8 2.1h1.8v1h-3v-.9zm-1.8 5v-1h3v4h-3v-1h2v-.5h-1v-1h1V55zm5-8v-2h9v2zm0 10h9v-2h-9zm9-5h-9v-2h9z" fill="@{text}"/><path d="M146.3 46a1.3 1.3 0 1 1-2.6 0 1.3 1.3 0 0 1 2.6 0m10.7 1h-9v-2h9zm0 10h-9v-2h9zm-9-5h9v-2h-9zm-1.7 4a1.3 1.3 0 1 1-2.6 0 1.3 1.3 0 0 1 2.6 0m-1.3-3.7a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.5z" fill="@{text}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M210 43a8 8 0 0 0-5.6 2.4L202 43v7h7l-3.2-3.2A6 6 0 0 1 210 45a6 6 0 0 1 0 12v2a8 8 0 1 0 0-16" fill="@{text}"/><path d="M296.5 18h-3.1l-5.4-7.6c-.8.5-1.3 1.4-1.4 2.8L286 18h-2.6l.5-4.8c.3-2.3 1.2-3.8 2.8-4.6L283.4 4h3.1l4.5 6.3.9-.8.5-1.2.6-4.3h2.6l-.3 2.9a8.2 8.2 0 0 1-1 3.1c-.3.8-1 1.5-2 2z" fill="@{subtext0}"/><path d="M296.5 38h-3.1l-5.4-7.6c-.8.5-1.3 1.4-1.4 2.8L286 38h-2.6l.5-4.8c.3-2.3 1.2-3.8 2.8-4.6l-3.3-4.6h3.1l4.5 6.3.9-.8.5-1.2.6-4.3h2.6l-.3 2.9a8.2 8.2 0 0 1-1 3.1c-.3.8-1 1.5-2 2z" fill="@{subtext1}"/><path d="M296.5 58h-3.1l-5.4-7.6c-.8.5-1.3 1.4-1.4 2.8L286 58h-2.6l.5-4.8c.3-2.3 1.2-3.8 2.8-4.6l-3.3-4.6h3.1l4.5 6.3.9-.8.5-1.2.6-4.3h2.6l-.3 2.9a8.2 8.2 0 0 1-1 3.1c-.3.8-1 1.5-2 2z" fill="@{text}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M304 3a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm12 2h-12v3h12zm-12 5h3v7h-3zm12 0h-7v7h7z" fill="@{subtext0}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M304 43a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V45a2 2 0 0 0-2-2zm12 2h-12v3h12zm-12 5h3v7h-3zm12 0h-7v7h7z" fill="@{text}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M304 23a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V25a2 2 0 0 0-2-2zm12 2h-12v3h12zm-12 5h3v7h-3zm12 0h-7v7h7z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M327 2h-2v2h-2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4.2l2.4 1.8 2.9-2.9 1 1.1h1.5a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4V2l-4 3zm0 3 4 3V6h4v5h-5V9h-2v6h2v-2h5v3h-.6l-1.9-2-3 3.2-1.7-1.2H323v-3h2v2h2V9h-2v2h-2V6h2v2h2z" fill="@{subtext0}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M327 22h-2v2h-2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4.2l2.4 1.8 2.9-2.9 1 1.1h1.5a2 2 0 0 0 2-2V26a2 2 0 0 0-2-2h-4v-2l-4 3zm0 3 4 3v-2h4v5h-5v-2h-2v6h2v-2h5v3h-.6l-1.9-2-3 3.2-1.7-1.2H323v-3h2v2h2v-6h-2v2h-2v-5h2v2h2z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M327 42h-2v2h-2a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4.2l2.4 1.8 2.9-2.9 1 1.1h1.5a2 2 0 0 0 2-2V46a2 2 0 0 0-2-2h-4v-2l-4 3zm0 3 4 3v-2h4v5h-5v-2h-2v6h2v-2h5v3h-.6l-1.9-2-3 3.2-1.7-1.2H323v-3h2v2h2v-6h-2v2h-2v-5h2v2h2z" fill="@{text}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M341 5c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-1v4l-4-4h-7a2 2 0 0 1-2-2zm3.9 4c0-1.2 1-2.1 2.1-2.1h1V5h-1a4 4 0 1 0 0 8h1v-1.9h-1c-1.2 0-2.1-1-2.1-2.1m6.1-4h-1v1.9h1a2.1 2.1 0 1 1 0 4.2h-1V13h1a4 4 0 1 0 0-8m0 5h-4V8h4z" fill="@{subtext0}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M341 25c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-1v4l-4-4h-7a2 2 0 0 1-2-2zm3.9 4c0-1.2 1-2.1 2.1-2.1h1V25h-1a4 4 0 1 0 0 8h1v-1.9h-1c-1.2 0-2.1-1-2.1-2.1m6.1-4h-1v1.9h1a2.1 2.1 0 1 1 0 4.2h-1V33h1a4 4 0 1 0 0-8m0 5h-4v-2h4z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M341 45c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-1v4l-4-4h-7a2 2 0 0 1-2-2zm3.9 4c0-1.2 1-2.1 2.1-2.1h1V45h-1a4 4 0 1 0 0 8h1v-1.9h-1c-1.2 0-2.1-1-2.1-2.1m6.1-4h-1v1.9h1a2.1 2.1 0 1 1 0 4.2h-1V53h1a4 4 0 1 0 0-8m0 5h-4v-2h4z" fill="@{text}"/></svg>'
);
background-image: url("data:image/svg+xml,@{svg}");
}

[fill="#BCBBBB"] {
fill: @overlay2 !important;
}
[fill="#F48024"] {
fill: @peach !important;
}

.s-sidebarwidget {
background-color: @base;
border-color: @surface0;

.s-sidebarwidget--header {
background-color: @surface0;
border-color: @surface1;
}
}
}
}

#rgbify(@color) {
@rgb-raw: red(@color), green(@color), blue(@color);
}

/* prettier-ignore */
@catppuccin: {
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
}

// vim:ft=less

0 comments on commit 682d92c

Please sign in to comment.