From 89db4101fd3abe94423f9c5abc4df205ad212314 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Fri, 6 Dec 2024 17:02:23 +0100 Subject: [PATCH] new theme! --- hosts/laptop/configuration.nix | 2 +- hosts/laptop/variables.nix | 2 +- themes/stylix/pinky.nix | 3 +- themes/stylix/whitish.nix | 73 ++++++++++++++++++++++++++++++++++ themes/var/whitish.nix | 18 +++++++++ 5 files changed, 94 insertions(+), 4 deletions(-) create mode 100644 themes/stylix/whitish.nix create mode 100644 themes/var/whitish.nix diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index d9b91ed..ce38c75 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -21,7 +21,7 @@ ../../nixos/pia.nix # Choose your theme here - ../../themes/stylix/pinky.nix + ../../themes/stylix/whitish.nix ./hardware-configuration.nix ./variables.nix diff --git a/hosts/laptop/variables.nix b/hosts/laptop/variables.nix index eb8cdb2..b1154f3 100644 --- a/hosts/laptop/variables.nix +++ b/hosts/laptop/variables.nix @@ -23,6 +23,6 @@ autoGarbageCollector = false; # Choose your theme variables here - theme = import ../../themes/var/pinky.nix; + theme = import ../../themes/var/whitish.nix; }; } diff --git a/themes/stylix/pinky.nix b/themes/stylix/pinky.nix index 6969099..b98bfe5 100644 --- a/themes/stylix/pinky.nix +++ b/themes/stylix/pinky.nix @@ -67,8 +67,7 @@ targets.nixvim.plugin = "base16-nvim"; polarity = "dark"; - image = inputs.nixy-wallpapers - + "/wallpapers/a_lake_surrounded_by_mountains.png"; + image = inputs.nixy-wallpapers + "/wallpapers/4.png"; }; } diff --git a/themes/stylix/whitish.nix b/themes/stylix/whitish.nix new file mode 100644 index 0000000..c9c4f95 --- /dev/null +++ b/themes/stylix/whitish.nix @@ -0,0 +1,73 @@ +{ 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 = + "8492EB"; # 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. + }; + + cursor = { + package = pkgs.bibata-cursors; + name = "Bibata-Modern-Ice"; + size = 20; + }; + + fonts = { + monospace = { + package = pkgs.nerd-fonts.jetbrains-mono; + 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; + }; + }; + + targets.nixvim.transparentBackground = { + main = true; + signColumn = true; + }; + targets.nixvim.plugin = "base16-nvim"; + + polarity = "dark"; + image = inputs.nixy-wallpapers + "/wallpapers/zywgxy.png"; + }; + +} diff --git a/themes/var/whitish.nix b/themes/var/whitish.nix new file mode 100644 index 0000000..f801a84 --- /dev/null +++ b/themes/var/whitish.nix @@ -0,0 +1,18 @@ +{ + rounding = 15; + gaps-in = 10; + gaps-out = 10 * 2; + active-opacity = 1; + inactive-opacity = 0.86; + blur = true; + border-size = 2; + animation-speed = "medium"; # "fast" | "medium" | "slow" + fetch = "nerdfetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none" + + bar = { + position = "top"; # "top" | "bottom" + transparent = false; + transparentButtons = false; + floating = true; + }; +}