diff options
| author | eugenrh <eugenrh@noreply.codeberg.org> | 2023-11-08 17:43:44 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2023-11-14 18:30:28 +0000 |
| commit | 242767d373d375a209e75b5a812116d7e1c9bfe0 (patch) | |
| tree | dd7dcfbeddeeac5cdb0839fc2fe01ec6ba8a9be5 | |
| parent | terminfo: add terminator to conditional in Sync (diff) | |
theme: electrophoretic
A theme for grayscale electrophoretic displays (e-ink), which aims
to maximize the contrast between the text and the white background.
| -rw-r--r-- | themes/electrophoretic | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/themes/electrophoretic b/themes/electrophoretic new file mode 100644 index 00000000..d2b67434 --- /dev/null +++ b/themes/electrophoretic @@ -0,0 +1,35 @@ +# -*- conf -*- +# Electrophoretic +# Theme for electrophoretic displays (like e-ink) which usually supports +# 16 levels of grays. This theme aims to maximize the contrast between the +# text and the white background. +# author: Eugen Rahaian <eugen@rah.ro> + +[cursor] +color=ffffff 515151 + +[colors] +background= ffffff +foreground= 000000 + +# The colors are sorted based on their luminance, so we can more easily assign +# them a gray level. +# grayscale order: black_0 blue_4 red_1 magenta_5 green_2 cyan_6 yellow_3 white_7 +regular0= ffffff +regular4= 616161 +regular1= 515151 +regular5= 414141 +regular2= 313131 +regular6= 212121 +regular3= 111111 +regular7= 000000 +# Here, we also stay away from the white background by reusing the dark gray levels +# from above, with small variations +bright0= 818181 +bright4= 717171 +bright1= 616161 +bright5= 515151 +bright2= 414141 +bright6= 313131 +bright3= 212121 +bright7= 111111 |
