allota changes idk

This commit is contained in:
Barna Máté 2024-12-05 07:02:26 +01:00
parent 1929563b9a
commit 5ec09fee31
36 changed files with 2418 additions and 394 deletions

6
.gitignore vendored
View file

@ -1 +1,5 @@
nixos/hardware-configuration.nix
nixos/hardware-configuration.nix
wg.pub
wg.priv
wg-phone.pub
wg-phone.priv

1
.stignore Normal file
View file

@ -0,0 +1 @@
.git

310
aw-category-export.json Normal file
View file

@ -0,0 +1,310 @@
{
"categories": [
{
"name": [
"Productivity"
],
"rule": {
"type": "none"
},
"data": {
"color": "#FCDC00"
},
"id": 0
},
{
"name": [
"Productivity",
"Programming"
],
"rule": {
"type": "regex",
"regex": "GitHub|Copilot|Alacritty|VSCodium|Code|Insomnia"
},
"id": 1,
"data": {
"color": "#68BC00"
}
},
{
"name": [
"Productivity",
"Image"
],
"rule": {
"type": "regex",
"regex": "Gimp|Inkscape"
},
"id": 2
},
{
"name": [
"Productivity",
"Audio"
],
"rule": {
"type": "regex",
"regex": "Audacity"
},
"id": 3
},
{
"name": [
"Productivity",
"3D"
],
"rule": {
"type": "regex",
"regex": "Blender"
},
"id": 4
},
{
"name": [
"Entertaiment",
"Games"
],
"rule": {
"type": "regex",
"regex": "Minecraft|RimWorld|Overwatch|steam_app_2357570|steam|Halo|Unrailed|tf_linux64|Warframe|Counter|Strike"
},
"data": {
"color": "#009CE0"
},
"id": 5
},
{
"name": [
"Entertaiment",
"Video"
],
"rule": {
"type": "regex",
"regex": "YouTube|Plex|VLC|mpv"
},
"data": {
"color": "#F33"
},
"id": 6
},
{
"name": [
"Entertaiment",
"Music"
],
"rule": {
"type": "regex",
"regex": "Spotify|Deezer|feishin",
"ignore_case": true
},
"data": {
"color": "#0062B1"
},
"id": 7
},
{
"name": [
"Comms",
"IM"
],
"rule": {
"type": "regex",
"regex": "Messenger|Telegram|Signal|WhatsApp|Rambox|Slack|Riot|Element|Discord|Nheko|Simplex"
},
"id": 8,
"data": {
"color": "#FA28FF"
}
},
{
"name": [
"Entertaiment"
],
"rule": {
"type": "none"
},
"id": 10,
"data": {
"color": "#73D8FF"
}
},
{
"name": [
"Productivity",
"Writing/reading"
],
"rule": {
"type": "regex",
"regex": "Logseq"
},
"id": 11,
"data": {
"color": "#16A5A5"
}
},
{
"name": [
"Comms",
"VOIP"
],
"rule": {
"type": "regex",
"regex": "Mumble"
},
"id": 12,
"data": {
"color": "#AB149E"
}
},
{
"name": [
"Education"
],
"rule": {
"type": "none"
},
"id": 13,
"data": {
"color": "#FCC400"
}
},
{
"name": [
"Education",
"School"
],
"rule": {
"type": "regex",
"regex": "classroom\\.google\\.com"
},
"id": 14,
"data": {
"color": "#FCC400"
}
},
{
"name": [
"Education",
"Self improvment"
],
"rule": {
"type": "regex",
"regex": "edx"
},
"id": 15,
"data": {
"color": "#FB9E00"
}
},
{
"name": [
"Productivity",
"Programming",
"Rust"
],
"rule": {
"type": "regex",
"regex": "rust|\\.rs"
},
"id": 16,
"data": {
"color": "#DEA584"
}
},
{
"name": [
"Productivity",
"Programming",
"Nix"
],
"rule": {
"type": "regex",
"regex": "nix"
},
"id": 17,
"data": {
"color": "#5E6EFF"
}
},
{
"name": [
"Productivity",
"Programming",
"Java"
],
"rule": {
"type": "regex",
"regex": "java"
},
"id": 18,
"data": {
"color": "#007396"
}
},
{
"name": [
"Productivity",
"Programming",
"Typescript"
],
"rule": {
"type": "regex",
"regex": "ts"
},
"id": 19,
"data": {
"color": "#007ACC"
}
},
{
"name": [
"Comms"
],
"rule": {
"type": "none"
},
"id": 20
},
{
"name": [
"Browsing"
],
"rule": {
"type": "regex",
"regex": "firefox"
},
"id": 21,
"data": {
"color": "#FF7139"
}
},
{
"name": [
"Productivity",
"Programming",
"Ai"
],
"rule": {
"type": "regex",
"regex": "Copilot"
},
"id": 22,
"data": {
"color": "#000000"
}
},
{
"name": [
"Work"
],
"rule": {
"type": "regex",
"regex": "Proton|kdenlive|WordPress|Kdenlive|CapITris|DesktopEditors|Impress|libreoffice-impress"
},
"id": 23,
"data": {
"color": "#16A5A5"
}
}
]
}

View file

@ -7,6 +7,8 @@
mumble # voip
element-desktop # fully featured matrix client
#gomuks # tui matrix client
simplex-chat-desktop
];

View file

@ -2,7 +2,8 @@
environment.systemPackages = with pkgs; [
#krita
gimp
figma-linux
#gimp
#figma-linux
#kdenlive
];
}

View file

@ -1,10 +1,12 @@
{ pkgs, config, ... }: {
environment.systemPackages = with pkgs; [
#cmus
playerctl
jamesdsp
yt-dlp
feishin
#mpv-unwrapped
qpwgraph
];
}

View file

@ -2,6 +2,7 @@
{
environment.systemPackages = with pkgs; [
libreoffice
onlyoffice-bin
];
}

View file

@ -6,6 +6,9 @@
#inputs.romodoro.packages.x86_64-linux.default
taskwarrior-tui
inputs.dttyper.packages.x86_64-linux.default
# For tracking activity across the whole computer
activitywatch
];
}

26
nix/configs/dunst.nix Normal file
View file

@ -0,0 +1,26 @@
{ pkgs, ... }: {
home-manager.users.grape.services.dunst = {
enable = true;
settings = {
global = {
frame_color = "#1e66f5";
separator_color = "frame";
};
urgency_low = {
background = "#191830";
foreground = "#FFFFFF";
};
urgency_normal = {
background = "#191830";
foreground = "#FFFFFF";
};
urgency_critical = {
background = "#191830";
foreground = "#FFFFFF";
frame_color = "#fe640b";
};
};
};
}

View file

@ -13,16 +13,19 @@
userContent = builtins.readFile "/home/grape/dotfiles/nix/opt/firefox/userContent.css"; # browser styles
extensions =
[
pkgs.nur.repos.rycee.firefox-addons.ublock-origin
pkgs.nur.repos.rycee.firefox-addons.clearurls # clear tracking urls
pkgs.nur.repos.rycee.firefox-addons.stylus # cool styling for websites
pkgs.nur.repos.rycee.firefox-addons.localcdn # locally stores frameworks such as vue, tailwind ect..
pkgs.nur.repos.rycee.firefox-addons.libredirect # redirects to libre version of spyware sites
pkgs.nur.repos.rycee.firefox-addons.tridactyl # vim like keybinds
pkgs.nur.repos.rycee.firefox-addons.istilldontcareaboutcookies # dismisses cookie banners
pkgs.nur.repos.rycee.firefox-addons.noscript # block js
pkgs.nur.repos.rycee.firefox-addons.tabliss # sexy new tab
with pkgs; [
nur.repos.rycee.firefox-addons.ublock-origin
nur.repos.rycee.firefox-addons.clearurls # clear tracking urls
nur.repos.rycee.firefox-addons.stylus # cool styling for websites
nur.repos.rycee.firefox-addons.localcdn # locally stores frameworks such as vue, tailwind ect..
nur.repos.rycee.firefox-addons.libredirect # redirects to libre version of spyware sites
nur.repos.rycee.firefox-addons.tridactyl # vim like keybinds
nur.repos.rycee.firefox-addons.istilldontcareaboutcookies # dismisses cookie banners
nur.repos.rycee.firefox-addons.noscript # block js
nur.repos.rycee.firefox-addons.tabliss # sexy new tab
nur.repos.rycee.firefox-addons.aw-watcher-web # activity watcher
nur.repos.rycee.firefox-addons.stylus # styling
nur.repos.rycee.firefox-addons.keepassxc-browser # password manager integration
];
search.force = true;
search.order = [ "Searxng" "DuckDuckGo" ];
@ -64,19 +67,27 @@
{ name = "query"; value = "{searchTerms}"; }
];
}];
"Stylus styles" = {
definedAliases = [ "@st" ];
urls = [{
template = " https://userstyles.world/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}];
};
};
"Nix Wiki" = {
definedAliases = [ "@nw" ];
urls = [{
template = "https://wiki.nixos.org/w/index.php";
params = [
{ name = "search"; value = "{searchTerms}"; }
];
}];
};
"crates" = {
definedAliases = [ "@cr" ];
urls = [{
template = "https://crates.io/search";
params = [
{
name = "q";
value = "{searchTerms}";
}
];
}];
};
};
};

View file

@ -3,9 +3,11 @@
enable = true;
allowedUDPPorts = [
34197 #factorio
4242
];
allowedTCPPorts = [
25565 # mc
4242
];
};
}

View file

@ -13,5 +13,6 @@
# for scripts
pkgs.xdotool
pkgs.jq
pkgs.pulseaudio
];
}

View file

@ -19,10 +19,19 @@ in
command = "picom -b";
}
{
command = "polybar default";
command = "polybar -c ~/.config/polybar/test.ini default";
}
{
command = "polybar bottom";
command = "polybar -c ~/.config/polybar/test.ini bottom";
}
{
command = "aw-server";
}
{
command = "aw-watcher-afk";
}
{
command = "aw-watcher-window";
}
];
# defining alt as modifier
@ -65,7 +74,7 @@ in
# power off
"mod4+Shift+Delete" = "exec shutdown now";
"mod4+Shift+Delete" = "exec shutdown -h now";
# language settings
"mod4+1" = "exec setxkbmap us";
@ -86,6 +95,8 @@ in
# sticky window
"Mod1+Shift+s" = "sticky toggle";
# reset for ultrawide incase any game decides to fuck it up
"mod4+u" = "exec xrandr --output DP-0 --mode 3440x1440 --rate 165";
# Volume adjustment for current player

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: {
services.prometheus.exporters.node = {
enable = true;
enable = false;
port = 9001;
openFirewall = true;
listenAddress = "0.0.0.0";

View file

@ -66,21 +66,22 @@
clangd.enable = true; # C/C++
csharp-ls.enable = true; # C#
yamlls.enable = true; # YAML
lua-ls = {
# Lua
enable = true;
settings.telemetry.enable = false;
};
# Rust
#Rust
rust-analyzer = {
enable = true;
installRustc = false; # disabled so devshells work
installCargo = false; # disabled so devsellsh work
settings.completion.callable.snippets = "add_parentheses";
};
};
};
# Highlight word under cursor
plugins.illuminate = {
@ -102,7 +103,6 @@
};
plugins.cmp = {
enable = true;
settings = {
@ -114,7 +114,6 @@
maxViewEntries = 30;
};
snippet = { expand = "luasnip"; };
formatting = { fields = [ "kind" "abbr" "menu" ]; };
sources = [
{ name = "nvim_lsp"; }
@ -129,10 +128,6 @@
name = "path"; # file system paths
keywordLength = 3;
}
{
name = "luasnip"; # snippets
keywordLength = 3;
}
];
window = {
@ -193,6 +188,7 @@
# inline error display
plugins.trouble = {
enable = true;
settings = { };
};
#plugins.nvimtree.enable = true;
@ -215,10 +211,7 @@
# a completion engine using LSP
# languages
plugins.rustaceanvim.enable = true;
plugins.nix.enable = true;
keymaps = [
@ -232,6 +225,10 @@
}
];
# THEME
colorschemes.cyberdream.enable = true;
colorscheme = "cyberdream";
opts = {
number = true;
relativenumber = true;
@ -240,7 +237,6 @@
# TODO shades of purple colorscheme
#extraPlugins = [ pkgs.vimPlugins.gruvbox ];
#colorscheme = "gruvbox";
# extraPlugins = [
# pkgs.vimUtils.buildVimPlugin
# {

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
ollama
];
services.ollama.enable = true;
#environment.systemPackages = with pkgs; [
# ollama
#];
services.ollama.enable = false;
services.ollama.acceleration = "cuda";
}

View file

@ -31,6 +31,8 @@
"90:class_g *= 'jamesdsp'"
"90:class_g *= 'polybar'"
"80:class_g *= 'codium'"
"80:class_g *= 'code'"
"80:class_g *= 'Code'"
"80:class_g *= 'Rofi'"
"80:class_g *= 'lutris'"
"80:class_g *= 'Mumble'"

View file

@ -1,24 +1,14 @@
{ pkgs, ... }:
let
colors = {
fg = "#FFFFFF";
foreground = "#FFFFFF";
bg = "#191830";
background = "#191830";
border = "#F72585";
warn = "#f00";
altfg = "#F72585";
invisible = "#00400080";
script = "~/.config/scripts";
currentWorkspace = "#FAD000";
seperatorColor = "#FAD000";
};
script = "~/dotifles/scripts";
in
{
imports = [
./polybar/bottom.nix
./polybar/top.nix
];
home-manager.users.grape.services.polybar = {
@ -26,183 +16,9 @@ in
script = "${script}/polybar.sh";
config = {
"module/date" = {
type = "internal/date";
font-1 = "Jetbrains Mono Nerd font";
interval = 1;
time = "%I:%M:%S";
date = "%Y-%m-%d %A";
format = "%{T2}%{F#191830}%{F-}%{T-}<label>%{T2}%{F#191830}%{F-}%{T-}";
label-background = "${colors.bg}";
label = "%time% %date%";
label-foreground = "${colors.fg}";
};
"module/fs-label-system" = {
type = "custom/text";
label = "SYS ";
label-foreground = "${colors.seperatorColor}";
};
"module/fs-label-data" = {
type = "custom/text";
label = "DAT ";
label-foreground = "${ colors. seperatorColor}";
};
"module/s" = {
type = "custom/text";
label = " ";
};
"module/ewmh" = {
type = "internal/xworkspaces";
pin-workspaces = false;
label-active-foreground = "${colors.currentWorkspace}";
label-active-background = "${colors.background}";
label-inactive-background = "${colors.background}";
label-urgent-foreground = colors.warn;
label-empty-background = "${colors.background}";
label-occupied-background = "${colors.background}";
format = "%{T2}%{F#191830}%{F-}%{T-}<label-state>%{T2}%{F#191830}%{F-}%{T-}";
};
"module/cpu-temp" = {
type = "internal/temperature";
base-temperature = 20;
warn-temperature = 85;
label-warn-foreground = "${colors.warn}";
thermal-zone = 0;
zone-type = "x86_pkg_temp";
label-background = "${colors.foreground}";
label-foreground = "${colors.fg}";
hwmon-path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input";
format = "%{T2}%{F#${colors.background}}%{F-}%{T-}%{B${colors.bg}}%{F${colors.seperatorColor}}CPU %{F-}%{B-}<label>%{T2}%{F#191830}%{F-}%{T-}";
format-warn = "%{F${colors.seperatorColor}}CPU%{F-} <label-warn> ";
};
"module/cpu-usage" = {
type = "internal/cpu";
interval = "1.5";
format = "<label>";
label = "CPU %percentage%%";
label-background = "${colors.foreground}";
format-foreground = "${colors.fg}";
};
"module/gpu-temp" = {
type = "custom/script";
interval = "1.5";
exec = "nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits";
format = "%{B${colors.bg}}%{F${colors.seperatorColor}}GPU %{F-}%{B-}<label>°C";
label-background = "${colors.foreground}";
label-foreground = "${colors.foreground}";
};
"module/gpu-usage" = {
type = "custom/script";
interval = "1.5";
label-background = "${colors.background}";
label-foreground = "${colors.foreground}";
exec = "nvidia-smi --query-gpu=memory.used --format=csv,noheader,nounits";
format = "<label> mb";
};
"module/memory" = {
type = "internal/memory";
interval = 1;
label-background = "${colors.background}";
format = "%{T2}%{F#191830}%{F-}%{T-}%{B${colors.bg}}%{F${colors.seperatorColor}}RAM %{F-}%{B-}<label>%{T2}%{F#191830}%{F-}%{T-}";
label = "%used%";
label-warn = "%used%";
warn-percentage = 60;
label-warn-foreground = "${colors.warn}";
};
"module/fs-system" = {
type = "internal/fs";
label-unmounted = "?";
format-prefix-foreground = "${colors.fg}";
warn-precentage = "80%";
mount-0 = "/";
interval = 30;
label-mounted-background = "${colors.background}";
format-mounted = "%{T2}%{F#191830}%{F-}%{T-}%{B${colors.bg}}%{F${colors.seperatorColor}}SYS %{F-}%{B-}<label-mounted>%{T2}%{F#191830}%{F-}%{T-}";
label-mounted = "%free%(%total%)";
# FIXME doesn't work
label-warn = "%{F${colors.warn}} !%free%!%{F-}(%total%)";
};
"module/fs-data" = {
type = "internal/fs";
label-unmounted = "?";
format-prefix-foreground = "${colors.fg}";
warn-precentage = "80%";
label-mounted-background = "${colors.background}";
mount-0 = "/media/terra";
interval = 30;
format-mounted = "%{T2}%{F#191830}%{F-}%{T-}%{B${colors.bg}}%{F${colors.seperatorColor}}DAT %{F-}%{B-}<label-mounted>%{T2}%{F#191830}%{F-}%{T-}";
label-mounted = "%free%(%total%)";
# FIXME doesn't work
label-warn = "%{F${colors.warn}} !%free%!%{F-}(%total%)";
};
"module/battery" = {
type = "internal/battery";
full-at = 95;
low-at = 20;
battery = "BAT0";
adapter = "AC0";
label-background = colors.background;
label-foreground = colors.foreground;
format = "%{T2}%{F#191830}%{F-}%{T-}%{B${colors.bg}}%{F${colors.seperatorColor}}BAT %{F-}%{B-}<label-mounted>%{T2}%{F#191830}%{F-}%{T-}";
poll-interval = 4;
};
"module/keyboard" = {
type = "internal/xkeyboard";
label-layout-background = colors.background;
label-layout-foreground = colors.foreground;
format = "%{T2}%{F#191830}%{F-}%{T-}%{B${colors.background}}<label-layout> <label-indicator>%{B-}%{T2}%{F#191830}%{F-}%{T-}";
};
"global/wm" = {
override-redirect = false;
};
"bar/default" = {
font-0 = "Jetbrains Mono Nerd font:size=11;3";
font-1 = "Jetbrains Mono Nerd font:size=22;5";
bottom = false;
# Dimensions
width = "100%";
height = 34;
radius = 15;
# Padding for modules
padding-left = 2;
padding-right = 2;
# setting colors
#background = "${colors.bg}";
background = "#00191830";
foreground = "${colors.fg}";
# border for bar
border-size = "10px";
border-color = "${colors.invisible}";
# Displayed modules
modules-left = "date s keyboard";
modules-center = "ewmh";
modules-right = "battery-label battery s fs-data s fs-system s memory s start gpu-temp gpu-usage end s cpu-temp cpu-usage";
};
};
};

View file

@ -73,18 +73,19 @@ in
type = "internal/network";
interface = "eno2";
interval = ".5";
format = "%{T2}%{F#191830}%{F-}%{T-}<label>%{T2}%{F#191830}%{F-}%{T-}";
label-background = "#191830";
format-connected = "%{T2}%{F#191830}%{F-}%{T-}<label-connected>%{T2}%{F#191830}%{F-}%{T-}";
format-disconnected = "%{T2}%{F#191830}%{F-}%{T-}%{F${colors.warn}}eno%{F-}%{T2}%{F#191830}%{F-}%{T-}";
format-disconnected = "%{T2}%{F#191830}%{F-}%{T-}<label-disconnected>%{T2}%{F#191830}%{F-}%{T-}";
format-packetloss = "<animation-packetloss> <label-connected>";
label-background = "#191830";
label-connected = "%{F${colors.seperatorColor}}%{F-} %downspeed% %{F${colors.seperatorColor}}%{F-} %upspeed%";
label-disconnected = "%{F${colors.seperatorColor}}%{F-} %downspeed% %{F${colors.seperatorColor}}%{F-} %upspeed%";
label-connected-background = "${colors.bg}";
label-disconnected-background = "${colors.bg}";
};
"module/wireless-network" = {
type = "internal/network";
interface = "wlo1";
@ -110,7 +111,7 @@ in
height = "34";
modules-center = "cava";
modules-left = "audio-capsule a music-capsule";
modules-right = " wireless-network a replay";
modules-right = " wired-network a wireless-network a replay";
padding-left = "5";
padding-right = "5";
radius = "20";

View file

@ -22,10 +22,10 @@ in
type = "internal/date";
font-1 = "Jetbrains Mono Nerd font";
interval = 1;
format = "%{T2}%{F${colors.bg}}%{F-}%{T-}<label>%{T2}%{F${colors.bg}}%{F-}%{T-}";
time = "%I:%M:%S";
date = "%Y-%m-%d%";
label = "%time% %date%";
format = "%{T2}%{F${colors.bg}}%{F-}%{T-}<label>%{T2}%{F${colors.bg}}%{F-}%{T-}";
label-foreground = "${colors.fg}";
label-background = "${colors.fg}";
};
@ -50,27 +50,27 @@ in
};
"module/cpu-temp" = {
type = "internal/temperature";
format = "%{F${colors.seperatorColor}}CPU %{F-}<label>";
format-warn = "%{F${colors.seperatorColor}}CPU %{F-}<label-warn>";
base-temperature = 20;
warn-temperature = 85;
label-warn-foreground = "${colors.warn}";
label-foreground = "${colors.fg}";
label-background = "${colors.bg}";
thermal-zone = 0;
zone-type = "x86_pkg_temp";
base-temperature = "20";
format = "%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}CPU %{F-}<label>%{B-}";
format-warn = "%{T2}%{F#191830}%{F-}%{T-}%{B#191830}%{F#FAD000}CPU %{F-}<label-warn>%{B-}";
hwmon-path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input";
label-background = "#191830";
label-foreground = "#FFFFFF";
label-warn-foreground = "#f00";
label = "%temperature% ";
thermal-zone = 0;
type = "internal/temperature";
warn-temperature = 85;
zone-type = "x86_pkg_temp";
};
"module/cpu-usage" = {
type = "internal/cpu";
interval = "1.5";
format = "<label>";
label-background = colors.bg;
label-foreground = colors.fg;
label = "CPU %percentage%%";
format-foreground = "${colors.fg}";
format = "%{T2}%{F#191830}%{F-}%{T-}%{B${colors.bg}}<label>";
label-foreground = "${colors.fg}";
label-background = "${colors.fg}";
};
"module/gpu-temp" = {
@ -132,7 +132,10 @@ in
"module/keyboard" = {
type = "internal/xkeyboard";
format = "<label-layout> <label-indicator>";
format = "%{T2}%{F#191830}%{F-}%{T-}%{B#191830}<label-layout>%{B-}%{B#191830}%{F#FAD000} <label-indicator>%{T-}%{B-}%{T2}%{F#191830}%{F-}%{T-}";
label-layout-background = "#191830";
label-layout-foreground = "#FFFFFF";
label-indicator-on-capslock = "CAPS";
};
"global/wm" = {
@ -140,34 +143,21 @@ in
};
"bar/default" = {
font-0 = "Jetbrains Mono Nerd font:size=11;3";
font-1 = "Jetbrains Mono Nerd font:size=11;1";
bottom = false;
# dimensons
width = "100%";
height = 40;
radius = 15;
# Padding for modules
padding-left = 5;
padding-right = 5;
# setting colors
background = "${colors.bg}";
foreground = "${colors.fg}";
# border for bar
background = "#00191830";
border-color = "#00400080";
border-size = "10px";
# border-color = ${colors.border}
border-color = "${colors.invisible}";
# Displayed modules
modules-left = "date s keyboard s ewmh";
#modules-center = "cava";
modules-right = "battery-label battery s fs-label-data fs-data s fs-label-system fs-system s memory s gpu-label gpu-usage gpu-temp s cpu-temp cpu-usage";
bottom = "false";
font-0 = "Jetbrains Mono Nerd font:size=11;3";
font-1 = "Jetbrains Mono Nerd font:size=22;5";
foreground = "#FFFFFF";
height = 34;
modules-center = "ewmh";
modules-left = "date s keyboard";
modules-right = " fs-data s fs-system s memory s start gpu-temp gpu-usage end s cpu-temp cpu-usage";
padding-left = 2;
padding-right = 2;
radius = 15;
width = "100%";
};
};

View file

@ -3,43 +3,54 @@
home-manager.users.grape = {
programs.vscode = {
enable = true;
package = pkgs.unstable.vscodium;
package = pkgs.vscodium;
#package = pkgs.vscode;
extensions = with pkgs.vscode-extensions; [
# language suports
rust-lang.rust-analyzer
jnoortheen.nix-ide
redhat.java
redhat.vscode-yaml
ms-azuretools.vscode-docker
octref.vetur
bungcip.better-toml
mikestead.dotenv
pkgs.unstable.vscode-extensions.rust-lang.rust-analyzer
pkgs.vscode-extensions.jnoortheen.nix-ide
pkgs.vscode-extensions.redhat.java
pkgs.vscode-extensions.zxh404.vscode-proto3
pkgs.vscode-extensions.redhat.vscode-yaml
pkgs.vscode-extensions.ms-azuretools.vscode-docker
pkgs.vscode-extensions.octref.vetur
pkgs.vscode-extensions.bungcip.better-toml
pkgs.vscode-extensions.mikestead.dotenv
# linters
esbenp.prettier-vscode
naumovs.color-highlight
pkgs.vscode-extensions.esbenp.prettier-vscode
pkgs.vscode-extensions.naumovs.color-highlight
# essentials, other
streetsidesoftware.code-spell-checker
vscodevim.vim
oderwat.indent-rainbow
usernamehw.errorlens
christian-kohler.path-intellisense
vscjava.vscode-spring-initializr
gruntfuggly.todo-tree
pkgs.vscode-extensions.streetsidesoftware.code-spell-checker
pkgs.vscode-extensions.vscodevim.vim
pkgs.vscode-extensions.oderwat.indent-rainbow
pkgs.vscode-extensions.usernamehw.errorlens
pkgs.vscode-extensions.christian-kohler.path-intellisense
pkgs.vscode-extensions.vscjava.vscode-spring-initializr
pkgs.vscode-extensions.gruntfuggly.todo-tree
pkgs.vscode-extensions.eamodio.gitlens
#themes, icons
vscode-icons-team.vscode-icons
mechatroner.rainbow-csv
pkgs.vscode-extensions.vscode-icons-team.vscode-icons
pkgs.vscode-extensions.mechatroner.rainbow-csv
# local ai
pkgs.vscode-extensions.continue.continue
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "shades-of-purple";
publisher = "ahmadawais";
version = "7.3.2";
sha256 = "10q5w9g7ghn2qvdc7h2b79x1vy8nzpnwz8dbg1h03074ikhvjx4v";
}
{
name = "aw-watcher-vscode";
publisher = "activitywatch";
version = "0.5.0";
sha256 = "0nvw8pp6xaqs6w2zz3dr0vlrrpd6wcgh6jc5bp5ld92p0f34idrs";
}
];
userSettings = {
@ -55,11 +66,56 @@
"[typescriptreact]" = {
"editor.defaultFormatter" = "esbenp.prettier-vscode";
};
# load build.rs from checks
"rust-analyzer.cargo.loadOutDirsFromCheck" = true;
"rust-analyzer.experimental.procAttrMacros" = false;
"rust-analyzer.cargo.buildScripts.enable" = true;
};
languageSnippets = {
nix = {
"Include RustSrc for vscode" = {
body = [
"LIBCLANG_PATH = \"\${pkgs.llvmPackages_17.libclang.lib}/lib\";"
"RUST_SRC_PATH = \"\${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}\";"
];
description = "Include RUST_SRC_PATH and LIBCLANG_PATH for devshells";
prefix = [
"rust-src"
];
scope = "nix";
};
"Crane.dev workspace package into container" =
{
body = [
"$1-container = pkgs.dockerTools.buildLayeredImage"
"{"
" name = \"$1\";"
" tag = \"latest\";"
" contents = with pkgs; ["
" cacert"
" openssl"
" pkg-config"
" libiconv"
" ];"
""
" config = {"
" WorkingDir = \"/app\";"
" Volumes = {"
" \"/app\" = { };"
" };"
" Entrypoint = [ \"\${$1}/bin/$2\" ];"
" };"
"}; "
];
prefix = [
"nix container"
];
scope = "nix";
};
pkginit = {
body = [
"{pkgs, ...}: {"

View file

@ -1,9 +1,10 @@
{ pkgs, ... }: {
virtualisation.waydroid.enable = true;
environment.systemPackages = with pkgs; [
waydroid
weston
];
virtualisation.waydroid.enable = false;
#environment.systemPackages = with pkgs; [
# waydroid
# weston
# cage
#];
}

View file

@ -55,6 +55,7 @@
./configs/picom.nix
./configs/polybar.nix
./configs/btop.nix
./configs/dunst.nix
./configs/ollama.nix
./configs/vscode.nix
@ -78,10 +79,9 @@
# other
./configs/firewall.nix
];
# adding nur
nixpkgs.config.packageOverrides = pkgs: {
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
@ -96,10 +96,17 @@
home.stateVersion = "24.05";
};
nixpkgs.config.permittedInsecurePackages = [
"electron-27.3.11"
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# kernel
#boot.kernelPackages = pkgs.linuxPackages_xanmod; # Gaming
#boot.initrd.luks.devices."luks-f7e86dde-55a5-4306-a7c2-cf2d93c9ee0b".device = "/dev/disk/by-uuid/f7e86dde-55a5-4306-a7c2-cf2d93c9ee0b"; # old dead ssd rip 24.07.28
boot.initrd.luks.devices."luks-da1b2f8c-877a-4c39-8965-a4af625718c".device = "/dev/disk/by-uuid/da1b2f8c-877a-4c39-8965-a4af6a25718c";

View file

@ -25,13 +25,9 @@
filezilla
# screen sharing
#obs-studio
obs-studio
#qpwgraph
# work
#figma-linux
kdenlive
#ffmpeg
#video-trimmer
@ -46,6 +42,7 @@
#gimp
# remote desktop
#rustdesk
losslesscut-bin
];
fonts.packages = with pkgs; [

View file

@ -29,6 +29,7 @@
#dbus
#xdg-utils
#xdg-launch
postman
];
}

View file

@ -1,19 +1,33 @@
{
"nodes": {
"crane": {
"locked": {
"lastModified": 1727060013,
"narHash": "sha256-/fC5YlJy4IoAW9GhkJiwyzk0K/gQd9Qi4rRcoweyG9E=",
"owner": "ipetkov",
"repo": "crane",
"rev": "6b40cc876c929bfe1e3a24bf538ce3b5622646ba",
"type": "github"
},
"original": {
"owner": "ipetkov",
"repo": "crane",
"type": "github"
}
},
"devshell": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1717408969,
"narHash": "sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY=",
"lastModified": 1728330715,
"narHash": "sha256-xRJ2nPOXb//u1jaBnDP56M7v5ldavjbtR6lfGqSvcKg=",
"owner": "numtide",
"repo": "devshell",
"rev": "1ebbe68d57457c8cae98145410b164b5477761f4",
"rev": "dd6b80932022cea34a019e2bb32f6fa9e494dfef",
"type": "github"
},
"original": {
@ -78,11 +92,11 @@
]
},
"locked": {
"lastModified": 1717285511,
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
"lastModified": 1727826117,
"narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
"rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1",
"type": "github"
},
"original": {
@ -93,14 +107,14 @@
},
"flake-utils": {
"inputs": {
"systems": "systems"
"systems": "systems_2"
},
"locked": {
"lastModified": 1701680307,
"narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=",
"lastModified": 1726560853,
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "4022d587cbbfd70fe950c1e2083a02621806a725",
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
"type": "github"
},
"original": {
@ -123,11 +137,11 @@
]
},
"locked": {
"lastModified": 1718879355,
"narHash": "sha256-RTyqP4fBX2MdhNuMP+fnR3lIwbdtXhyj7w7fwtvgspc=",
"lastModified": 1728092656,
"narHash": "sha256-eMeCTJZ5xBeQ0f9Os7K8DThNVSo9gy4umZLDfF5q6OM=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "8cd35b9496d21a6c55164d8547d9d5280162b07a",
"rev": "1211305a5b237771e13fcca0c51e60ad47326a9a",
"type": "github"
},
"original": {
@ -165,11 +179,11 @@
]
},
"locked": {
"lastModified": 1718530513,
"narHash": "sha256-BmO8d0r+BVlwWtMLQEYnwmngqdXIuyFzMwvmTcLMee8=",
"lastModified": 1726989464,
"narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "a1fddf0967c33754271761d91a3d921772b30d0e",
"rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
"type": "github"
},
"original": {
@ -187,11 +201,11 @@
]
},
"locked": {
"lastModified": 1718530513,
"narHash": "sha256-BmO8d0r+BVlwWtMLQEYnwmngqdXIuyFzMwvmTcLMee8=",
"lastModified": 1726989464,
"narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "a1fddf0967c33754271761d91a3d921772b30d0e",
"rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
"type": "github"
},
"original": {
@ -209,11 +223,11 @@
]
},
"locked": {
"lastModified": 1719128254,
"narHash": "sha256-I7jMpq0CAOZA/i70+HDQO/ulLttyQu/K70cSESiMX7A=",
"lastModified": 1727999297,
"narHash": "sha256-LTJuQPCsSItZ/8TieFeP30iY+uaLoD0mT0tAj1gLeyQ=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "50581970f37f06a4719001735828519925ef8310",
"rev": "8c8388ade72e58efdeae71b4cbb79e872c23a56b",
"type": "github"
},
"original": {
@ -239,11 +253,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1719075281,
"narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=",
"lastModified": 1728888510,
"narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a71e967ef3694799d0c418c98332f7ff4cc5f6af",
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"type": "github"
},
"original": {
@ -254,11 +268,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1719145550,
"narHash": "sha256-K0i/coxxTEl30tgt4oALaylQfxqbotTSNb1/+g+mKMQ=",
"lastModified": 1728909085,
"narHash": "sha256-WLxED18lodtQiayIPDE5zwAfkPJSjHJ35UhZ8h3cJUg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e4509b3a560c87a8d4cb6f9992b8915abf9e36d8",
"rev": "c0b1da36f7c34a7146501f684e9ebdf15d2bebf8",
"type": "github"
},
"original": {
@ -270,17 +284,18 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1716137900,
"narHash": "sha256-sowPU+tLQv8GlqtVtsXioTKeaQvlMz/pefcdwg8MvfM=",
"lastModified": 1727089097,
"narHash": "sha256-ZMHMThPsthhUREwDebXw7GX45bJnBCVbfnH1g5iuSPc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6c0b7a92c30122196a761b440ac0d46d3d9954f1",
"rev": "568bfef547c14ca438c56a0bece08b8bb2b71a9c",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-unstable",
"type": "indirect"
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": {
@ -297,11 +312,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1719131261,
"narHash": "sha256-rtcRg/aaZ72Fb7NCFz87ATvmS7LyHKbkY9gwJRqhJK8=",
"lastModified": 1728336862,
"narHash": "sha256-0rG55ZD1zvLLJ+WgiYdJBZGm1fkgRUlwpfx7aNUT5m4=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "066485bf4c4cd83f01a75d46556ba2037e716604",
"rev": "b041963c607d766c4b102b8b56244ad38731f549",
"type": "github"
},
"original": {
@ -319,11 +334,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1719253019,
"narHash": "sha256-PWW+AXeiRAEozwFnGe1oFwJDbPqacSNbw1HjOT+TlKM=",
"lastModified": 1728174521,
"narHash": "sha256-cp0gCyB8AifT8lPg+Zl/Y0tLTKe5+0Eu84BwtYQiyX0=",
"owner": "icewind1991",
"repo": "nvidia-patch-nixos",
"rev": "b75e8c26b7e46a7c1eaf3df416b9393db06779d5",
"rev": "0c0184603c56c852541e0a2cc00dd65a15e46dda",
"type": "github"
},
"original": {
@ -334,11 +349,13 @@
},
"romodoro": {
"inputs": {
"crane": "crane",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1718011692,
"narHash": "sha256-QfTKtCPNmrxiXzcAQDnfB8Rh+w+jWpvYK/y8Grq7fdw=",
"lastModified": 1727639000,
"narHash": "sha256-Puon/etBQTL9Y7UXeCMhgQnWfB3caCmt6GwQYqdMnBY=",
"path": "/home/grape/code/romodoro",
"type": "path"
},
@ -396,11 +413,11 @@
]
},
"locked": {
"lastModified": 1718522839,
"narHash": "sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls=",
"lastModified": 1727984844,
"narHash": "sha256-xpRqITAoD8rHlXQafYZOLvUXCF6cnZkPfoq67ThN0Hc=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "68eb1dc333ce82d0ab0c0357363ea17c31ea1f81",
"rev": "4446c7a6fc0775df028c5a3f6727945ba8400e64",
"type": "github"
},
"original": {
@ -411,7 +428,7 @@
},
"utils": {
"inputs": {
"systems": "systems_2"
"systems": "systems"
},
"locked": {
"lastModified": 1710146030,

View file

@ -8,23 +8,19 @@
(lutris.override {
extraPkgs = pkgs: [
pkgs.winePackages.base
pkgs.wget
pkgs.mesa
];
})
pysolfc
# for sober roblox
#flatpak
#lan-mouse
#qemu
#quickemu
mangohud
];
# for lol
#virtualisation.libvirtd.enable = true;
#users.extraUsers.grape.extraGroups = [ "libvirtd" ];
#boot.extraModprobeConfig = ''
# options kvm_intel nested=1
# options kvm_intel emulate_invalid_guest_state=0
# options kvm ignore_msrs=1
#'';
# enabling java for mc
programs.java = { enable = true; package = pkgs.jdk17; };
@ -34,17 +30,19 @@
# 2. library_folder_add "/path/to/drive"
programs.steam.enable = true;
# programs.firejail = {
# wrappedBinaries = {
# steam = {
# executable = "${pkgs.steam}/bin/steam";
# profile = "${pkgs.firejail}/etc/firejail/steam.profile";
# desktop = "${pkgs.steam}/share/applications/steam.desktop";
# extraArgs = [
# "--env=GTK_THEME=Adwaita:dark"
# ];
# };
# };
# };
programs.gamemode.enable = true;
programs.gamemode.settings = {
general = {
renice = 10;
desiredgov = "performance";
};
# gpu = {
# apply_gpu_optimisations = "accept-responsibility";
# gpu_device = 0;
# };
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GAYMING'";
end = "${pkgs.libnotify}/bin/notify-send 'GAYMING OVER'";
};
};
}

View file

@ -14,8 +14,10 @@ in
driSupport32Bit = true;
};
hardware.nvidia = { };
# TODO fix hybrid optimus shit mode... add "intel" for inner display to work
services.xserver.videoDrivers = [ "nvidia" ];
services.xserver.videoDrivers = [ "nvidia" "intel" ];
nixpkgs.config.cudaSupport = true;
@ -33,7 +35,6 @@ in
open = false;
nvidiaSettings = true;
package = pkgs.nvidia-patch.patch-nvenc (pkgs.nvidia-patch.patch-fbc package);
#package = config.boot.kernelPackages.nvidiaPackages.stable;
};
}

View file

@ -20,6 +20,7 @@
dv = "docker volume";
code = "codium";
#nix
garbage = "nix-collect-garbage -d";
dev = "nix develop --command zsh";

View file

@ -2,7 +2,6 @@
# Enable sound with pipewire.
environment.systemPackages = with pkgs; [
pulseaudio
pavucontrol
];
@ -15,5 +14,4 @@
alsa.support32Bit = false;
pulse.enable = true;
};
}

View file

@ -14,7 +14,7 @@ PLAYER="Feishin"
# Format of the information displayed
# Eg. {{ artist }} - {{ album }} - {{ title }}
# See more attributes here: https://github.com/altdesktop/playerctl/#printing-properties-and-metadata
FORMAT="{{ duration(position) }} {{ title }} - {{ artist }}"
FORMAT="{{ volume * 100 }}% {{ duration(position) }} {{ title }} - {{ artist }}"
# Sends $2 as message to all polybar PIDs that are part of $1
update_hooks() {

123
userstyles/feishin.css Normal file
View file

@ -0,0 +1,123 @@
:root {
--root-font-size:13px;
--icon-color:#fad000;
--primary-color:#fad000;
--secondary-color:#131327;
--success-color:green;
--warning-color:orange;
--danger-color:#cc3232;
--generic-border-color:#3232324d;
--main-bg:#191830;
--main-bg-transparent:18,18,18;
--main-fg:#e1e1e1;
--main-fg-secondary:#b1adad;
--window-bar-bg:#191830;
--window-bar-fg:#fff;
--titlebar-fg:#fff;
--titlebar-bg:#191830;
--titlebar-controls-bg:#0000;
--sidebar-bg:#131327;
--sidebar-bg-hover:#323232;
--sidebar-fg:#e6e6e6;
--sidebar-fg-hover:#fff;
--sidebar-handle-bg:#4d4d4d;
--sidebar-border:2px #121212b3 solid;
--playerbar-bg:#131327;
--playerbar-bg-active:#0b0b0b;
--playerbar-btn-main-fg:#000;
--playerbar-btn-main-fg-hover:#000;
--playerbar-btn-main-bg:#e6e6e6;
--playerbar-btn-main-bg-hover:#fff;
--playerbar-btn-fg:#c8c8c8cc;
--playerbar-btn-fg-hover:#fff;
--playerbar-btn-bg:#c5c5c5;
--playerbar-btn-bg-hover:#0000;
--playerbar-border-top:1px #3232324d solid;
--playerbar-slider-track-bg:#3c3f43;
--playerbar-slider-track-progress-bg:#fad000;
--tooltip-bg:#fff;
--tooltip-fg:#000;
--scrollbar-size:12px;
--scrollbar-track-bg:#0000;
--scrollbar-thumb-bg:#a0a0a04d;
--scrollbar-thumb-bg-hover:#a0a0a099;
--btn-filled-bg:var(--primary-color);
--btn-filled-bg-hover: #f5f5f5;
--btn-filled-fg:#fad000;
--btn-filled-fg-hover:#fff;
--btn-filled-border:none;
--btn-filled-radius:4px;
--btn-default-bg:#fad000;
--btn-default-bg-hover:#3f3f3f;
--btn-default-fg:#131327;
--btn-default-fg-hover:#131327;
--btn-default-border:none;
--btn-default-radius:2px;
--btn-subtle-bg:#0000;
--btn-subtle-bg-hover:#0000;
--btn-subtle-fg:#dcdcdc;
--btn-subtle-fg-hover:#fff;
--btn-subtle-border:none;
--btn-subtle-radius:4px;
--btn-outline-bg:#0000;
--btn-outline-bg-hover:#0000;
--btn-outline-fg:#dcdcdc;
--btn-outline-fg-hover:#fff;
--btn-outline-border:1px #8c8c8c80 solid;
--btn-outline-border-hover:1px #ffffff80 solid;
--btn-outline-radius:5rem;
--input-bg:#191830;
--input-fg:#FAD000;
--input-placeholder-fg:#6b6c6d;
--input-active-fg:#c1c1c1;
--input-active-bg:#ffffff1a;
--dropdown-menu-bg:#15152b;
--dropdown-menu-fg:#ebebeb;
--dropdown-menu-item-padding:0.8rem;
--dropdown-menu-item-font-size:1rem;
--dropdown-menu-bg-hover:#1E1E3F80;
--dropdown-menu-border:1px var(--generic-border-color) solid;
--dropdown-menu-border-radius:4px;
--switch-track-bg:#323232;
--switch-track-enabled-bg:var(--primary-color);
--switch-thumb-bg:#fff;
--slider-track-bg:#ede9e9;
--slider-thumb-bg:#fff;
--skeleton-bg:#ffffff14;
--toast-title-fg:#fff;
--toast-description-fg:#c1c2c5;
--toast-bg:#101010;
--modal-bg:var(--main-bg);
--modal-header-bg:var(--paper-bg);
--badge-bg:#505050;
--badge-fg:#fff;
--badge-radius:12px;
--paper-bg:#191830;
--placeholder-bg: #191830;
--placeholder-fg:#7e7e7e;
--card-default-bg:#f8f5f5;
--card-default-bg-hover:#2c2c2c;
--card-default-radius:5px;
--card-poster-bg:#0000;
--card-poster-bg-hover:#0000;
--card-poster-radius:3px;
--background-noise:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjc1IiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGZpbHRlcj0idXJsKCNhKSIgb3BhY2l0eT0iLjA1IiBkPSJNMCAwaDMwMHYzMDBIMHoiLz48L3N2Zz4=);
--current-song-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIxMDAgMTMwIDU3IDgwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIHN0eWxlPSJmaWxsOiNkOGQ4ZDg7c3Ryb2tlOiMwMDA7dHJhbnNmb3JtLW9yaWdpbjoxMDZweCAxNDBweCIgZD0iTTEwMCAxMzBoMTJ2MjBoLTEyeiIvPjxwYXRoIHN0eWxlPSJmaWxsOiNkOGQ4ZDg7c3Ryb2tlOiMwMDA7dHJhbnNmb3JtLW9yaWdpbjoxMjFweCAxNjBweCIgZD0iTTExNSAxMzBoMTJ2NjBoLTEyeiIvPjxwYXRoIHN0eWxlPSJmaWxsOiNkOGQ4ZDg7c3Ryb2tlOiMwMDA7dHJhbnNmb3JtLW9yaWdpbjoxMzZweCAxNzBweCIgZD0iTTEzMCAxMzBoMTJ2ODBoLTEyeiIvPjxwYXRoIHN0eWxlPSJmaWxsOiNkOGQ4ZDg7c3Ryb2tlOiMwMDA7dHJhbnNmb3JtLW9yaWdpbjoxNTFweCAxNTIuNXB4IiBkPSJNMTQ1IDEzMGgxMnY0NWgtMTJ6Ii8+PC9zdmc+);
--current-song-image-animated:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIxMDAgMTMwIDU3IDgwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIHN0eWxlPSJmaWxsOiNkOGQ4ZDg7c3Ryb2tlOiMwMDA7dHJhbnNmb3JtLW9yaWdpbjoxMDZweCAxNzBweCIgZD0iTTEwMCAxMzBoMTJ2ODBoLTEyeiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iaGVpZ2h0IiB2YWx1ZXM9IjgwOzE1OzgwIiBiZWdpbj0iMC4xcyIgZHVyPSIwLjk1cyIga2V5VGltZXM9IjA7IDAuNDczNjg7IDEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBjYWxjTW9kZT0ic3BsaW5lIiBrZXlTcGxpbmVzPSIwLjQyIDAgMC41OCAxOyAwLjQyIDAgMC41OCAxIi8+PC9wYXRoPjxwYXRoIHN0eWxlPSJmaWxsOiNkOGQ4ZDg7c3Ryb2tlOiMwMDA7dHJhbnNmb3JtLW9yaWdpbjoxMjFweCAxNzBweCIgZD0iTTExNSAxMzBoMTJ2ODBoLTEyeiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iaGVpZ2h0IiB2YWx1ZXM9IjI1OzgwOzI1IiBiZWdpbj0iMC4xcyIgZHVyPSIwLjk1cyIga2V5VGltZXM9IjA7IDAuNDQ0NDQ7IDEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBjYWxjTW9kZT0ic3BsaW5lIiBrZXlTcGxpbmVzPSIwLjQ1IDAgMC41NSAxOyAwLjQ1IDAgMC41NSAxIi8+PC9wYXRoPjxwYXRoIHN0eWxlPSJmaWxsOiNkOGQ4ZDg7c3Ryb2tlOiMwMDA7dHJhbnNmb3JtLW9yaWdpbjoxMzZweCAxNzBweCIgZD0iTTEzMCAxMzBoMTJ2ODBoLTEyeiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iaGVpZ2h0IiB2YWx1ZXM9IjgwOzEwOzgwIiBiZWdpbj0iMC4xcyIgZHVyPSIwLjg1cyIga2V5VGltZXM9IjA7IDAuNDIxMDU7IDEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBjYWxjTW9kZT0ic3BsaW5lIiBrZXlTcGxpbmVzPSIwLjY1IDAgMC4zNSAxOyAwLjY1IDAgMC4zNSAxIi8+PC9wYXRoPjxwYXRoIHN0eWxlPSJmaWxsOiNkOGQ4ZDg7c3Ryb2tlOiMwMDA7dHJhbnNmb3JtLW9yaWdpbjoxNTFweCAxNzBweCIgZD0iTTE0NSAxMzBoMTJ2ODBoLTEyeiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iaGVpZ2h0IiB2YWx1ZXM9IjMwOzgwOzMwIiBiZWdpbj0iMC4xcyIgZHVyPSIxLjA1cyIga2V5VGltZXM9IjA7IDAuMzE1Nzk7IDEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBjYWxjTW9kZT0ic3BsaW5lIiBrZXlTcGxpbmVzPSIwLjQyIDAgMC41OCAxOyAwLjQyIDAgMC41OCAxIi8+PC9wYXRoPjwvc3ZnPg==);
--bg-header-overlay:linear-gradient(#0000 0%,#1901830 100%),var(--background-noise);
--bg-subheader-overlay:linear-gradient(180deg,#0000000d 0%,var(--main-bg) 100%),var(--background-noise);
--table-header-bg:#181818;
--table-header-fg:#b3b3b3;
--table-border:none;
--table-border-color:#ffffff1a;
--table-bg:var(--main-bg);
--table-alt-bg:var(--main-bg);
--table-fg:#b3b3b3;
--table-row-hover-bg:#64646433;
--table-row-selected-bg:#64646466;
--fullscreen-player-text-shadow:#000 0px 0px 10px
}
.ag-header {
background-color: var(--window-bar-bg)
}

574
userstyles/forgejo.css Normal file
View file

@ -0,0 +1,574 @@
/* ==UserStyle==
@name Forgejoe Shades of purple
@version 20241105.06.16
@namespace forgejo.css.expo.moe
@description Stylesheet for Forgejo Sites (like Codeberg) that bring them into the modern era with shades of purple color scheme
@author Expo, 4o1x5.dev
@license MIT
==/UserStyle== */
@-moz-document domain("git.4o1x5.dev") {
:root {
--border-radius: 12px;
--corner-radius: var(--border-radius);
--steel-1000: #1a1a35;
--steel-900: #15152a;
--steel-850: #131327;
--steel-800: #222145;
--steel-750: #2a2a4a;
--steel-700: #333366;
--steel-650: #3d3d80;
--steel-600: #474799;
--steel-550: #5151b3;
--steel-500: #5b5bcc;
--steel-450: #6666e6;
--steel-400: #7070ff;
--steel-350: #7a7aff;
--steel-300: #8484ff;
--steel-250: #8e8eff;
--steel-200: #9999ff;
--steel-150: #a3a3ff;
--steel-100: #adadff;
--is-dark-theme: true;
--color-primary: #6943ff;
--color-primary-contrast: #000;
--color-primary-dark-1: #5f3ae6;
--color-primary-dark-2: #5533cc;
--color-primary-dark-3: #4b2bb3;
--color-primary-dark-4: #412299;
--color-primary-dark-5: #371a80;
--color-primary-dark-6: #2d1166;
--color-primary-dark-7: #23094d;
--color-primary-light-1: #7a5aff;
--color-primary-light-2: #8e70ff;
--color-primary-light-3: #a385ff;
--color-primary-light-4: #b79bff;
--color-primary-light-5: #ccb0ff;
--color-primary-light-6: #e0c6ff;
--color-primary-light-7: #f5dbff;
--color-primary-alpha-10: #6943ff19;
--color-primary-alpha-20: #6943ff33;
--color-primary-alpha-30: #6943ff4b;
--color-primary-alpha-40: #6943ff66;
--color-primary-alpha-50: #6943ff80;
--color-primary-alpha-60: #6943ff99;
--color-primary-alpha-70: #6943ffb3;
--color-primary-alpha-80: #6943ffcc;
--color-primary-alpha-90: #6943ffe1;
--color-primary-hover: var(--color-primary-light-1);
--color-primary-active: var(--color-primary-light-2);
--color-secondary: var(--steel-850);
--color-secondary-dark-1: var(--steel-550);
--color-secondary-dark-2: var(--steel-500);
--color-secondary-dark-3: var(--steel-450);
--color-secondary-dark-4: var(--steel-400);
--color-secondary-dark-5: var(--steel-350);
--color-secondary-dark-6: var(--steel-300);
--color-secondary-dark-7: var(--steel-250);
--color-secondary-dark-8: var(--steel-200);
--color-secondary-dark-9: var(--steel-150);
--color-secondary-dark-10: var(--steel-100);
--color-secondary-dark-11: var(--steel-100);
--color-secondary-dark-12: var(--steel-100);
--color-secondary-dark-13: var(--steel-100);
--color-secondary-light-1: var(--steel-650);
--color-secondary-light-2: var(--steel-700);
--color-secondary-light-3: var(--steel-750);
--color-secondary-light-4: var(--steel-800);
--color-secondary-alpha-10: #2b364219;
--color-secondary-alpha-20: #2b364233;
--color-secondary-alpha-30: #2b36424b;
--color-secondary-alpha-40: #2b364266;
--color-secondary-alpha-50: #2b364280;
--color-secondary-alpha-60: #2b364299;
--color-secondary-alpha-70: #2b3642b3;
--color-secondary-alpha-80: #2b3642cc;
--color-secondary-alpha-90: #2b3642e1;
--color-secondary-hover: var(--color-secondary-light-1);
--color-secondary-active: var(--color-secondary-light-2);
/* console colors - used for actions console and console files */
--color-console-fg: #FFF;
--color-console-fg-subtle: #959cab;
--color-console-bg: #1f212b;
--color-console-border: #383c47;
--color-console-hover-bg: #ffffff16;
--color-console-active-bg: #454a57;
--color-console-menu-bg: #383c47;
--color-console-menu-border: #5c6374;
/* colors */
--color-red: #b91c1c;
--color-orange: #ea580c;
--color-yellow: #ca8a04;
--color-olive: #91a313;
--color-green: #15803d;
--color-teal: #0d9488;
--color-blue: #2563eb;
--color-violet: #7c3aed;
--color-purple: #9333ea;
--color-pink: #db2777;
--color-brown: #a47252;
--color-grey: var(--steel-500);
--color-black: #111827;
/* light variants */
--color-red-light: #dc2626;
--color-orange-light: #f97316;
--color-yellow-light: #eab308;
--color-olive-light: #839311;
--color-green-light: #16a34a;
--color-teal-light: #14b8a6;
--color-blue-light: #3b82f6;
--color-violet-light: #8b5cf6;
--color-purple-light: #a855f7;
--color-pink-light: #ec4899;
--color-brown-light: #94674a;
--color-grey-light: var(--steel-300);
--color-black-light: #1f2937;
/* dark 1 variants produced via Sass scale-color(color, $lightness: -10%) */
--color-red-dark-1: #a71919;
--color-orange-dark-1: #d34f0b;
--color-yellow-dark-1: #b67c04;
--color-olive-dark-1: #839311;
--color-green-dark-1: #137337;
--color-teal-dark-1: #0c857a;
--color-blue-dark-1: #1554e0;
--color-violet-dark-1: #6a1feb;
--color-purple-dark-1: #8519e7;
--color-pink-dark-1: #c7216b;
--color-brown-dark-1: #94674a;
--color-black-dark-1: #0f1623;
/* dark 2 variants produced via Sass scale-color(color, $lightness: -20%) */
--color-red-dark-2: #941616;
--color-orange-dark-2: #bb460a;
--color-yellow-dark-2: #ca8a04;
--color-olive-dark-2: #91a313;
--color-green-dark-2: #15803d;
--color-teal-dark-2: #0a766d;
--color-blue-dark-2: #2563eb;
--color-violet-dark-2: #5c14d8;
--color-purple-dark-2: #7c3aed;
--color-pink-dark-2: #b11d5f;
--color-brown-dark-2: #a47252;
--color-black-dark-2: #111827;
/* other colors */
--color-gold: #b1983b;
--color-white: #ffffff;
--color-diff-removed-word-bg: #783030;
--color-diff-added-word-bg: #255c39;
--color-diff-removed-row-bg: #432121;
--color-diff-moved-row-bg: #825718;
--color-diff-added-row-bg: #1b3625;
--color-diff-removed-row-border: #783030;
--color-diff-moved-row-border: #a67a1d;
--color-diff-added-row-border: #255c39;
--color-diff-inactive: var(--steel-650);
--color-error-border: #783030;
--color-error-bg: #5f2525;
--color-error-bg-active: #783030;
--color-error-bg-hover: #783030;
--color-error-text: #fef2f2;
--color-success-border: #1f6e3c;
--color-success-bg: #1d462c;
--color-success-text: #f0fdf4;
--color-warning-border: #a67a1d;
--color-warning-bg: #644821;
--color-warning-text: #fefce8;
--color-info-border: #2e50b0;
--color-info-bg: #2a396b;
--color-info-text: var(--steel-100);
--color-red-badge: #b91c1c;
--color-red-badge-bg: #b91c1c22;
--color-red-badge-hover-bg: #b91c1c44;
--color-green-badge: #16a34a;
--color-green-badge-bg: #16a34a22;
--color-green-badge-hover-bg: #16a34a44;
--color-yellow-badge: #ca8a04;
--color-yellow-badge-bg: #ca8a0422;
--color-yellow-badge-hover-bg: #ca8a0444;
--color-orange-badge: #ea580c;
--color-orange-badge-bg: #ea580c22;
--color-orange-badge-hover-bg: #ea580c44;
--color-git: #f05133;
/* target-based colors */
--color-body: var(--steel-900);
--color-box-header: var(--steel-700);
--color-box-body: var(--steel-750);
--color-box-body-highlight: var(--steel-650);
--color-text-dark: #fff;
--color-text: var(--steel-100);
--color-text-light: var(--steel-150);
--color-text-light-1: var(--steel-150);
--color-text-light-2: var(--steel-200);
--color-text-light-3: var(--steel-200);
--color-footer: var(--steel-1000);
--color-timeline: var(--steel-650);
--color-input-text: var(--steel-100);
--color-input-background: var(--steel-650);
--color-input-toggle-background: var(--steel-650);
--color-input-border: var(--steel-550);
--color-input-border-hover: var(--steel-450);
--color-header-wrapper: #0000;
--color-header-wrapper-transparent: #242d3800;
--color-light: #00000028;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
--color-light-border: #ffffff28;
--color-hover: var(--steel-600);
--color-active: var(--steel-650);
--color-menu: var(--steel-800);
--color-card: var(--steel-800);
--color-markup-table-row: #ffffff06;
--color-markup-code-block: var(--steel-800);
--color-button: var(--steel-600);
--color-code-bg: var(--steel-750);
--color-code-sidebar-bg: var(--steel-600);
--color-shadow: #00000060;
--color-secondary-bg: var(--steel-700);
--color-text-focus: #fff;
--color-expand-button: #3c404d;
--color-placeholder-text: var(--steel-450);
--color-editor-line-highlight: var(--steel-700);
--color-project-board-bg: var(--color-secondary-light-3);
--color-project-board-dark-label: var(--color-text-light-3);
--color-caret: var(--color-text);
/* should ideally be --color-text-dark, see #15651 */
--color-reaction-bg: #ffffff12;
--color-reaction-active-bg: var(--color-primary-alpha-30);
--color-tooltip-text: #ffffff;
--color-tooltip-bg: #000000f0;
--color-nav-bg: var(--steel-800);
--color-nav-hover-bg: var(--steel-600);
--color-label-text: #fff;
--color-label-bg: #393939;
--color-label-hover-bg: #5f5f5f;
--color-label-active-bg: #4c4c4c;
--color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5);
--color-active-line: var(--color-primary-alpha-20);
--color-overlay-backdrop: #080808c0;
--standard-spacing: 2rem;
accent-color: var(--color-accent);
color-scheme: dark;
}
#navbar {
border-bottom: none;
margin-bottom: var(--standard-spacing) !important;
}
.dashboard-navbar {
padding-left: 0 !important;
padding-right: 0 !important;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: var(--standard-spacing) !important;
}
.dashboard-navbar > .ui {
width: 1280px;
max-width: calc(100% - 64px);
background: var(--steel-800) !important;
padding: 1rem;
border-radius: var(--corner-radius) !important;
}
.dashboard-navbar + .divider {
opacity: 0;
}
#user-heatmap + .divider {
opacity: 0;
padding-top: var(--standard-spacing);
}
.flex-list {
display: flex;
flex-direction: column;
gap: calc(var(--standard-spacing) / 2);
}
.flex-list > .flex-item {
padding: calc(var(--standard-spacing) / 2) !important;
background: #ffffff08;
border-radius: var(--corner-radius);
transition: background 0.3s;
}
.flex-list > .flex-item:hover {
background: #ffffff11;
}
.flex-list > .flex-item + .flex-item {
border-top-color: #1a1a1a00;
}
.ui.menu {
border-radius: var(--corner-radius);
border: #0000 none 0px;
}
.ui.menu:not(.secondary) > .item:first-child {
border-radius: var(--corner-radius) 0 0 var(--corner-radius) !important;
}
.ui.menu:not(.secondary) > .item:last-child {
border-radius: 0 var(--corner-radius) var(--corner-radius) 0 !important;
}
.ui.pagination.menu .item:last-child, .ui.compact.menu .item:last-child {
border-radius: 0 var(--corner-radius) var(--corner-radius) 0;
}
input:hover, textarea:hover, .ui.input input:hover, .ui.form input:not([type]):hover, .ui.form select:hover, .ui.form textarea:hover, .ui.form input[type="date"]:hover, .ui.form input[type="datetime-local"]:hover, .ui.form input[type="email"]:hover, .ui.form input[type="file"]:hover, .ui.form input[type="number"]:hover, .ui.form input[type="password"]:hover, .ui.form input[type="search"]:hover, .ui.form input[type="tel"]:hover, .ui.form input[type="text"]:hover, .ui.form input[type="time"]:hover, .ui.form input[type="url"]:hover, .ui.selection.dropdown:hover, .ui.checkbox label:hover::before, .ui.checkbox label:active::before, .ui.radio.checkbox label::after, .ui.radio.checkbox input:focus ~ label::before, .ui.radio.checkbox input:checked ~ label::before,
.ui.form input:not([type]), .ui.form input[type="date"], .ui.form input[type="datetime-local"], .ui.form input[type="email"], .ui.form input[type="number"], .ui.form input[type="password"], .ui.form input[type="search"], .ui.form input[type="tel"], .ui.form input[type="time"], .ui.form input[type="text"], .ui.form input[type="file"], .ui.form input[type="url"],
.ui.input > input,
.ui.input textarea, .ui.form textarea,
.ui.selection.dropdown {
border-color: #0000 !important;
background: #ffffff08;
transition: background 0.3s;
border-radius: var(--corner-radius);
}
input:focus, textarea:focus, .ui.input input:focus, .ui.form input:not([type]):focus, .ui.form select:focus, .ui.form textarea:focus, .ui.form input[type="date"]:focus, .ui.form input[type="datetime-local"]:focus, .ui.form input[type="email"]:focus, .ui.form input[type="file"]:focus, .ui.form input[type="number"]:focus, .ui.form input[type="password"]:focus, .ui.form input[type="search"]:focus, .ui.form input[type="tel"]:focus, .ui.form input[type="text"]:focus, .ui.form input[type="time"]:focus, .ui.form input[type="url"]:focus, .ui.selection.dropdown:focus, .ui.checkbox input:focus ~ label::before, .ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label::before, .ui.checkbox input:checked:focus ~ label::before, .ui.radio.checkbox input:focus:checked ~ label::before,
.ui.input textarea:focus, .ui.form textarea:focus {
background: #fff1;
border-radius: var(--corner-radius);
}
.ui.button,
.user.profile .ui.card .extra.content > ul > li:not(:last-child),
.ui.cards > .card > .extra, .ui.card > .extra {
border: #0000 none 0px !important;
}
.ui.cards > .card > .extra, .ui.card > .extra {
margin-top: 1rem;
}
.ui.action.input > .dropdown:last-child, .ui.action.input > .button:last-child, .ui.action.input > .buttons:last-child > .button {
border-radius: 0 var(--corner-radius) var(--corner-radius) 0;
}
.ui.secondary.menu .item,
.ui.secondary.menu .active.item {
border-radius: var(--corner-radius);
}
.ui.secondary.pointing.menu .item {
border-radius: 0;
}
.ui.secondary.menu {
gap: calc(var(--standard-spacing) / 2);
}
.ui.cards > .card, .ui.card {
border: #0000 none 0px;
border-radius: var(--corner-radius);
padding: calc(var(--standard-spacing) / 3)
}
.repo-list-link {
padding: 12px;
border-color: #0000 !important;
background: #ffffff04;
transition: background 0.3s;
border-radius: var(--corner-radius);
}
.repo-list-link:hover,
.repo-list-link:focus {
background: #ffffff08;
text-decoration: none;
}
.repo-owner-name-list > li:not(:last-child) {
border-bottom: none !important;
}
.repo-owner-name-list > li:not(:first-child) {
padding-top: calc(var(--standard-spacing) / 3) !important;
}
.repo-owner-name-list > li:first-child {
padding-top: calc(var(--standard-spacing) / 2) !important;
}
.ui.segment, .ui.segments, .ui.attached.segment {
border-color: #0000;
}
.ui.top.attached.header {
border-radius: var(--corner-radius) var(--corner-radius) 0 0;
border: 0px none #0000;
}
.ui.top.attached.header:not(:has(.ui.bottom.attached)) + .ui.attached.segment:last-child,
[aria-label="Repository"] .ui.top.attached.header + .ui.attached.segment,
.ui.bottom.attached.ui.bottom.attached {
border-radius: 0 0 var(--corner-radius) var(--corner-radius);
border: 0px none #0000;
}
.ui.button.ui.button,
.ui.basic.buttons.ui.basic.buttons .button.button, .ui.basic.button.ui.basic.button{
border-radius: var(--corner-radius);
}
.ui.labeled.button:not([class*="left labeled"]) > .button {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
.ui.basic.label {
border: #0000 none 0px;
border-radius: var(--corner-radius);
}
.header-wrapper,
#repo-topics {
margin-bottom: calc(var(--standard-spacing) / 1.5);
}
#issue-list {
margin-top: calc(var(--standard-spacing) / 2);
}
.ui.secondary.vertical.menu.gt-bg-transparent {
background: #0000;
border-radius: 0;
}
.ui.secondary.vertical.menu.gt-bg-transparent > a {
border-radius: var(--corner-radius) !important;
transition: background 0.3s;
}
.ui.dropdown .menu {
border-radius: var(--corner-radius) !important;
margin-top: 0.4rem;
}
.ui.selection.dropdown .menu {
border-radius: 0 0 var(--corner-radius) var(--corner-radius) !important;
border: none #0000 0px;
}
.ui.selection.dropdown .menu > .item {
border: none #0000 0px;
}
.ui.tabular.menu {
border: 0px none #0000 !important;
}
.ui.tabs.container + .ui.tabs.divider {
opacity: 0;
}
.ui.tabular.menu {
gap: 12px;
}
.ui.tabular.menu .item {
border: 0px none #0000;
background: #ffffff0a;
transition: 0.3s;
}
.ui.tabular.menu .item:hover {
background: #ffffff0d;
}
.ui.tabular.menu .active.item, .ui.tabular.menu .active.item:hover {
border: 0px none #0000;
background: #fff1;
}
.ui.tabular.menu .item.item.item.item.item.item.item.item.item.item {
border-radius: var(--corner-radius) !important;
}
.ui.vertical.menu .header.item {
background: #0000;
}
.ui.menu .dropdown.item:last-child:hover, .ui.menu a.item:last-child:hover, .ui.menu details.item:last-child summary:hover {
border-radius: 0 0 var(--corner-radius) var(--corner-radius) !important;
}
.ui.menu .dropdown.item:first-child:hover, .ui.menu a.item:first-child:hover, .ui.menu details.item:first-child summary:hover {
border-radius: var(--corner-radius) var(--corner-radius) 0 0 !important;
}
.ui.segments:not(.horizontal) > .segment:first-child {
border-radius: var(--corner-radius) var(--corner-radius) 0 0 !important;
}
.ui.table > thead > tr:first-child > th:first-child {
border-radius: var(--corner-radius) 0 0 !important;
}
.ui.table > thead > tr:first-child > th:last-child {
border-radius: 0 var(--corner-radius) 0 0 !important;
}
.repository.file.list #repo-files-table tr:hover {
background: #0000;
}
.ui.segments,
.ui.table {
border-radius: var(--corner-radius);
}
.ui.table {
border: 0px none #0000;
}
#clipboard-btn {
border-radius: 0;
}
#navbar .ui.secondary.menu.ui.secondary.menu.ui.secondary.menu .item {
border-radius: var(--corner-radius) !important;
}
#repo-clone-ssh {
border-radius: 0;
}
/* invert emojis that are hard to read otherwise */
.emoji[aria-label="check mark"],
.emoji[aria-label="currency exchange"],
.emoji[aria-label="TOP arrow"],
.emoji[aria-label="END arrow"],
.emoji[aria-label="ON! arrow"],
.emoji[aria-label="SOON arrow"],
.emoji[aria-label="heavy dollar sign"],
.emoji[aria-label="copyright"],
.emoji[aria-label="registered"],
.emoji[aria-label="trade mark"],
.emoji[aria-label="multiply"],
.emoji[aria-label="plus"],
.emoji[aria-label="minus"],
.emoji[aria-label="divide"],
.emoji[aria-label="curly loop"],
.emoji[aria-label="double curly loop"],
.emoji[aria-label="wavy dash"],
.emoji[aria-label="paw prints"],
.emoji[aria-label="musical note"],
.emoji[aria-label="musical notes"] {
filter: invert(100%) hue-rotate(180deg);
}
.text.green.svg {
color: var(--color-green-light) !important;
}
i.grey.icon.icon.icon.icon {
color: var(--steel-350) !important;
}
.ui.secondary.vertical.menu {
border-radius: var(--border-radius) !important;
overflow: hidden;
}
.ui.secondary.vertical.menu > .item {
border-radius: 0 !important;
}
.ui.basic.primary.button.item {
background-color: var(--color-active) !important;
color: var(--color-text) !important;
box-shadow: none !important;
}
.ui.red.label.notification_count,
.ui.primary.label,
.ui.primary.labels .label {
background-color: var(--color-primary-light-3) !important;
}
.repository.view.issue .comment-list .code-comment + .code-comment {
margin: 1.25rem 0 !important;
padding-top: 1.25rem !important;
border-top-color: var(--steel-650) !important;
}
.ui.labeled.icon.buttons > .button > .icon,
.ui.labeled.icon.button > .icon {
background-color: var(--color-light) !important;
}
#review-box .review-comments-counter {
background-color: var(--color-shadow) !important;
color: var(--color-white) !important;
margin-left: 0.5em;
}
.ui.basic.labels .primary.label,
.ui.ui.ui.basic.primary.label {
color: var(--color-text-dark) !important;
}
.ui.basic.yellow.label.pending-label {
background: var(--color-light) !important;
}
::selection {
background: var(--steel-100) !important;
color: var(--color-white) !important;
}
}

852
userstyles/github.css Normal file
View file

@ -0,0 +1,852 @@
/* ==UserStyle==
@name GitHub Catppuccin
@namespace github.com/catppuccin/userstyles/styles/github
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/github
@version 1.7.6
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agithub
@description Soothing pastel theme for GitHub
@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 regexp("https:\/\/(gist\.)*github\.com(?!((\/.+?\/.+?\/commit\/[A-Fa-f0-9]+\.(patch|diff)$)|\/home$|\/features($|\/.*)|\/marketplace($|\?.*|\/.*)|\/organizations\/plan)).*$") {
[data-color-mode="auto"] {
@media (prefers-color-scheme: light) {
&[data-light-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
}
&[data-light-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
&[data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
}
&[data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
}
}
}
[data-color-mode="light"][data-light-theme="dark"],
[data-color-mode="dark"][data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
}
[data-color-mode="light"][data-light-theme="light"],
[data-color-mode="dark"][data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
}
html:not([data-light-theme="light"], [data-light-theme="dark"])
body:not(.logged-out)::after,
html:not([data-dark-theme="dark"], [data-dark-theme="light"])
body:not(.logged-out)::after {
position: fixed;
top: 0;
left: 0;
padding: 1rem;
margin: 1rem;
border-radius: 0.5rem;
max-width: 40ch;
background-color: var(--color-danger-fg);
color: var(--color-header-bg);
content: "Unsupported GitHub theme detected! Please switch to the default light/dark theme via the GitHub Appearance settings to get the best experience for the Catppuccin GitHub userstyle.";
z-index: 9999;
}
#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];
color-scheme: if(@lookup = latte, light, dark);
::selection {
background-color: fade(@accent-color, 30%);
}
input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
}
.cm-placeholder {
color: @subtext0;
}
accent-color: @accent-color;
color: @text;
--color-social-reaction-bg-reacted-hover: fade(@accent-color, 30%);
--color-notifications-button-hover-bg: fade(@accent-color, 60%);
--color-workflow-card-header-shadow: rgba(27, 31, 35, 0.04);
--color-icon-directory: var(--fgColor-muted, var(--color-fg-muted));
--color-calendar-halloween-graph-day-L1-bg: fadeout(
@accent-color,
60%
) !important;
--color-calendar-halloween-graph-day-L2-bg: fadeout(
@accent-color,
40%
) !important;
--color-calendar-halloween-graph-day-L3-bg: fadeout(
@accent-color,
20%
) !important;
--color-calendar-halloween-graph-day-L4-bg: @accent-color !important;
--color-calendar-winter-graph-day-L1-bg: fadeout(
@accent-color,
60%
) !important;
--color-calendar-winter-graph-day-L2-bg: fadeout(
@accent-color,
40%
) !important;
--color-calendar-winter-graph-day-L3-bg: fadeout(
@accent-color,
20%
) !important;
--color-calendar-winter-graph-day-L4-bg: @accent-color !important;
--color-calendar-graph-day-bg: @surface0 !important;
--color-calendar-graph-day-border: transparent !important;
--color-calendar-graph-day-L1-bg: fadeout(@accent-color, 60%) !important;
--color-calendar-graph-day-L2-bg: fadeout(@accent-color, 40%) !important;
--color-calendar-graph-day-L3-bg: fadeout(@accent-color, 20%) !important;
--color-calendar-graph-day-L4-bg: @accent-color !important;
--color-calendar-graph-day-L2-border: transparent !important;
--color-calendar-graph-day-L3-border: transparent !important;
--color-calendar-graph-day-L4-border: transparent !important;
--color-user-mention-fg: @accent-color;
--color-user-mention-bg: fade(@accent-color, 30%);
--color-dashboard-feed-bg: var(--color-scale-gray-9);
--color-mktg-btn-shadow-outline: rgba(255, 255, 255, 0.25) 0 0 0 1px inset;
--color-marketing-icon-secondary: var(--color-scale-blue-5);
--color-project-header-bg: var(--color-scale-gray-9);
--color-project-sidebar-bg: var(--color-scale-gray-8);
--color-project-gradient-in: var(--color-scale-gray-8);
--color-project-gradient-out: rgba(22, 27, 34, 0);
--color-diff-blob-selected-line-highlight-mix-blend-mode: screen;
--topicTag-borderColor: #0000;
--highlight-neutral-bgColor: fade(@yellow, 30%);
--page-header-bgColor: @crust;
--diffBlob-addition-fgColor-text: @text;
--diffBlob-addition-fgColor-num: @text;
--diffBlob-addition-bgColor-num: fadeout(@green, 70%);
--diffBlob-addition-bgColor-line: fadeout(@green, 85%);
--diffBlob-addition-bgColor-word: fadeout(@green, 70%);
--diffBlob-deletion-fgColor-text: @text;
--diffBlob-deletion-fgColor-num: @text;
--diffBlob-deletion-bgColor-num: fadeout(@red, 70%);
--diffBlob-deletion-bgColor-line: fadeout(@red, 85%);
--diffBlob-deletion-bgColor-word: fadeout(@red, 70%);
--diffBlob-hunk-bgColor-num: fadeout(@accent-color, 60%);
--diffBlob-expander-iconColor: #848d97;
--codeMirror-fgColor: @text;
--codeMirror-bgColor: @base;
--codeMirror-gutters-bgColor: @base;
--codeMirror-gutterMarker-fgColor-default: @base;
--codeMirror-gutterMarker-fgColor-muted: @overlay0;
--codeMirror-lineNumber-fgColor: @overlay1;
--codeMirror-cursor-fgColor: @text;
--codeMirror-selection-bgColor: #388bfd66;
--codeMirror-activeline-bgColor: #6e768166;
--codeMirror-matchingBracket-fgColor: @text;
--codeMirror-lines-bgColor: @base;
--codeMirror-syntax-fgColor-comment: @overlay2;
--codeMirror-syntax-fgColor-constant: @blue;
--codeMirror-syntax-fgColor-entity: @blue;
--codeMirror-syntax-fgColor-keyword: @mauve;
--codeMirror-syntax-fgColor-storage: @peach;
--codeMirror-syntax-fgColor-string: @green;
--codeMirror-syntax-fgColor-support: #79c0ff;
--codeMirror-syntax-fgColor-variable: @peach;
--header-fgColor-default: @text;
--header-fgColor-logo: @text;
--header-bgColor: @crust;
--header-borderColor-divider: #8b949e;
--headerSearch-bgColor: @mantle;
--headerSearch-borderColor: @surface0;
--avatar-bgColor: fade(@text, 26%);
--avatar-borderColor: @surface0;
--avatar-shadow: 0px 0px 0px 2px #0d1117;
--avatarStack-fade-bgColor-default: @surface1;
--avatarStack-fade-bgColor-muted: #21262d;
--control-bgColor-rest: @red;
--control-bgColor-hover: #292e36;
--control-bgColor-active: @surface1;
--control-bgColor-disabled: fade(@mantle, 60%);
--control-bgColor-selected: #161b22;
--control-fgColor-rest: @text;
--control-fgColor-placeholder: #484f58;
--control-fgColor-disabled: fade(@subtext0, 70%);
--control-borderColor-rest: @surface1;
--control-borderColor-emphasis: #666e79;
--control-borderColor-disabled: fade(@surface1, 75%);
--control-borderColor-selected: #f0f6fc;
--control-borderColor-success: @green;
--control-borderColor-danger: @red;
--control-borderColor-warning: @yellow;
--control-iconColor-rest: #848d97;
--control-transparent-bgColor-rest: #0000;
--control-transparent-bgColor-hover: fade(@surface2, 20%);
--control-transparent-bgColor-active: fade(@overlay0, 50%);
--control-transparent-bgColor-disabled: #21262db3;
--control-transparent-bgColor-selected: #b1bac414;
--control-transparent-borderColor-rest: #0000;
--control-transparent-borderColor-hover: #0000;
--control-transparent-borderColor-active: #0000;
--control-danger-fgColor-rest: @red;
--control-danger-fgColor-hover: @crust;
--control-danger-bgColor-hover: fade(@red, 80%);
--control-danger-bgColor-active: @red;
--control-checked-bgColor-rest: @accent-color;
--control-checked-bgColor-hover: lighten(@accent-color, 5%);
--control-checked-bgColor-active: lighten(@accent-color, 5%);
--control-checked-bgColor-disabled: #6e7681;
--control-checked-fgColor-rest: @crust;
--control-checked-fgColor-disabled: #010409;
--control-checked-borderColor-rest: @accent-color;
--control-checked-borderColor-hover: @accent-color;
--control-checked-borderColor-active: @accent-color;
--control-checked-borderColor-disabled: @surface0;
--controlTrack-bgColor-rest: @surface0;
--controlTrack-bgColor-hover: @surface1;
--controlTrack-bgColor-active: @surface2;
--controlTrack-bgColor-disabled: #6e7681;
--controlTrack-fgColor-rest: #848d97;
--controlTrack-fgColor-disabled: @text;
--controlTrack-borderColor-rest: #0000;
--controlTrack-borderColor-disabled: #6e7681;
--controlKnob-bgColor-rest: @base;
--controlKnob-bgColor-disabled: #21262db3;
--controlKnob-bgColor-checked: @text;
--controlKnob-borderColor-rest: @surface2;
--controlKnob-borderColor-disabled: #21262db3;
--controlKnob-borderColor-checked: @blue;
--button-default-fgColor-rest: @text;
--button-default-bgColor-rest: @surface0;
--button-default-bgColor-hover: @surface1;
--button-default-bgColor-active: @surface2;
--button-default-bgColor-selected: @surface2;
--button-default-bgColor-disabled: fade(@surface0, 70%);
--button-default-borderColor-rest: @surface1;
--button-default-borderColor-hover: @surface1;
--button-default-borderColor-active: @surface1;
--button-default-borderColor-disabled: fade(@surface0, 70%);
--button-default-shadow-resting: 0px 0px 0px 0px #000;
--button-primary-fgColor-rest: @base;
--button-primary-fgColor-disabled: fade(@base, 60%);
--button-primary-iconColor-rest: @base;
--button-primary-bgColor-rest: @green;
--button-primary-bgColor-hover: lighten(@green, 5%);
--button-primary-bgColor-active: saturate(@green, 5%);
--button-primary-bgColor-disabled: fade(@green, 70%);
--button-primary-borderColor-rest: @green;
--button-primary-borderColor-hover: @green;
--button-primary-borderColor-active: @green;
--button-primary-borderColor-disabled: fade(@green, 70%);
--button-primary-shadow-selected: 0px 0px 0px 0px #000;
--button-invisible-fgColor-rest: @text;
--button-invisible-fgColor-hover: lighten(@accent-color, 10%);
--button-invisible-fgColor-disabled: #6e7681;
--button-invisible-iconColor-rest: @overlay2;
--button-invisible-iconColor-hover: #e6edf3;
--button-invisible-iconColor-disabled: #6e7681;
--button-invisible-bgColor-rest: #0000;
--button-invisible-bgColor-hover: #b1bac41f;
--button-invisible-bgColor-active: #b1bac433;
--button-invisible-bgColor-disabled: fade(@surface1, 70%);
--button-invisible-borderColor-rest: #0000;
--button-invisible-borderColor-hover: #0000;
--button-invisible-borderColor-disabled: fade(@surface1, 70%);
--button-outline-fgColor-rest: #388bfd;
--button-outline-fgColor-hover: #58a6ff;
--button-outline-fgColor-active: @text;
--button-outline-fgColor-disabled: #4493f880;
--button-outline-bgColor-rest: #f0f6fc;
--button-outline-bgColor-hover: @surface1;
--button-outline-bgColor-active: #0d419d;
--button-outline-bgColor-disabled: #0d1117;
--button-outline-borderColor-hover: #f0f6fc1a;
--button-outline-borderColor-selected: #f0f6fc1a;
--button-outline-shadow-selected: 0px 0px 0px 0px #000;
--button-danger-fgColor-rest: @red;
--button-danger-fgColor-hover: @base;
--button-danger-fgColor-active: @base;
--button-danger-fgColor-disabled: fade(@red, 50%);
--button-danger-iconColor-rest: @red;
--button-danger-iconColor-hover: @crust;
--button-danger-bgColor-rest: @surface0;
--button-danger-bgColor-hover: @red;
--button-danger-bgColor-active: darken(@red, 5%);
--button-danger-bgColor-disabled: @base;
--button-danger-borderColor-rest: @surface1;
--button-danger-borderColor-hover: @red;
--button-danger-borderColor-active: darken(@red, 5%);
--button-danger-shadow-selected: 0px 0px 0px 0px #000;
--button-inactive-fgColor: #8b949e;
--button-inactive-bgColor: #21262d;
--button-star-iconColor: @yellow;
--buttonCounter-default-bgColor-rest: @surface1;
--buttonCounter-invisible-bgColor-rest: @surface1;
--buttonCounter-primary-bgColor-rest: #04260f33;
--buttonCounter-outline-bgColor-rest: #051d4d33;
--buttonCounter-outline-bgColor-hover: #051d4d33;
--buttonCounter-outline-bgColor-disabled: #1f6feb0d;
--buttonCounter-outline-fgColor-rest: #388bfd;
--buttonCounter-outline-fgColor-hover: #58a6ff;
--buttonCounter-outline-fgColor-disabled: #4493f880;
--buttonCounter-danger-bgColor-hover: fade(@text, 20%);
--buttonCounter-danger-bgColor-disabled: #da36330d;
--buttonCounter-danger-bgColor-rest: #49020233;
--buttonCounter-danger-fgColor-rest: @red;
--buttonCounter-danger-fgColor-hover: @text;
--buttonCounter-danger-fgColor-disabled: fade(@red, 50%);
--focus-outlineColor: @accent-color;
--menu-bgColor-active: @mantle;
--overlay-bgColor: @base;
--overlay-borderColor: @surface0;
--overlay-backdrop-bgColor: #161b2266;
--selectMenu-borderColor: #484f58;
--selectMenu-bgColor-active: #0c2d6b;
--sideNav-bgColor-selected: #21262d;
--skeletonLoader-bgColor: #161b22;
--timelineBadge-bgColor: @mantle;
--treeViewItem-leadingVisual-iconColor-rest: #848d97;
--underlineNav-borderColor-active: @accent-color;
--underlineNav-borderColor-hover: #6e768166;
--underlineNav-iconColor-rest: #848d97;
--selection-bgColor: fade(@accent-color, 30%);
--reactionButton-selected-bgColor-rest: fade(@accent-color, 20%);
--reactionButton-selected-bgColor-hover: fade(@accent-color, 35%);
--reactionButton-selected-fgColor-rest: @accent-color;
--reactionButton-selected-fgColor-hover: @accent-color;
--fgColor-default: @text;
--fgColor-muted: @subtext1;
--fgColor-onEmphasis: @base;
--fgColor-white: if(@lookup = latte, @crust, @text);
--fgColor-disabled: @surface2;
--fgColor-link: @accent-color;
--fgColor-neutral: #6e7681;
--fgColor-accent: @accent-color;
--fgColor-success: @green;
--fgColor-attention: @yellow;
--fgColor-severe: @peach;
--fgColor-danger: @red;
--fgColor-open: @green;
--fgColor-closed: @red;
--fgColor-done: @mauve;
--fgColor-sponsors: @pink;
--bgColor-default: @base;
--bgColor-muted: @mantle;
--bgColor-inset: @crust;
--bgColor-emphasis: @overlay2;
--bgColor-inverse: @text;
--bgColor-disabled: #21262db3;
--bgColor-transparent: #0000;
--bgColor-neutral-muted: fade(@surface0, 40%);
--bgColor-neutral-emphasis: @subtext0;
--bgColor-accent-muted: fade(@accent-color, 20%);
--bgColor-accent-emphasis: @accent-color;
--bgColor-success-muted: #2ea04326;
--bgColor-success-emphasis: @green;
--bgColor-attention-muted: fade(@yellow, 15%);
--bgColor-attention-emphasis: @yellow;
--bgColor-severe-muted: fade(@peach, 26%);
--bgColor-severe-emphasis: @peach;
--bgColor-danger-muted: fade(@red, 26%);
--bgColor-danger-emphasis: @red;
--bgColor-open-muted: #2ea0431a;
--bgColor-open-emphasis: @green;
--bgColor-closed-muted: fade(@red, 15%);
--bgColor-closed-emphasis: @red;
--bgColor-done-muted: #a371f726;
--bgColor-done-emphasis: @mauve;
--bgColor-sponsors-muted: #db61a21a;
--bgColor-sponsors-emphasis: @pink;
--borderColor-default: @surface1;
--borderColor-muted: @surface0;
--borderColor-emphasis: #484f58;
--borderColor-disabled: #21262db3;
--borderColor-transparent: #0000;
--borderColor-neutral-muted: #6e768166;
--borderColor-neutral-emphasis: #6e7681;
--borderColor-accent-muted: fade(@accent-color, 50%);
--borderColor-accent-emphasis: @accent-color;
--borderColor-success-muted: darken(@green, 5%);
--borderColor-success-emphasis: @green;
--borderColor-attention-muted: fade(@flamingo, 30%);
--borderColor-attention-emphasis: @flamingo;
--borderColor-severe-muted: @peach;
--borderColor-severe-emphasis: #bd561d;
--borderColor-danger-muted: @red;
--borderColor-danger-emphasis: @red;
--borderColor-open-muted: darken(@green, 5%);
--borderColor-open-emphasis: @green;
--borderColor-closed-muted: @red;
--borderColor-closed-emphasis: @red;
--borderColor-done-muted: @lavender;
--borderColor-done-emphasis: @mauve;
--borderColor-sponsors-muted: #db61a266;
--borderColor-sponsors-emphasis: @pink;
& when (@lookup =latte) {
--color-ansi-black: @subtext1;
--color-ansi-black-bright: @subtext0;
--color-ansi-gray: @subtext0;
--color-ansi-white: @surface2;
--color-ansi-white-bright: @surface1;
}
& when not (@lookup =latte) {
--color-ansi-black: @surface1;
--color-ansi-black-bright: @surface2;
--color-ansi-gray: @surface2;
--color-ansi-white: @subtext1;
--color-ansi-white-bright: @subtext0;
}
--color-ansi-red: @red;
--color-ansi-red-bright: @red;
--color-ansi-green: @green;
--color-ansi-green-bright: @green;
--color-ansi-yellow: @yellow;
--color-ansi-yellow-bright: @yellow;
--color-ansi-blue: @blue;
--color-ansi-blue-bright: @blue;
--color-ansi-magenta: @pink;
--color-ansi-magenta-bright: @pink;
--color-ansi-cyan: @teal;
--color-ansi-cyan-bright: @teal;
--color-prettylights-syntax-comment: @overlay2;
--color-prettylights-syntax-constant: @blue;
--color-prettylights-syntax-constant-other-reference-link: @blue;
--color-prettylights-syntax-entity: @blue;
--color-prettylights-syntax-storage-modifier-import: @peach;
--color-prettylights-syntax-entity-tag: @blue;
--color-prettylights-syntax-keyword: @mauve;
--color-prettylights-syntax-string: @green;
--color-prettylights-syntax-variable: @peach;
--color-prettylights-syntax-invalid-illegal-text: @red;
--color-prettylights-syntax-invalid-illegal-bg: fadeout(@red, 85%);
--color-prettylights-syntax-markup-heading: @red;
--color-prettylights-syntax-markup-italic: @yellow;
--color-prettylights-syntax-markup-bold: @yellow;
--color-prettylights-syntax-markup-deleted-text: @text;
--color-prettylights-syntax-markup-deleted-bg: fadeout(@red, 60%);
--color-prettylights-syntax-markup-inserted-text: @text;
--color-prettylights-syntax-markup-inserted-bg: fadeout(@green, 60%);
--color-prettylights-syntax-markup-changed-text: @text;
--color-prettylights-syntax-markup-changed-bg: fadeout(@yellow, 60%);
--color-prettylights-syntax-markup-ignored-text: @text;
--bgColor-white: @base;
--color-scale-white: @base;
--color-scale-gray-3: @overlay2;
--color-scale-gray-5: @overlay0;
--color-scale-gray-6: @surface1;
--color-scale-gray-7: @surface1;
--color-scale-blue-2: @sky;
--color-scale-blue-5: @blue;
--color-scale-green-3: @green;
--color-scale-green-4: @green;
--color-scale-yellow-3: @peach;
--color-scale-orange-4: @peach;
--color-scale-red-4: @red;
--shadow-inset: inset 0px 1px 0px 0px @crust;
--shadow-resting-xsmall: 0px 1px 0px 0px @crust;
--shadow-resting-small: 0px 1px 0px 0px @crust, 0px 1px 3px 0px @crust;
--shadow-resting-medium: 0px 3px 6px 0px @crust;
--shadow-floating-small: 0px 0px 0px 1px @base, 0px 6px 12px -3px @crust,
0px 6px 18px 0px @crust;
--shadow-floating-medium: 0px 0px 0px 1px @surface0,
0px 8px 16px -4px @crust, 0px 4px 32px -4px @crust,
0px 24px 48px -12px @crust, 0px 48px 96px -24px @crust;
--shadow-floating-large: 0px 0px 0px 1px @surface0,
0px 24px 48px 0px #010409;
--shadow-floating-xlarge: 0px 0px 0px 1px @surface0,
0px 32px 64px 0px #010409;
--shadow-floating-legacy: 0px 6px 12px -3px @crust, 0px 6px 18px 0px @crust;
--outline-focus: @blue solid 2px;
/* Enhanced Repo Insights Views - https://github.com/orgs/community/discussions/135572 */
--data-blue-color-emphasis: @accent-color;
--data-red-color-emphasis: @red;
--data-green-color-emphasis: @green;
--tooltip-fgColor: @text;
--tooltip-bgColor: @crust;
/* Refined GitHub */
--rgh-heat-color: @peach;
.turbo-progress-bar {
background-color: @accent-color;
}
.form-select {
@svg: escape(
'<svg width="16" height="16" viewBox="0 0 16 16" fill="@{subtext0}" xmlns="http://www.w3.org/2000/svg"><path d="m4.427 9.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 9H4.604a.25.25 0 0 0-.177.427M4.423 6.47 7.82 3.072a.25.25 0 0 1 .354 0L11.57 6.47a.25.25 0 0 1-.177.427H4.6a.25.25 0 0 1-.177-.427"/></svg>'
);
background-image: url("data:image/svg+xml,@{svg}");
}
img[src="https://github.githubassets.com/assets/mona-loading-default-c3c7aad1282f.gif"]
{
content: url("https://giscus.catppuccin.com/assets/loading_48x48.gif");
}
/* Header when logged out */
.HeaderMenu-link {
color: @text;
&:hover {
color: @text;
}
}
.header-search-button {
.placeholder {
color: @subtext0;
}
svg {
fill: @text !important;
}
}
.HeaderMenu-toggle-bar {
background-color: @text;
}
.notification-indicator .mail-status {
background-image: linear-gradient(
@accent-color,
darken(@accent-color, 5%)
);
}
.CheckStep {
.ansifg-r {
color: var(--color-ansi-red);
}
.ansifg-y {
color: var(--color-ansi-yellow);
}
.ansifg-g {
color: var(--color-ansi-green);
}
.ansifg-b {
color: var(--color-ansi-blue);
}
.ansifg-c {
color: var(--color-ansi-cyan);
}
.ansifg-m {
color: var(--color-ansi-magenta);
}
.ansifg-gr {
color: var(--color-ansi-gray);
}
}
.js-activity-overview-graph .js-highlight-blob {
fill: @accent-color;
stroke: @accent-color;
}
.subnav-link.selected {
border-bottom-color: @accent-color;
}
}
}
@-moz-document url-prefix("https://viewscreen.githubusercontent.com/markdown/mermaid")
{
[data-color-mode="auto"] {
@media (prefers-color-scheme: light) {
&[data-light-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
}
&[data-light-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
&[data-dark-theme="light"] {
#catppuccin(@lightFlavor, @accentColor);
}
&[data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
}
}
}
[data-color-mode="light"][data-light-theme="dark"],
[data-color-mode="dark"][data-dark-theme="dark"] {
#catppuccin(@darkFlavor, @accentColor);
}
[data-color-mode="light"][data-light-theme="light"],
[data-color-mode="dark"][data-dark-theme="light"] {
#catppuccin(@lightFlavor, @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];
::selection {
background-color: fade(@accent-color, 30%);
}
background-color: @base;
--color-btn-text: @text;
--color-btn-bg: @surface0;
--color-btn-border: @surface1;
--color-btn-hover-bg: @surface1;
--color-btn-hover-border: @surface2;
--color-btn-active-bg: @surface2;
--color-btn-selected-bg: @surface2;
--color-btn-counter-bg: @surface2;
--color-btn-outline-text: @accent-color;
--color-fg-muted: @subtext1;
#diagram {
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
fill: fade(@accent-color, 10%);
stroke: @accent-color;
}
.label text,
span,
p {
fill: @text;
color: @text;
}
.flowchart-link,
.marker {
stroke: @subtext0;
fill: @subtext0;
}
.edgeLabel {
background-color: @crust;
}
}
.octicon {
fill: var(--color-fg-muted) !important;
}
}
}
@-moz-document regexp("https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*") {
:root {
#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];
color-scheme: if(@lookup = latte, light, dark);
::selection {
background-color: fade(@accent-color, 30%);
}
input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
}
--jp-border-color0: var(--color-scale-gray-7);
--jp-border-color1: var(--color-scale-gray-7);
--jp-border-color2: var(--color-scale-gray-8);
--jp-border-color3: var(--color-scale-gray-9);
--jp-ui-font-color0: @text;
--jp-ui-font-color1: fadeout(@text, 13%);
--jp-ui-font-color2: fadeout(@text, 46%);
--jp-ui-font-color3: fadeout(@text, 72%);
--jp-ui-inverse-font-color0: @crust;
--jp-ui-inverse-font-color1: fadeout(@crust, 20%);
--jp-ui-inverse-font-color2: fadeout(@crust, 50%);
--jp-ui-inverse-font-color3: fadeout(@crust, 70%);
--jp-content-font-color0: @text;
--jp-content-font-color1: @text;
--jp-content-font-color2: fadeout(@text, 30%);
--jp-content-font-color3: fadeout(@text, 50%);
--jp-content-link-color: @sapphire;
--jp-layout-color0: @base !important;
--jp-layout-color1: var(--color-scale-gray-9);
--jp-layout-color2: var(--color-scale-gray-8);
--jp-layout-color3: var(--color-scale-gray-7);
--jp-layout-color4: var(--color-scale-gray-6);
--jp-inverse-layout-color0: var(--color-scale-white);
--jp-inverse-layout-color1: var(--color-scale-white);
--jp-inverse-layout-color2: var(--color-scale-gray-2);
--jp-inverse-layout-color3: var(--color-scale-gray-4);
--jp-inverse-layout-color4: var(--color-scale-gray-6);
--jp-brand-color0: var(--color-scale-blue-7);
--jp-brand-color1: var(--color-scale-blue-5);
--jp-brand-color2: var(--color-scale-blue-3);
--jp-brand-color3: var(--color-scale-blue-1);
--jp-brand-color4: var(--color-scale-blue-0);
--jp-accent-color0: var(--color-scale-green-7);
--jp-accent-color1: var(--color-scale-green-5);
--jp-accent-color2: var(--color-scale-green-3);
--jp-accent-color3: var(--color-scale-green-1);
--jp-warn-color0: var(--color-scale-orange-7);
--jp-warn-color1: var(--color-scale-orange-5);
--jp-warn-color2: var(--color-scale-orange-3);
--jp-warn-color3: var(--color-scale-orange-1);
--jp-error-color0: var(--color-scale-red-7);
--jp-error-color1: var(--color-scale-red-5);
--jp-error-color2: var(--color-scale-red-3);
--jp-error-color3: var(--color-scale-red-1);
--jp-success-color0: var(--color-scale-green-7);
--jp-success-color1: var(--color-scale-green-5);
--jp-success-color2: var(--color-scale-green-3);
--jp-success-color3: var(--color-scale-green-1);
--jp-info-color0: var(--color-scale-blue-7);
--jp-info-color1: var(--color-scale-blue-5);
--jp-info-color2: var(--color-scale-blue-3);
--jp-info-color3: var(--color-scale-blue-1);
--jp-cell-editor-border-color: var(--color-scale-gray-7);
--jp-cell-editor-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
--jp-cell-prompt-not-active-font-color: fadeout(@text, 50%);
--jp-cell-inprompt-font-color: var(--color-scale-blue-6);
--jp-cell-outprompt-font-color: var(--color-scale-coral-6);
--jp-notebook-multiselected-color: fadeout(@overlay2, 86%);
--jp-rendermime-error-background: fadeout(@red, 82%);
--jp-rendermime-table-row-background: var(--color-scale-gray-9);
--jp-rendermime-table-row-hover-background: fadeout(@surface2, 86%);
--jp-dialog-background: fadeout(@crust, 40%);
--jp-toolbar-box-shadow: 0px 0px 2px 0px fadeout(@crust, 20%);
--jp-input-box-shadow: inset 0 0 2px var(--color-scale-blue-3);
--jp-input-background: var(--color-scale-gray-8);
--jp-input-active-box-shadow-color: fadeout(@blue, 70%);
--jp-editor-selected-focused-background: fadeout(@blue, 86%);
--jp-mirror-editor-keyword-color: var(--color-scale-green-5);
--jp-mirror-editor-atom-color: var(--color-scale-blue-3);
--jp-mirror-editor-number-color: var(--color-scale-green-4);
--jp-mirror-editor-def-color: var(--color-scale-blue-6);
--jp-mirror-editor-variable-color: var(--color-scale-gray-3);
--jp-mirror-editor-variable-2-color: var(--color-scale-blue-4);
--jp-mirror-editor-variable-3-color: var(--color-scale-green-6);
--jp-mirror-editor-punctuation-color: var(--color-scale-blue-4);
--jp-mirror-editor-property-color: var(--color-scale-blue-4);
--jp-mirror-editor-operator-color: @mauve;
--jp-mirror-editor-comment-color: @subtext0;
--jp-mirror-editor-string-color: @peach;
--jp-mirror-editor-string-2-color: var(--color-scale-purple-3);
--jp-mirror-editor-meta-color: @mauve;
--jp-mirror-editor-qualifier-color: var(--color-scale-gray-5);
--jp-mirror-editor-builtin-color: var(--color-scale-green-6);
--jp-mirror-editor-bracket-color: var(--color-scale-gray-2);
--jp-mirror-editor-tag-color: var(--color-scale-blue-7);
--jp-mirror-editor-attribute-color: var(--color-scale-blue-7);
--jp-mirror-editor-header-color: var(--color-scale-blue-5);
--jp-mirror-editor-quote-color: var(--color-scale-green-3);
--jp-mirror-editor-link-color: var(--color-scale-blue-7);
--jp-mirror-editor-error-color: @red;
--jp-mirror-editor-hr-color: var(--color-scale-gray-8);
--jp-vega-background: var(--color-scale-gray-4);
--jp-search-selected-match-background-color: @yellow;
--jp-search-selected-match-color: @crust;
--jp-icon-contrast-color0: var(--color-scale-purple-6);
--jp-icon-contrast-color1: var(--color-scale-green-6);
--jp-icon-contrast-color2: var(--color-scale-pink-6);
--jp-icon-contrast-color3: var(--color-scale-blue-6);
}
}
/* 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; };
}

218
userstyles/searxng.css Normal file
View file

@ -0,0 +1,218 @@
/* ==UserStyle==
@name Searxng shades of purple
@namespace github.com/openstyles/stylus
@version 0.1.0
@description Enchanted from https://userstyles.world/style/6439/searxng-simple-theme-enhanced with shades of purple
@author 4o1x5
==/UserStyle== */
@-moz-document url-prefix("https://search.rhscz.eu/") {
:root {
--color-base-font: #fff;
--color-base-font-rgb: 165, 153, 233;
--color-base-background: #2d2b55;
--color-base-background-mobile: #1e1e3f;
--color-url-font: #9d79d6;
--color-url-visited-font: #b362ff;
--color-header-background: #2d2b55;
--color-header-border: #3e3c61;
--color-footer-background: #2d2b55;
--color-footer-border: #3e3c61;
--color-sidebar-border: #3e3c61;
--color-sidebar-font: #a599e9;
--color-sidebar-background: #2d2b55;
--color-backtotop-font: #a599e9;
--color-backtotop-border: #3e3c61;
--color-backtotop-background: #2d2b55;
--color-btn-background: #6943ff;
--color-btn-font: #ffffff;
--color-show-btn-background: #7e57c2;
--color-show-btn-font: #ffffff;
--color-search-border: #7e57c2;
--color-search-shadow: 0 2px 8px rgba(109, 104, 177, 0.25);
--color-search-background: #2d2b55;
--color-search-font: #a599e9;
--color-search-background-hover: #6943ff;
--color-error: #ff5370;
--color-error-background: #3e3c61;
--color-warning: #ffcb6b;
--color-warning-background: #3e3c61;
--color-success: #c3e88d;
--color-success-background: #3e3c61;
--color-categories-item-selected-font: #6943ff;
--color-categories-item-border-selected: #6943ff;
--color-autocomplete-font: #a599e9;
--color-autocomplete-border: #7e57c2;
--color-autocomplete-shadow: 0 2px 8px rgba(109, 104, 177, 0.25);
--color-autocomplete-background: #2d2b55;
--color-autocomplete-background-hover: #3e3c61;
--color-answer-font: #a599e9;
--color-answer-background: #2d2b55;
--color-result-background: #2d2b55;
--color-result-border: #3e3c61;
--color-result-url-font: #a599e9;
--color-result-vim-selected: #3e3c61;
--color-result-vim-arrow: #6943ff;
--color-result-description-highlight-font: #a599e9;
--color-result-link-font: #6943ff;
--color-result-link-font-highlight: #6943ff;
--color-result-link-visited-font: #b362ff;
--color-result-publishdate-font: #a599e9;
--color-result-engines-font: #a599e9;
--color-result-search-url-border: #3e3c61;
--color-result-search-url-font: #a599e9;
--color-result-image-span-font: #a599e9;
--color-result-image-span-font-selected: #ffffff;
--color-result-image-background: #2d2b55;
--color-settings-tr-hover: #3e3c61;
--color-settings-engine-description-font: #a599e9;
--color-settings-table-group-background: #3e3c61;
--color-result-detail-font: #ffffff;
--color-result-detail-label-font: lightgray;
--color-result-detail-background: #2d2b55;
--color-result-detail-hr: #3e3c61;
--color-result-detail-link: #8af;
--color-result-detail-loader-border: rgba(255, 255, 255, 0.2);
--color-result-detail-loader-borderleft: rgba(0, 0, 0, 0);
--color-toolkit-badge-font: #ffffff;
--color-toolkit-badge-background: #7e57c2;
--color-toolkit-kbd-font: #ffffff;
--color-toolkit-kbd-background: #2d2b55;
--color-toolkit-dialog-border: #3e3c61;
--color-toolkit-dialog-background: #2d2b55;
--color-toolkit-tabs-label-border: #2d2b55;
--color-toolkit-tabs-section-border: #3e3c61;
--color-toolkit-select-background: #3e3c61;
--color-toolkit-select-border: #3e3c61;
--color-toolkit-select-background-hover: #7e57c2;
--color-toolkit-input-text-font: #a599e9;
--color-toolkit-checkbox-onoff-off-background: #3e3c61;
--color-toolkit-checkbox-onoff-on-background: #3e3c61;
--color-toolkit-checkbox-onoff-on-mark-background: #6943ff;
--color-toolkit-checkbox-onoff-on-mark-color: #ffffff;
--color-toolkit-checkbox-onoff-off-mark-background: #7e57c2;
--color-toolkit-checkbox-onoff-off-mark-color: #ffffff;
--color-toolkit-checkbox-label-background: #3e3c61;
--color-toolkit-checkbox-label-border: #3e3c61;
--color-toolkit-checkbox-input-border: #6943ff;
--color-toolkit-engine-tooltip-border: #3e3c61;
--color-toolkit-engine-tooltip-background: #2d2b55;
--color-toolkit-loader-border: rgba(0, 0, 0, 0.2);
--color-toolkit-loader-borderleft: rgba(255, 255, 255, 0);
--color-doc-code: #a599e9;
--color-doc-code-background: #3e3c61;
--color-bar-chart-primary: #7e57c2;
--color-bar-chart-secondary: #b362ff;
--color-image-resolution-background: rgba(0, 0, 0, 0.5);
--color-image-resolution-font: #ffffff;
--color-loading-indicator: rgba(255, 255, 255, 0.2);
--color-loading-indicator-gap: #ffffff;
--color-line-number: #a599e9;
--color-favicon-background-color: #3e3c61;
--color-favicon-border-color: #3e3c61;
}
#results {
gap: 0 var(--gap);
}
@media screen and (min-width: 79.75em) {
.center-aligment-yes #main_results #results:not(.only_template_images):not(.image-detail-open) {
grid-template-columns: calc(var(--center-page-width) - var(--gap) - 25rem) 25rem;
}
}
/* Answers */
#answers {
line-height: var(--line-height-result);
}
@media screen and (min-width: 50rem) {
#answers {
margin-left: 3rem;
}
}
@media screen and (min-width: 79.75em) {
#answers {
margin-left: 0;
}
}
/* Copy and slightly modify from article[data-vim-selected] */
article:hover {
background: var(--color-result-vim-selected);
border-radius: 0 10px 10px 0;
}
/* URL */
.result .url_wrapper {
/* default: 1rem */
font-size: .9rem;
line-height: var(--line-height-result);
}
.result .url_wrapper .url_o2 .url_i2 {
color: var(--color-result-url-path-font);
float: left;
}
/* Title */
/**
* Since the content of each result is not a hyperlink,
* it would have been easier if both URL and title look like
* one big block, so that navigation is more convenient.
*/
.result h3 {
margin-top: 0;
}
.result h3 a {
display: block;
padding-top: .25rem;
/* default: 1.1em */
font-size: 1em
}
.result h3 a:focus,
.result h3 a:hover {
text-decoration: none;
}
/* Content */
.result .content,
.result .stat {
/* default: .9em */
font-size: .9em;
line-height: var(--line-height-result);
}
/* Engines */
.engines {
/* display: none; */
}
/* Suggestions */
#suggestions .wrapper {
justify-content: flex-start;
}
#suggestions .wrapper form {
flex: 1 1 100%;
}
#infoboxes input,
#suggestions input {
padding: .2em 0;
}
#results button[type="submit"],
input[type="submit"] {
border-radius: .25rem;
}
/* Back To Top button */
#backToTop {
display: none;
}
}