colors: Add light and dark theme

This commit is contained in:
Jan Kremer 2026-01-25 16:16:21 +01:00
parent 43c9bf889e
commit 83d289585e
No known key found for this signature in database

View file

@ -3,20 +3,35 @@
# Rosé Pine Moon (https://rosepinetheme.com)
programs = {
bat = {
config.theme = "rose-pine";
themes.rose-pine = {
src = pkgs.fetchFromGitHub {
config.theme-dark = "rose-pine";
config.theme-light = "rose-pine-dawn";
themes =
let
rose-pine-github = pkgs.fetchFromGitHub {
owner = "rose-pine";
repo = "tm-theme";
rev = "c4235f9a65fd180ac0f5e4396e3a86e21a0884ec";
hash = "sha256-jji8WOKDkzAq8K+uSZAziMULI8Kh7e96cBRimGvIYKY=";
rev = "417d201beb5f0964faded5448147c252ff12c4ae";
hash = "sha256-aNDOqY81FLFQ6bvsTiYgPyS5lJrqZnFMpvpTCSNyY0Y=";
};
in
{
rose-pine = {
src = rose-pine-github;
file = "dist/themes/rose-pine.tmTheme";
};
rose-pine-dawn = {
src = rose-pine-github;
file = "dist/themes/rose-pine-dawn.tmTheme";
};
};
};
ghostty.settings.theme = "Rose Pine";
ghostty.settings.theme = "dark:Rose Pine,light:Rose Pine Dawn";
helix.settings.theme = "rose_pine";
# {
# dark = "rose_pine";
# light = "rose_pine_dawn";
# };
};
}