Skip to content

Commit c06889c

Browse files
Copilot0xrinegade
andcommitted
Improve themes: add light themes, fix Solarized colors, add DOS/Borland theme
Co-authored-by: 0xrinegade <[email protected]>
1 parent 42376c8 commit c06889c

File tree

1 file changed

+60
-9
lines changed

1 file changed

+60
-9
lines changed

index.html

Lines changed: 60 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,66 @@
7575
--bg-primary: #002b36;
7676
--bg-secondary: #073642;
7777
--bg-tertiary: #094251;
78-
--text-primary: #839496;
79-
--text-secondary: #657b83;
80-
--text-muted: #586e75;
81-
--border-primary: #2aa198;
78+
--text-primary: #93a1a1;
79+
--text-secondary: #839496;
80+
--text-muted: #657b83;
81+
--border-primary: #b58900;
8282
--border-secondary: #094251;
83-
--accent-primary: #268bd2;
84-
--accent-hover: #2aa198;
83+
--accent-primary: #b58900;
84+
--accent-hover: #cb4b16;
8585
--error-color: #dc322f;
86-
--selection-bg: #268bd2;
86+
--selection-bg: #b58900;
8787
--checkbox-bg: #073642;
8888
}
8989

90+
[data-theme="solarized-light"] {
91+
--bg-primary: #fdf6e3;
92+
--bg-secondary: #eee8d5;
93+
--bg-tertiary: #e8e2d0;
94+
--text-primary: #657b83;
95+
--text-secondary: #839496;
96+
--text-muted: #93a1a1;
97+
--border-primary: #b58900;
98+
--border-secondary: #e8e2d0;
99+
--accent-primary: #b58900;
100+
--accent-hover: #cb4b16;
101+
--error-color: #dc322f;
102+
--selection-bg: #b58900;
103+
--checkbox-bg: #eee8d5;
104+
}
105+
106+
[data-theme="github-light"] {
107+
--bg-primary: #ffffff;
108+
--bg-secondary: #f6f8fa;
109+
--bg-tertiary: #eaeef2;
110+
--text-primary: #24292f;
111+
--text-secondary: #57606a;
112+
--text-muted: #6e7781;
113+
--border-primary: #24292f;
114+
--border-secondary: #d0d7de;
115+
--accent-primary: #0969da;
116+
--accent-hover: #0550ae;
117+
--error-color: #cf222e;
118+
--selection-bg: #0969da;
119+
--checkbox-bg: #f6f8fa;
120+
}
121+
122+
[data-theme="dos"] {
123+
--bg-primary: #0000aa;
124+
--bg-secondary: #0000bb;
125+
--bg-tertiary: #0000cc;
126+
--text-primary: #aaaaaa;
127+
--text-secondary: #ffffff;
128+
--text-muted: #888888;
129+
--border-primary: #5555ff;
130+
--border-secondary: #0000cc;
131+
--accent-primary: #55ffff;
132+
--accent-hover: #ffff55;
133+
--error-color: #ff5555;
134+
--selection-bg: #55ffff;
135+
--checkbox-bg: #0000bb;
136+
}
137+
90138
[data-theme="dracula"] {
91139
--bg-primary: #282a36;
92140
--bg-secondary: #21222c;
@@ -964,13 +1012,16 @@ <h1>idlhub.com - Solana IDL Registry</h1>
9641012
</button>
9651013
<div class="theme-dropdown" id="themeDropdown">
9661014
<div class="theme-option" data-theme="light">Light</div>
1015+
<div class="theme-option" data-theme="github-light">GitHub Light</div>
1016+
<div class="theme-option" data-theme="solarized-light">Solarized Light</div>
9671017
<div class="theme-option" data-theme="dark">Dark</div>
1018+
<div class="theme-option" data-theme="solarized">Solarized Dark</div>
9681019
<div class="theme-option" data-theme="night">Night</div>
969-
<div class="theme-option" data-theme="terminal">Terminal</div>
970-
<div class="theme-option" data-theme="solarized">Solarized</div>
9711020
<div class="theme-option" data-theme="dracula">Dracula</div>
9721021
<div class="theme-option" data-theme="nord">Nord</div>
9731022
<div class="theme-option" data-theme="onedark">One Dark</div>
1023+
<div class="theme-option" data-theme="terminal">Terminal</div>
1024+
<div class="theme-option" data-theme="dos">DOS / Borland</div>
9741025
</div>
9751026
</div>
9761027
<button class="bookmark-btn" id="showBookmarksBtn">

0 commit comments

Comments
 (0)