mirror of
https://github.com/kmein/niveum
synced 2026-03-16 18:21:07 +01:00
colorscheming
This commit is contained in:
@@ -3,8 +3,6 @@ let
|
|||||||
background = scheme.foreground;
|
background = scheme.foreground;
|
||||||
foreground = scheme.background;
|
foreground = scheme.background;
|
||||||
fadeColor = background;
|
fadeColor = background;
|
||||||
pointerColorForeground = scheme.pointerColorBackground;
|
|
||||||
pointerColorBackground = scheme.pointerColorForeground;
|
|
||||||
};
|
};
|
||||||
antares = rec {
|
antares = rec {
|
||||||
black = { light = "#151515"; dark = "#000000"; };
|
black = { light = "#151515"; dark = "#000000"; };
|
||||||
@@ -29,10 +27,7 @@ let
|
|||||||
white = { light = "#FFFFFF"; dark = "#C0C0C0"; };
|
white = { light = "#FFFFFF"; dark = "#C0C0C0"; };
|
||||||
background = "#000000";
|
background = "#000000";
|
||||||
foreground = "#AAAAAA";
|
foreground = "#AAAAAA";
|
||||||
fadeColor = black.dark;
|
|
||||||
cursorColor = green.light;
|
cursorColor = green.light;
|
||||||
pointerColorForeground = green.light;
|
|
||||||
pointerColorBackground = white.dark;
|
|
||||||
};
|
};
|
||||||
apprentice = rec {
|
apprentice = rec {
|
||||||
black = { light = "#444444"; dark = "#1c1c1c"; };
|
black = { light = "#444444"; dark = "#1c1c1c"; };
|
||||||
@@ -45,10 +40,7 @@ let
|
|||||||
white = { light = "#999999"; dark = "#6c6c6c"; };
|
white = { light = "#999999"; dark = "#6c6c6c"; };
|
||||||
background = "#262626";
|
background = "#262626";
|
||||||
foreground = "#bcbcbc";
|
foreground = "#bcbcbc";
|
||||||
fadeColor = black.dark;
|
|
||||||
cursorColor = "#bcbcbc";
|
cursorColor = "#bcbcbc";
|
||||||
pointerColorForeground = green.light;
|
|
||||||
pointerColorBackground = white.dark;
|
|
||||||
};
|
};
|
||||||
macOS = rec {
|
macOS = rec {
|
||||||
black = { light = "#818383"; dark = "#000000"; };
|
black = { light = "#818383"; dark = "#000000"; };
|
||||||
@@ -61,10 +53,7 @@ let
|
|||||||
white = { light = "#e9ebeb"; dark = "#cbcccd"; };
|
white = { light = "#e9ebeb"; dark = "#cbcccd"; };
|
||||||
background = black.dark;
|
background = black.dark;
|
||||||
foreground = white.dark;
|
foreground = white.dark;
|
||||||
fadeColor = black.dark;
|
|
||||||
cursorColor = green.light;
|
cursorColor = green.light;
|
||||||
pointerColorForeground = green.light;
|
|
||||||
pointerColorBackground = white.dark;
|
|
||||||
};
|
};
|
||||||
solarizedDark = rec {
|
solarizedDark = rec {
|
||||||
black = { dark = "#073642"; light = "#002b36"; };
|
black = { dark = "#073642"; light = "#002b36"; };
|
||||||
@@ -77,18 +66,40 @@ let
|
|||||||
white = { dark = "#eee8d5"; light = "#fdf6e3"; };
|
white = { dark = "#eee8d5"; light = "#fdf6e3"; };
|
||||||
background = black.light;
|
background = black.light;
|
||||||
foreground = blue.light;
|
foreground = blue.light;
|
||||||
fadeColor = black.light;
|
|
||||||
cursorColor = cyan.light;
|
cursorColor = cyan.light;
|
||||||
pointerColorBackground = green.light;
|
|
||||||
pointerColorForeground = cyan.light;
|
|
||||||
};
|
};
|
||||||
solarizedLight = solarizedDark // {
|
solarizedLight = solarizedDark // {
|
||||||
background = solarizedDark.white.light;
|
background = solarizedDark.white.light;
|
||||||
foreground = solarizedDark.yellow.light;
|
foreground = solarizedDark.yellow.light;
|
||||||
fadeColor = solarizedDark.white.light;
|
fadeColor = solarizedDark.white.light;
|
||||||
cursorColor = solarizedDark.green.light;
|
cursorColor = solarizedDark.green.light;
|
||||||
pointerColorBackground = solarizedDark.cyan.light;
|
};
|
||||||
pointerColorForeground = solarizedDark.green.light;
|
owickstrom.default = rec {
|
||||||
|
black = { light = "#282c34"; dark = "#282c34"; };
|
||||||
|
red = { light = "#e06c75"; dark = "#e06c75"; };
|
||||||
|
green = { light = "#98c379"; dark = "#98c379"; };
|
||||||
|
yellow = { light = "#e5c07b"; dark = "#e5c07b"; };
|
||||||
|
blue = { light = "#61afef"; dark = "#61afef"; };
|
||||||
|
magenta = { light = "#c678dd"; dark = "#c678dd"; };
|
||||||
|
cyan = { light = "#56b6c2"; dark = "#56b6c2"; };
|
||||||
|
white = { light = "#dcdfe4"; dark = "#dcdfe4"; };
|
||||||
|
background = black.dark;
|
||||||
|
foreground = white.light;
|
||||||
|
cursorColor = "#a3b3cc";
|
||||||
|
};
|
||||||
|
owickstrom.dark = rec {
|
||||||
|
black = { light = "#4b4b4b"; dark = "#242424"; };
|
||||||
|
red = { light = "#fc1c18"; dark = "#d71c15"; };
|
||||||
|
green = { light = "#6bc219"; dark = "#5aa513"; };
|
||||||
|
yellow = { light = "#fec80e"; dark = "#fdb40c"; };
|
||||||
|
blue = { light = "#0955ff"; dark = "#063b8c"; };
|
||||||
|
magenta = { light = "#fb0050"; dark = "#e40038"; };
|
||||||
|
cyan = { light = "#3ea8fc"; dark = "#2595e1"; };
|
||||||
|
white = { light = "#8c00ec"; dark = "#efefef"; };
|
||||||
|
background = "#181818";
|
||||||
|
foreground = white.dark;
|
||||||
|
fadeColor = background;
|
||||||
|
cursorColor = "#bbbbbb";
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
uiFont = { name = "Sans"; size = 9; };
|
uiFont = { name = "Sans"; size = 9; };
|
||||||
@@ -98,8 +109,8 @@ in rec {
|
|||||||
black = "#000000";
|
black = "#000000";
|
||||||
gray = "#888888";
|
gray = "#888888";
|
||||||
|
|
||||||
colorScheme = connormcd;
|
colorScheme = owickstrom.dark // { background = "#000000"; };
|
||||||
invertedColorScheme = flip connormcd;
|
invertedColorScheme = flip owickstrom.dark;
|
||||||
|
|
||||||
colorPalette = [
|
colorPalette = [
|
||||||
colorScheme.black.dark colorScheme.red.dark colorScheme.green.dark colorScheme.yellow.dark colorScheme.blue.dark colorScheme.magenta.dark colorScheme.cyan.dark colorScheme.white.dark
|
colorScheme.black.dark colorScheme.red.dark colorScheme.green.dark colorScheme.yellow.dark colorScheme.blue.dark colorScheme.magenta.dark colorScheme.cyan.dark colorScheme.white.dark
|
||||||
|
|||||||
@@ -5,10 +5,8 @@ in with lib; lists.foldr
|
|||||||
{
|
{
|
||||||
"*background" = theme.colorScheme.background;
|
"*background" = theme.colorScheme.background;
|
||||||
"*foreground" = theme.colorScheme.foreground;
|
"*foreground" = theme.colorScheme.foreground;
|
||||||
"*fadeColor" = theme.colorScheme.fadeColor;
|
"*fadeColor" = theme.colorScheme.background;
|
||||||
"*cursorColor" = theme.colorScheme.cursorColor;
|
"*cursorColor" = theme.colorScheme.cursorColor;
|
||||||
"*pointerColorForeground" = theme.colorScheme.pointerColorForeground;
|
|
||||||
"*pointerColorBackground" = theme.colorScheme.pointerColorBackground;
|
|
||||||
"*.font" = "xft:${theme.terminalFont.name}:size=${toString theme.terminalFont.size}";
|
"*.font" = "xft:${theme.terminalFont.name}:size=${toString theme.terminalFont.size}";
|
||||||
"*.boldFont" = "xft:${theme.terminalFont.name}:style=Bold:size=${toString theme.terminalFont.size}";
|
"*.boldFont" = "xft:${theme.terminalFont.name}:style=Bold:size=${toString theme.terminalFont.size}";
|
||||||
"*.italicFont" = "xft:${theme.terminalFont.name}:style=Italic:size=${toString theme.terminalFont.size}";
|
"*.italicFont" = "xft:${theme.terminalFont.name}:style=Italic:size=${toString theme.terminalFont.size}";
|
||||||
|
|||||||
Reference in New Issue
Block a user