-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
84 lines (82 loc) · 3.78 KB
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css" />
<link
href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Roboto:ital,wght@0,400;0,700;1,400&display=swap"
rel="stylesheet">
<link rel="manifest" href="manifest.json">
</head>
<body>
<div id="Colorblind-Picker">
<div class="headline">
<img class="icon" src="public/assets/icon-lg.png" alt="Two cartoonish eyes with a smile, holding hands. This is the icon of the extension.">
<h1>Colorblind emulator</h1>
<a class="info-link" target="_blank" href="https://github.com/Agathebadia/colorblind-extension" rel="noopener noreferrer" aria-label="Info icon and link. It will redirect you to the github repository of project. This link will open in a new window">
<img class="info" src="public/assets/info1.png" alt="Info icon">
</a>
</div>
<form>
<h2>Achromat - No colors</h2>
<div class="option" id="option-achromatopsia">
<input id="radio-7" class="radio-custom" name="radio-group" type="radio" />
<label for="radio-7" class="radio-custom-label">Achromatopsia -
<span class="small-font-size">Without color</span>
</label>
</div>
<div class="option" id="option-achromatomaly">
<input id="radio-8" class="radio-custom" name="radio-group" type="radio" />
<label for="radio-8" class="radio-custom-label">Achromatomaly -
<span class="small-font-size">Faded colors</span>
</label>
</button>
</div>
<h2>Protan - Red colors</h2>
<div class="option" id="option-protanopia">
<input id="radio-1" class="radio-custom" name="radio-group" type="radio" />
<label for="radio-1" class="radio-custom-label">Protanopia -
<span class="small-font-size">Red colordblindness</span>
</label>
</div>
<div class="option" id="option-protanomaly">
<input id="radio-2" class="radio-custom" name="radio-group" type="radio" />
<label for="radio-2" class="radio-custom-label">Protanomaly -
<span class="small-font-size">Partial red colorblindness</span>
</label>
</div>
<h2>Deutan - Green colors</h2>
<div class="option" id="option-deuteranopia">
<input id="radio-3" class="radio-custom" name="radio-group" type="radio" />
<label for="radio-3" class="radio-custom-label">Deuteranopia -
<span class="small-font-size">Green colordblindness</span>
</label>
</div>
<div class="option" id="option-deuteranomaly">
<input id="radio-4" class="radio-custom" name="radio-group" type="radio" />
<label for="radio-4" class="radio-custom-label">Deuteranomaly -
<span class="small-font-size">Partial green colorblindness</span>
</label>
</div>
<h2>Tritan - Blue colors</h2>
<div class="option" id="option-tritanopia">
<input id="radio-5" class="radio-custom" name="radio-group" type="radio" />
<label for="radio-5" class="radio-custom-label">Tritanopia -
<span class="small-font-size">Blue colorblindness</span>
</label>
</div>
<div class="option" id="option-tritanomaly">
<input id="radio-6" class="radio-custom" name="radio-group" type="radio" />
<label for="radio-6" class="radio-custom-label">Tritanomaly -
<span class="small-font-size">Partial blue colorblindness</span>
</label>
</div>
<h2>Trichromat - No colorblindness</h2>
<div id="option-normal" class="option">
<input id="radio-0" class="radio-custom" name="radio-group" type="radio" checked />
<label for="radio-0" class="radio-custom-label">Trichromacy</label>
</div>
</form>
</div>
<script src="colorblindListener.js"></script>
</body>
</html>