From ded131e16365d9b5a5537a1a99e5bdf150081453 Mon Sep 17 00:00:00 2001 From: shibazaki Date: Sun, 27 Apr 2025 20:23:59 +0200 Subject: [PATCH] moss --- nixos/home/modules/development.nix | 3 +++ nixos/system/stylix.nix | 9 ++++++--- src/themes/moss.yaml | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 src/themes/moss.yaml diff --git a/nixos/home/modules/development.nix b/nixos/home/modules/development.nix index 95a50ba..625eca4 100644 --- a/nixos/home/modules/development.nix +++ b/nixos/home/modules/development.nix @@ -19,5 +19,8 @@ openrocket discordchatexporter-cli + + sigrok-cli + pulseview ]; } diff --git a/nixos/system/stylix.nix b/nixos/system/stylix.nix index ec6e728..efe5631 100644 --- a/nixos/system/stylix.nix +++ b/nixos/system/stylix.nix @@ -1,8 +1,12 @@ {pkgs, ...}: { stylix = { enable = true; - image = ./../../src/wallpapers/dark-cat.png; - base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml"; + + # Point Stylix to your new scheme + base16Scheme = ../../src/themes/moss.yaml; + + # keep the wallpaper if you still want it + image = ../../src/wallpapers/dark-cat.png; polarity = "dark"; autoEnable = true; @@ -19,7 +23,6 @@ popups = 10; terminal = 12; }; - monospace = { name = "JetBrainsMono Nerd Font"; package = pkgs.nerd-fonts.jetbrains-mono; diff --git a/src/themes/moss.yaml b/src/themes/moss.yaml new file mode 100644 index 0000000..33145ad --- /dev/null +++ b/src/themes/moss.yaml @@ -0,0 +1,25 @@ +# 16-colour “Moss” scheme generated from user palette +system: "base16" +name: "Moss" +author: "You" +variant: "dark" + +palette: + base00: "262818" # darkest – main background + base01: "282810" + base02: "2B2B15" + base03: "474727" + base04: "4A4A2E" + base05: "4E4E35" # default foreground + base06: "68674F" # bright fg (selection, etc.) + base07: "C4C4A5" # lightest + + # Accents — duplicated/tinted from your list so we have 16 total + base08: "727259" # red slot – dusky olive + base09: "606047" # orange slot – deeper olive + base0A: "C4C4A5" # yellow slot – light moss + base0B: "68674F" # green slot – mid moss + base0C: "474727" # cyan slot – dark moss + base0D: "4A4A2E" # blue slot – earthy + base0E: "727259" # violet slot – reuse olive + base0F: "2B2B15" # brown slot – extra