mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 05:12:34 +02:00
new theme!
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
}: {
|
||||
imports = [
|
||||
# Choose your theme here:
|
||||
../../themes/zen.nix
|
||||
../../themes/darkviolet.nix
|
||||
];
|
||||
|
||||
config.var = {
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
options.theme = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {
|
||||
rounding = 25;
|
||||
gaps-in = 10;
|
||||
gaps-out = 10 * 2;
|
||||
active-opacity = 0.99;
|
||||
inactive-opacity = 0.97;
|
||||
blur = true;
|
||||
border-size = 2;
|
||||
animation-speed = "medium"; # "fast" | "medium" | "slow"
|
||||
fetch = "none"; # "nerdfetch" | "neofetch" | "pfetch" | "none"
|
||||
textColorOnWallpaper =
|
||||
config.lib.stylix.colors.base00; # Color of the text displayed on the wallpaper (Lockscreen, display manager, ...)
|
||||
};
|
||||
description = "Theme configuration options";
|
||||
};
|
||||
|
||||
config.stylix = {
|
||||
enable = true;
|
||||
|
||||
# See https://tinted-theming.github.io/tinted-gallery/ for more schemes
|
||||
base16Scheme = {
|
||||
base00 = "110F12"; # Default Background
|
||||
base01 = "1C1920"; # Lighter Background (Used for status bars, line number and folding marks)
|
||||
base02 = "2D2A36"; # Selection Background
|
||||
base03 = "514D63"; # Comments, Invisibles, Line Highlighting
|
||||
base04 = "8E8AA0"; # Dark Foreground (Used for status bars)
|
||||
base05 = "C2BED6"; # Default Foreground, Caret, Delimiters, Operators
|
||||
base06 = "D8D5EA"; # Light Foreground (Not often used)
|
||||
base07 = "EAE7F7"; # Light Background (Not often used)
|
||||
base08 = "E07080"; # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
|
||||
base09 = "D49070"; # Integers, Boolean, Constants, XML Attributes, Markup Link Url
|
||||
base0A = "C4B060"; # Classes, Markup Bold, Search Text Background
|
||||
base0B = "80B880"; # Strings, Inherited Class, Markup Code, Diff Inserted
|
||||
base0C = "70B8C0"; # Support, Regular Expressions, Escape Characters, Markup Quotes
|
||||
base0D = "9E97F8"; # Functions, Methods, Attribute IDs, Headings, Accent color
|
||||
base0E = "C090E8"; # Keywords, Storage, Selector, Markup Italic, Diff Changed
|
||||
base0F = "D080A0"; # Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
|
||||
};
|
||||
|
||||
cursor = {
|
||||
name = "BreezeX-RosePine-Linux";
|
||||
package = pkgs.rose-pine-cursor;
|
||||
size = 20;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.maple-mono.NF;
|
||||
name = "Maple Mono NF";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.source-sans-pro;
|
||||
name = "Source Sans Pro";
|
||||
};
|
||||
serif = config.stylix.fonts.sansSerif;
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-color-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
sizes = {
|
||||
applications = 13;
|
||||
desktop = 13;
|
||||
popups = 13;
|
||||
terminal = 13;
|
||||
};
|
||||
};
|
||||
|
||||
polarity = "dark";
|
||||
image = pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/anotherhadi/awesome-wallpapers/refs/heads/main/app/static/wallpapers/white-snow-and-a-tree_light.png";
|
||||
sha256 = "sha256-HKqDY/iCcV++WwNuNIWZEyXuxYuGWG+krn2vPTe58HQ=";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user