Skip to content

Commit f956a53

Browse files
authored
Add Modus colorblind theme variants (#722)
Add deuteranopia- and tritanopia-optimized variants of the Modus themes for both Modus Operandi (light) and Modus Vivendi (dark): - Modus Operandi Deuteranopia / Tritanopia - Modus Vivendi Deuteranopia / Tritanopia Each is derived from the existing accepted base scheme by overriding only the ANSI palette slots the canonical modus-themes colorblind palettes change (yellow and yellow-warmer for deuteranopia; additionally red-warmer for tritanopia), so the variants inherit the base themes' exact values and differ only by the intended accessibility adjustments. Colors come from the canonical modus-themes palettes by Protesilaos Stavrou. Generated all terminal outputs with tools/gen.py and screenshots with screenshot_gen; tools/wcag_check.py passes for all four.
1 parent a940ffd commit f956a53

143 files changed

Lines changed: 6669 additions & 1152 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CREDITS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,3 +561,5 @@ The London Columbia Road, London Soho Night, London Bonfire Night, and London Em
561561
The Serendipity (Midnight, Morning, Sunset) and Sequoia (Moonlight, Monochrome, Retro — dark and light) themes were created by [Michael Andreuzza](https://github.com/michael-andreuzza). Source: [Serendipity-Theme](https://github.com/michael-andreuzza/Serendipity-Theme) and [Sequoia-Theme](https://github.com/michael-andreuzza/Sequoia-Theme).
562562

563563
The Acid Lime, Aubade, Citrus Ink, Daybreak, Driftwood, Eclipse, Forge Ember, Frostbyte, Graphite, Green Phosphor CRT, Letterpress, Matcha Zen, Miami Heat, Nebula Drift, Opaline, Oxblood, Patina, Porcelain, Prism, Velvet Court, Verdigris, and Amber CRT Retro themes were created by [PoshPalette](https://github.com/livlign/posh-palette), an interactive PowerShell + Windows Terminal theme picker. Browse them at https://livlign.github.io/posh-palette/themes.html
564+
565+
The Modus Operandi Deuteranopia, Modus Operandi Tritanopia, Modus Vivendi Deuteranopia, and Modus Vivendi Tritanopia themes are the colorblind-optimized variants (deuteranopia for red-green deficiency, tritanopia for blue-yellow deficiency) of the existing Modus themes, using the canonical palettes from [modus-themes](https://github.com/protesilaos/modus-themes) by [Protesilaos Stavrou](https://github.com/protesilaos). Contributed by [Aaron Kuehler](https://github.com/indiebrain).

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,6 +1254,18 @@ The screenshots are categorized.
12541254

12551255
![Screenshot](/screenshots/modus-vivendi.png)
12561256

1257+
### Modus Vivendi Deuteranopia
1258+
1259+
Optimized for deuteranopia (red-green color blindness), the most common form.
1260+
1261+
![Screenshot](/screenshots/modus-vivendi-deuteranopia.png)
1262+
1263+
### Modus Vivendi Tritanopia
1264+
1265+
Optimized for tritanopia (blue-yellow color blindness).
1266+
1267+
![Screenshot](/screenshots/modus-vivendi-tritanopia.png)
1268+
12571269
### Molokai
12581270

12591271
![Screenshot](/screenshots/molokai.png)
@@ -2272,6 +2284,18 @@ The screenshots are categorized.
22722284

22732285
![Screenshot](/screenshots/modus-operandi.png)
22742286

2287+
### Modus Operandi Deuteranopia
2288+
2289+
Optimized for deuteranopia (red-green color blindness), the most common form.
2290+
2291+
![Screenshot](/screenshots/modus-operandi-deuteranopia.png)
2292+
2293+
### Modus Operandi Tritanopia
2294+
2295+
Optimized for tritanopia (blue-yellow color blindness).
2296+
2297+
![Screenshot](/screenshots/modus-operandi-tritanopia.png)
2298+
22752299
### Monokai Pro Light Sun
22762300

22772301
![Screenshot](/screenshots/monokai-pro-light-sun.png)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
!
2+
! Modus Operandi Deuteranopia
3+
!
4+
*.foreground: #000000
5+
*.background: #ffffff
6+
*.cursorColor: #000000
7+
!
8+
! Black
9+
*.color0: #000000
10+
*.color8: #595959
11+
!
12+
! Red
13+
*.color1: #a60000
14+
*.color9: #972500
15+
!
16+
! Green
17+
*.color2: #006800
18+
*.color10: #00663f
19+
!
20+
! Yellow
21+
*.color3: #695500
22+
*.color11: #973300
23+
!
24+
! Blue
25+
*.color4: #0031a9
26+
*.color12: #3548cf
27+
!
28+
! Magenta
29+
*.color5: #721045
30+
*.color13: #531ab6
31+
!
32+
! Cyan
33+
*.color6: #005e8b
34+
*.color14: #005f5f
35+
!
36+
! White
37+
*.color7: #a6a6a6
38+
*.color15: #595959
39+
!
40+
! Bold, Italic, Underline
41+
*.colorBD: #000000
42+
!*.colorIT:
43+
!*.colorUL:
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
!
2+
! Modus Operandi Tritanopia
3+
!
4+
*.foreground: #000000
5+
*.background: #ffffff
6+
*.cursorColor: #000000
7+
!
8+
! Black
9+
*.color0: #000000
10+
*.color8: #595959
11+
!
12+
! Red
13+
*.color1: #a60000
14+
*.color9: #b21100
15+
!
16+
! Green
17+
*.color2: #006800
18+
*.color10: #00663f
19+
!
20+
! Yellow
21+
*.color3: #695500
22+
*.color11: #973300
23+
!
24+
! Blue
25+
*.color4: #0031a9
26+
*.color12: #3548cf
27+
!
28+
! Magenta
29+
*.color5: #721045
30+
*.color13: #531ab6
31+
!
32+
! Cyan
33+
*.color6: #005e8b
34+
*.color14: #005f5f
35+
!
36+
! White
37+
*.color7: #a6a6a6
38+
*.color15: #595959
39+
!
40+
! Bold, Italic, Underline
41+
*.colorBD: #000000
42+
!*.colorIT:
43+
!*.colorUL:
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
!
2+
! Modus Vivendi Deuteranopia
3+
!
4+
*.foreground: #ffffff
5+
*.background: #000000
6+
*.cursorColor: #ffffff
7+
!
8+
! Black
9+
*.color0: #000000
10+
*.color8: #595959
11+
!
12+
! Red
13+
*.color1: #ff5f59
14+
*.color9: #ff7f9f
15+
!
16+
! Green
17+
*.color2: #44bc44
18+
*.color10: #00c06f
19+
!
20+
! Yellow
21+
*.color3: #cabf00
22+
*.color11: #ffa00f
23+
!
24+
! Blue
25+
*.color4: #2fafff
26+
*.color12: #79a8ff
27+
!
28+
! Magenta
29+
*.color5: #feacd0
30+
*.color13: #b6a0ff
31+
!
32+
! Cyan
33+
*.color6: #00d3d0
34+
*.color14: #6ae4b9
35+
!
36+
! White
37+
*.color7: #a6a6a6
38+
*.color15: #ffffff
39+
!
40+
! Bold, Italic, Underline
41+
*.colorBD: #ffffff
42+
!*.colorIT:
43+
!*.colorUL:
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
!
2+
! Modus Vivendi Tritanopia
3+
!
4+
*.foreground: #ffffff
5+
*.background: #000000
6+
*.cursorColor: #ffffff
7+
!
8+
! Black
9+
*.color0: #000000
10+
*.color8: #595959
11+
!
12+
! Red
13+
*.color1: #ff5f59
14+
*.color9: #ff6740
15+
!
16+
! Green
17+
*.color2: #44bc44
18+
*.color10: #00c06f
19+
!
20+
! Yellow
21+
*.color3: #cabf00
22+
*.color11: #ffa00f
23+
!
24+
! Blue
25+
*.color4: #2fafff
26+
*.color12: #79a8ff
27+
!
28+
! Magenta
29+
*.color5: #feacd0
30+
*.color13: #b6a0ff
31+
!
32+
! Cyan
33+
*.color6: #00d3d0
34+
*.color14: #6ae4b9
35+
!
36+
! White
37+
*.color7: #a6a6a6
38+
*.color15: #ffffff
39+
!
40+
! Bold, Italic, Underline
41+
*.colorBD: #ffffff
42+
!*.colorIT:
43+
!*.colorUL:
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Colors (Modus Operandi Deuteranopia)
2+
3+
[colors.bright]
4+
black = '#595959'
5+
blue = '#3548cf'
6+
cyan = '#005f5f'
7+
green = '#00663f'
8+
magenta = '#531ab6'
9+
red = '#972500'
10+
white = '#595959'
11+
yellow = '#973300'
12+
13+
[colors.cursor]
14+
cursor = '#000000'
15+
text = '#ffffff'
16+
17+
[colors.normal]
18+
black = '#000000'
19+
blue = '#0031a9'
20+
cyan = '#005e8b'
21+
green = '#006800'
22+
magenta = '#721045'
23+
red = '#a60000'
24+
white = '#a6a6a6'
25+
yellow = '#695500'
26+
27+
[colors.primary]
28+
background = '#ffffff'
29+
foreground = '#000000'
30+
31+
[colors.selection]
32+
background = '#bdbdbd'
33+
text = '#000000'
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Colors (Modus Operandi Tritanopia)
2+
3+
[colors.bright]
4+
black = '#595959'
5+
blue = '#3548cf'
6+
cyan = '#005f5f'
7+
green = '#00663f'
8+
magenta = '#531ab6'
9+
red = '#b21100'
10+
white = '#595959'
11+
yellow = '#973300'
12+
13+
[colors.cursor]
14+
cursor = '#000000'
15+
text = '#ffffff'
16+
17+
[colors.normal]
18+
black = '#000000'
19+
blue = '#0031a9'
20+
cyan = '#005e8b'
21+
green = '#006800'
22+
magenta = '#721045'
23+
red = '#a60000'
24+
white = '#a6a6a6'
25+
yellow = '#695500'
26+
27+
[colors.primary]
28+
background = '#ffffff'
29+
foreground = '#000000'
30+
31+
[colors.selection]
32+
background = '#bdbdbd'
33+
text = '#000000'
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Colors (Modus Vivendi Deuteranopia)
2+
3+
[colors.bright]
4+
black = '#595959'
5+
blue = '#79a8ff'
6+
cyan = '#6ae4b9'
7+
green = '#00c06f'
8+
magenta = '#b6a0ff'
9+
red = '#ff7f9f'
10+
white = '#ffffff'
11+
yellow = '#ffa00f'
12+
13+
[colors.cursor]
14+
cursor = '#ffffff'
15+
text = '#000000'
16+
17+
[colors.normal]
18+
black = '#000000'
19+
blue = '#2fafff'
20+
cyan = '#00d3d0'
21+
green = '#44bc44'
22+
magenta = '#feacd0'
23+
red = '#ff5f59'
24+
white = '#a6a6a6'
25+
yellow = '#cabf00'
26+
27+
[colors.primary]
28+
background = '#000000'
29+
foreground = '#ffffff'
30+
31+
[colors.selection]
32+
background = '#5a5a5a'
33+
text = '#ffffff'
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Colors (Modus Vivendi Tritanopia)
2+
3+
[colors.bright]
4+
black = '#595959'
5+
blue = '#79a8ff'
6+
cyan = '#6ae4b9'
7+
green = '#00c06f'
8+
magenta = '#b6a0ff'
9+
red = '#ff6740'
10+
white = '#ffffff'
11+
yellow = '#ffa00f'
12+
13+
[colors.cursor]
14+
cursor = '#ffffff'
15+
text = '#000000'
16+
17+
[colors.normal]
18+
black = '#000000'
19+
blue = '#2fafff'
20+
cyan = '#00d3d0'
21+
green = '#44bc44'
22+
magenta = '#feacd0'
23+
red = '#ff5f59'
24+
white = '#a6a6a6'
25+
yellow = '#cabf00'
26+
27+
[colors.primary]
28+
background = '#000000'
29+
foreground = '#ffffff'
30+
31+
[colors.selection]
32+
background = '#5a5a5a'
33+
text = '#ffffff'

0 commit comments

Comments
 (0)