149 lines
3.5 KiB
Plaintext
149 lines
3.5 KiB
Plaintext
/* ==UserStyle==
|
|
@name Home Manager Options Search Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/home-manager-options-search
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/home-manager-options-search
|
|
@version 2026.08.16
|
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/home-manager-options-search/catppuccin.user.less
|
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahome-manager-options-search
|
|
@description Soothing pastel theme for Home Manager Options Search
|
|
@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("home-manager-options.extranix.com") {
|
|
:root {
|
|
@media (prefers-color-scheme: light) {
|
|
#catppuccin(@lightFlavor);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
#catppuccin(@darkFlavor);
|
|
}
|
|
}
|
|
|
|
#catppuccin(@flavor) {
|
|
#lib.palette();
|
|
#lib.defaults();
|
|
|
|
body {
|
|
background-color: @base;
|
|
color: @text;
|
|
}
|
|
|
|
header {
|
|
background-color: @mantle;
|
|
|
|
nav.shortcuts li a {
|
|
color: @text;
|
|
|
|
&:hover {
|
|
background-color: @surface0;
|
|
color: @text;
|
|
}
|
|
}
|
|
}
|
|
|
|
#lastUpdateElement {
|
|
color: @text;
|
|
}
|
|
|
|
a,
|
|
a:visited {
|
|
color: @accent;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
select {
|
|
background-color: @mantle;
|
|
color: @text;
|
|
caret-color: @text;
|
|
border-color: @surface0;
|
|
}
|
|
|
|
.progress-bar-striped {
|
|
background-image: linear-gradient(
|
|
45deg,
|
|
fade(@text, 40%) 25%,
|
|
transparent 25%,
|
|
transparent 50%,
|
|
fade(@text, 40%) 50%,
|
|
fade(@text, 40%) 75%,
|
|
transparent 75%,
|
|
transparent
|
|
);
|
|
background-color: @accent;
|
|
color: @crust;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: @accent;
|
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px @accent;
|
|
}
|
|
|
|
.table-striped > tbody > tr:nth-of-type(2n+1) {
|
|
background-color: @surface0;
|
|
}
|
|
|
|
table#indexedOptionsTable tr td,
|
|
.table > thead > tr > th {
|
|
border-color: @surface2 !important;
|
|
}
|
|
|
|
table tr.optrow:focus-visible,
|
|
table tr.optrow:hover {
|
|
background-color: @surface1 !important;
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: @base;
|
|
|
|
.modal-header,
|
|
.modal-footer {
|
|
border-color: @surface0 !important;
|
|
}
|
|
|
|
.close {
|
|
color: @text;
|
|
text-shadow: 0 1px 0 @text;
|
|
}
|
|
|
|
pre {
|
|
color: @text;
|
|
background-color: @mantle;
|
|
border-color: @surface0;
|
|
}
|
|
}
|
|
|
|
.btn-default {
|
|
background: @surface0;
|
|
color: @text;
|
|
text-shadow: none;
|
|
box-shadow: none;
|
|
border-color: @surface0;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active,
|
|
.focus,
|
|
.active {
|
|
background-color: @surface1;
|
|
color: @text;
|
|
border-color: @surface0;
|
|
}
|
|
}
|
|
|
|
footer {
|
|
background-color: @mantle;
|
|
color: @text;
|
|
border-color: @surface2;
|
|
}
|
|
}
|
|
}
|