diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 10:19:00 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | 5252204c1dedd31f5cfc09d7f3fdc4038d379b8c (patch) | |
| tree | 7dd3a8e45ba76b3bc9701c1f1fb27ea675169278 /src/colors.zig | |
| parent | e8b76d83a30a08b636f3f14666a0cdad009b0eb0 (diff) | |
| download | pardes-5252204c1dedd31f5cfc09d7f3fdc4038d379b8c.tar.gz pardes-5252204c1dedd31f5cfc09d7f3fdc4038d379b8c.zip | |
Solarized, as close to the original as pardes draws: solarized_dark, solarized_light
Every colour is the original's own, cited file:line in each theme file.
Sources:
canonical palette and ANSI map; https://github.com/altercation/solarized; ~/05-genizah/solarized; 62f656a02f93c5190a8753159e34b385588d5ff3
the author's vim port for roles; ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim
Chrome moved to meet pardes's floors (text, syntax, ANSI untouched):
solarized_dark: unfocused tag text #073642 -> #01090b: 2.92:1 on #657b83, tag text needs 4.5:1 to be read and run
solarized_dark: focused grip #268bd2 -> #2483c5: 1.38:1 on the focused tag #93a1a1
solarized_light: unfocused tag text #eee8d5 -> #2b2a26: 2.58:1 on #839496, tag text needs 4.5:1 to be read and run
solarized_light: focused tag text #eee8d5 -> #f0ebda: 4.39:1 on #586e75, tag text needs 4.5:1
solarized_light: focused grip #268bd2 -> #2f90d4: 1.46:1 on the focused tag #586e75
Diffstat (limited to 'src/colors.zig')
| -rw-r--r-- | src/colors.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/colors.zig b/src/colors.zig index c16d38da..488da162 100644 --- a/src/colors.zig +++ b/src/colors.zig @@ -327,6 +327,8 @@ const curated = struct { // Faithful ports of well-known themes, a family at a time (src/themes/ // <name>.zig says where each value came from): `theme_groups`. pub const dark_plus = @import("themes/dark_plus.zig"); + pub const solarized_dark = @import("themes/solarized_dark.zig"); + pub const solarized_light = @import("themes/solarized_light.zig"); // The legacy pair last. pub const helix = @import("themes/helix.zig"); pub const dark = @import("themes/dark.zig"); @@ -390,6 +392,7 @@ pub const ThemeGroup = struct { title: []const u8, first: []const u8 }; const theme_groups = [_]ThemeGroup{ .{ .title = "Pardes themes", .first = "orchard" }, .{ .title = "Visual Studio Code", .first = "dark_plus" }, + .{ .title = "Solarized", .first = "solarized_dark" }, .{ .title = "Legacy themes", .first = "helix" }, }; |
