-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
37 lines (36 loc) · 1.1 KB
/
popup.html
File metadata and controls
37 lines (36 loc) · 1.1 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Color Contrast Helper</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="main-container">
<div id="mode-filter">
<button class="active">manual</button>
<button>auto</button>
</div>
<div id="app-container">
<div id="manual">
<div class="color-container">
<label for="foreground">Foreground:</label>
<input type="color" id="foreground" value="#000000">
</div>
<div class="color-container">
<label for="background">Background:</label>
<input type="color" id="background" value="#FFFFFF">
</div>
<button id="checkContrast">Check Contrast</button>
<p id="result">Result: <span id="contrastRatio">--</span></p>
</div>
<div id="auto" class="hidden">
<p>In development</p>
<button id="contribute">contribute</button>
</div>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>