Skip to content

Commit 4e811be

Browse files
committed
fix: remove all legally mandated fun
1 parent ad2f728 commit 4e811be

File tree

3 files changed

+1
-67
lines changed

3 files changed

+1
-67
lines changed

src/lib/components/general/Sidebar.svelte

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
export let drawerVariant: 'modal' | 'dismissible';
1414
export let hideTopElements: boolean;
1515
export let accessibility: boolean;
16-
export let inAccessibility: boolean;
1716
1817
$: currentPath = $page.url.pathname;
1918
$: isAdmin = !$user ? false : $user.roles.approveMods || $user.roles.approveVersions || $user.roles.editSMLVersions;
@@ -173,13 +172,6 @@
173172
<span slot="label">Accessibility Font</span>
174173
</FormField>
175174
</Item>
176-
177-
<Item class="rainbow-bg">
178-
<FormField align="end">
179-
<Switch bind:checked={inAccessibility} aria-label="Accessibility Font" />
180-
<span slot="label">In-Accessibility Font</span>
181-
</FormField>
182-
</Item>
183175
</List>
184176
</div>
185177
</Content>

src/routes/__layout.svelte

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,6 @@
7777
let accessibility = false;
7878
$: root && (accessibility ? root.classList.add('accessibility') : root.classList.remove('accessibility'));
7979
80-
let inAccessibility = false;
81-
$: root && (inAccessibility ? root.classList.add('in-accessibility') : root.classList.remove('in-accessibility'));
82-
8380
setClient(client);
8481
8582
$: isAdmin = !$user ? false : $user.roles.approveMods || $user.roles.approveVersions || $user.roles.editSMLVersions;
@@ -203,7 +200,7 @@
203200
</TopAppBar>
204201

205202
<div class="drawer-container">
206-
<Sidebar bind:open bind:accessibility bind:inAccessibility bind:drawerVariant bind:hideTopElements />
203+
<Sidebar bind:open bind:accessibility bind:drawerVariant bind:hideTopElements />
207204

208205
{#if drawerVariant === 'modal'}
209206
<Scrim fixed={false} />

src/routes/_global.postcss

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,6 @@ body.accessibility {
2121
font-family: 'Atkinson Hyperlegible', Helvetica Neue, sans-serif;
2222
}
2323

24-
@font-face {
25-
font-family: 'Dripicons';
26-
src: url('https://cdn.jsdelivr.net/gh/amitjakhu/dripicons@master/webfont/fonts/dripicons-v2.woff');
27-
}
28-
29-
html.in-accessibility,
30-
body.in-accessibility {
31-
font-family: 'Dripicons', Helvetica Neue, sans-serif;
32-
}
33-
3424
.markdown-content {
3525
@apply text-base;
3626

@@ -237,48 +227,3 @@ body.in-accessibility {
237227
grid-template-columns: minmax(0, 100%) fit-content(30%);
238228
}
239229
}
240-
241-
.rainbow-bg {
242-
animation: rainbow-bg 2.5s linear !important;
243-
animation-iteration-count: infinite !important;
244-
}
245-
246-
@keyframes rainbow-bg {
247-
100%,
248-
0% {
249-
background-color: rgb(255, 0, 0);
250-
}
251-
8% {
252-
background-color: rgb(255, 127, 0);
253-
}
254-
16% {
255-
background-color: rgb(255, 255, 0);
256-
}
257-
25% {
258-
background-color: rgb(127, 255, 0);
259-
}
260-
33% {
261-
background-color: rgb(0, 255, 0);
262-
}
263-
41% {
264-
background-color: rgb(0, 255, 127);
265-
}
266-
50% {
267-
background-color: rgb(0, 255, 255);
268-
}
269-
58% {
270-
background-color: rgb(0, 127, 255);
271-
}
272-
66% {
273-
background-color: rgb(0, 0, 255);
274-
}
275-
75% {
276-
background-color: rgb(127, 0, 255);
277-
}
278-
83% {
279-
background-color: rgb(255, 0, 255);
280-
}
281-
91% {
282-
background-color: rgb(255, 0, 127);
283-
}
284-
}

0 commit comments

Comments
 (0)