File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 import Clock from " ./lib/components/Clock.svelte" ;
44 import SocialsRow from " ./lib/components/SocialsRow.svelte" ;
55
6- import { theme } from " ./lib/state/theme.svelte" ;
76 import { onMount } from " svelte" ;
87
98 let scrollIndicator: SVGElement ;
109
11- let textColour = $derived (
12- theme .isDark
13- ? " oklch(0.9644 0.0282 74.31)"
14- : " oklch(0.2316 0.0373 288.04)" ,
15- );
16-
1710 function removeScrollIndicator() {
1811 scrollIndicator .classList .remove (" animate-bounce" );
1912 scrollIndicator .classList .add (" slide-down" );
5548 >
5649 <path
5750 d =" M15 15 L30 30 L45 15"
58- stroke ={ textColour }
51+ stroke =" currentColor "
5952 stroke-width =" 2"
6053 fill =" none"
6154 />
Original file line number Diff line number Diff line change 11<script lang =" ts" >
22 import { onDestroy , onMount } from " svelte" ;
33 import ThemeToggle from " ./ThemeToggle.svelte" ;
4- import { theme } from " ../state/theme.svelte" ;
5-
6- let textColour = $derived (
7- theme .isDark
8- ? " oklch(0.9644 0.0282 74.31)"
9- : " oklch(0.2316 0.0373 288.04)" ,
10- );
114
125 let marker: HTMLDivElement ;
136
108101 cy =" 50"
109102 r =" 45"
110103 fill =" transparent"
111- stroke ={ textColour }
104+ stroke =" currentColor "
112105 stroke-width =" 5"
113106 stroke-dasharray =" 10 100 10"
114107 vector-effect =" non-scaling-stroke"
129122 cy =" 50"
130123 r =" 25"
131124 fill =" transparent"
132- stroke ={ textColour }
125+ stroke =" currentColor "
133126 stroke-width =" 3"
134127 stroke-dasharray =" 20 80 50"
135128 vector-effect =" non-scaling-stroke"
You can’t perform that action at this time.
0 commit comments