Skip to content

Commit 7636376

Browse files
Happy halloween!
1 parent 0840138 commit 7636376

File tree

9 files changed

+25
-100
lines changed

9 files changed

+25
-100
lines changed

src/public/css/globals.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/public/css/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/public/fonts/Nosifer-Regular.ttf

40.5 KB
Binary file not shown.

src/public/fonts/OFL.txt

Lines changed: 0 additions & 93 deletions
This file was deleted.
Binary file not shown.
1.97 MB
Binary file not shown.

src/public/js/settings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function reset() {
127127
bareChange(window.location.origin + '/bare/');
128128
setTitle('Ruby');
129129
favicon('/favicon.ico');
130-
theme('default');
130+
theme('halloween');
131131
searchSettings('https://www.google.com/search?q=%s');
132132
proxyChange('uv');
133133
fullScreenChange('page');
@@ -194,7 +194,7 @@ function init() {
194194
localStorage.setItem('init', true);
195195
localStorage.setItem('title', 'Ruby');
196196
localStorage.setItem('favicon', '/favicon.ico');
197-
localStorage.setItem('theme', 'default');
197+
localStorage.setItem('theme', 'halloween');
198198
localStorage.setItem('searchEngine', 'https://www.google.com/search?q=%s');
199199
localStorage.setItem('proxy', 'uv');
200200
localStorage.setItem('bare', window.location.origin + '/bare/');

src/public/sass/globals.scss

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
--scroll-bar-thumb-color: hsl(209 50% 80%);
88
--scroll-bar-thumb-hover-color: hsl(209 50% 90%);
99
--input-bg-color: hsl(209 50% 10%);
10-
--font: 'Exo 2', sans-serif;
11-
}
10+
--font: 'Exo 2', sans-serif;
11+
font-family: var(--font);
12+
}
1213
.pink {
1314
--bg-color: hsl(310 50% 90%);
1415
--text-color: hsl(310 50% 15%);
@@ -314,7 +315,18 @@
314315
--scroll-bar-thumb-color: #3cb371;
315316
--scroll-bar-thumb-hover-color: #3cb371;
316317
--input-bg-color: #2f2f2f;
317-
--font: 'terminal';
318+
font-family: 'terminal';
319+
}
320+
.halloween {
321+
--bg-color: #13171f;
322+
--text-color: #e48500;
323+
--border-color: #e48500;
324+
--text-bg-color: #110013;
325+
--scroll-bar-track-color: #13171f;
326+
--scroll-bar-thumb-color: #e48500;
327+
--scroll-bar-thumb-hover-color: #e48500;
328+
--input-bg-color: #13171f;
329+
font-family: 'halloween';
318330
}
319331
.rainbow {
320332
--bg-color: linear-gradient(
@@ -418,3 +430,8 @@ body {
418430
font-display: swap;
419431
src: url('/fonts/Exo2-VariableFont_wght.ttf') format('truetype');
420432
}
433+
@font-face {
434+
font-family: halloween;
435+
src: url('/fonts/halloween-halloween-regular-400.ttf') format('truetype');
436+
437+
}

src/views/components/settings.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
<option value="earth">Earth</option>
7373
<option value="connected">Connected</option>
7474
<option value="terminal">Terminal</option>
75+
<option value="halloween">Halloween</option>
7576
<option value="rainbow">Rainbow</option>
7677
</select>
7778
</div>

0 commit comments

Comments
 (0)