-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
61 lines (51 loc) · 2.07 KB
/
popup.html
File metadata and controls
61 lines (51 loc) · 2.07 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Font Changer — All Fonts</title>
<link rel="stylesheet" href="focus-mod.css" />
</head>
<body>
<h3>LeetCode Customizer</h3>
<div class="controls">
<input id="search" type="search" placeholder="🔍 Search fonts "/>
</div>
<div class="select-row">
<div style="flex:1">
<input id="uiChoice" placeholder="UI font" readonly/>
</div>
<div style="flex:1">
<input id="codeChoice" placeholder="Code font" readonly/>
</div>
</div>
<div class="select-row">
<div class="input-wrapper" style="flex:1">
<label class="size-label">UI Size (px)</label>
<div class="size-control-row">
<input type="range" id="uiSizeRange" min="10" max="30" value="14" step="1">
<input type="number" id="uiSizeInput" value="14" min="10" max="30">
</div>
</div>
<div class="input-wrapper" style="flex:1">
<label class="size-label">Code Size (px)</label>
<div class="size-control-row">
<input type="range" id="codeSizeRange" min="10" max="30" value="14" step="1">
<input type="number" id="codeSizeInput" value="14" min="10" max="30">
</div>
</div>
</div>
<div class="select-row" style="align-items: center; justify-content: space-between; background: #323232; padding: 8px 12px; border-radius: 6px;">
<input type="color" id="bgColorPicker" value="#1a1a1a" style="cursor: pointer; height: 28px; width: 50px; padding: 0; border: 1px solid #3a3a3a; border-radius: 4px; background: transparent;">
<label for="bgColorPicker" style="color: #9ca3af; font-size: 13px; font-weight: 500;">Customize Your Editor Background</label>
</div>
<div style="display:flex;gap:8px;margin-bottom:8px">
<button id="apply">Apply</button>
<button class="secondary" id="reset">Reset</button>
<div style="flex:1"></div>
</div>
<div id="fontList" aria-live="polite"></div>
<div id="loading">Loading fonts…</div>
<script src="popup.js"></script>
</body>
</html>