pantheon/users/modules/stylix.nix
2025-03-25 06:19:17 +08:00

27 lines
802 B
Nix

{ inputs, pkgs, ... }:
{
imports = [
inputs.stylix.homeManagerModules.stylix
../../themes/darkviolet.nix
../../themes/fonts/sauce-code-pro.nix
../../themes/cursors/banana-cursor.nix
];
stylix = {
enable = true;
image = ../../media/wallpaper.jpg;
};
stylix.targets.gtk.extraCss = # css
''
window {
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
background-size: 100% 2px; /* Adjust height for scanline thickness */
background-color: rgba(0, 0, 0, 0.05); /*Very slight transparency*/
}
entry {
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}
button:hover {
box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); /* Replace color */
}
'';
}