new theme

Former-commit-id: d2aa568fff
This commit is contained in:
Hadi
2024-11-08 14:18:55 +01:00
parent fe323511a4
commit 970aa3133b
4 changed files with 87 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
../../nixos/docker.nix
../../nixos/pia.nix
../../themes/stylix/nixy.nix
../../themes/stylix/pinky.nix
./hardware-configuration.nix
./variables.nix

View File

@@ -22,6 +22,6 @@
autoUpgrade = false;
autoGarbageCollector = false;
theme = import ../../themes/var/nixy.nix;
theme = import ../../themes/var/pinky.nix;
};
}

67
themes/stylix/pinky.nix Normal file
View File

@@ -0,0 +1,67 @@
{ pkgs, inputs, ... }: {
stylix = {
enable = true;
# Edited catppuccin
base16Scheme = {
base00 = "0b0b0b"; # Default Background
base01 =
"1b1b1b"; # Lighter Background (Used for status bars, line number and folding marks)
base02 = "2b2b2b"; # Selection Background
base03 = "45475a"; # Comments, Invisibles, Line Highlighting
base04 = "585b70"; # Dark Foreground (Used for status bars)
base05 = "fcfcfc"; # Default Foreground, Caret, Delimiters, Operators
base06 = "f5e0dc"; # Light Foreground (Not often used)
base07 = "b4befe"; # Light Background (Not often used)
base08 =
"f38ba8"; # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
base09 =
"fab387"; # Integers, Boolean, Constants, XML Attributes, Markup Link Url
base0A = "f9e2af"; # Classes, Markup Bold, Search Text Background
base0B = "a6e3a1"; # Strings, Inherited Class, Markup Code, Diff Inserted
base0C =
"94e2d5"; # Support, Regular Expressions, Escape Characters, Markup Quotes
base0D =
"c6a0f6"; # Functions, Methods, Attribute IDs, Headings, Accent color
base0E =
"cba6f7"; # Keywords, Storage, Selector, Markup Italic, Diff Changed
base0F =
"f2cdcd"; # Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
};
cursor = {
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 20;
};
fonts = {
monospace = {
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
name = "JetBrains Mono Nerd Font";
};
sansSerif = {
package = inputs.apple-fonts.packages.${pkgs.system}.sf-pro-nerd;
name = "SFProDisplay Nerd Font";
};
serif = {
package = inputs.apple-fonts.packages.${pkgs.system}.sf-pro-nerd;
name = "SFProDisplay Nerd Font";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
sizes = {
applications = 13;
desktop = 13;
popups = 13;
terminal = 13;
};
};
polarity = "dark";
image = inputs.nixy-wallpapers + "/wallpapers/4.png";
};
}

18
themes/var/pinky.nix Normal file
View File

@@ -0,0 +1,18 @@
{
rounding = 25;
gaps-in = 12;
gaps-out = 12 * 2;
active-opacity = 1;
inactive-opacity = 0.87;
blur = true;
border-size = 3;
animation-speed = "slow"; # "fast" | "medium" | "slow"
fetch = "nerdfetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none"
bar = {
position = "top"; # "top" | "bottom"
transparent = true;
transparentButtons = false;
floating = true;
};
}