File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 4
4
import { getColor } from " $lib/assets/scripts/colors" ;
5
5
import type { Colors , Depths } from " $lib/assets/scripts/colors" ;
6
6
import { theme as theme_store } from " ../stores" ;
7
-
7
+ import { tweened } from " svelte/motion" ;
8
+ import { cubicInOut } from " svelte/easing" ;
8
9
9
10
// ------------------ Apperance ------------------
10
11
65
66
66
67
// ------------------ Animation ------------------
67
68
68
- import { tweened } from " svelte/motion" ;
69
- import { cubicInOut } from " svelte/easing" ;
70
- import type { IconList } from " $lib/assets/scripts/icons" ;
71
69
let anim = (dur : number ) => { return tweened (5 , { duration: dur , easing: cubicInOut }) };
72
70
let base_pos = { start: 5 , end: 45 };
73
71
let knob_pos = anim (400 ), knob_shadow_1_pos = anim (455 ), knob_shadow_2_pos = anim (510 );
You can’t perform that action at this time.
0 commit comments