File tree Expand file tree Collapse file tree 4 files changed +17
-9
lines changed
Expand file tree Collapse file tree 4 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 77 " hugeicons" ,
88 " iconify" ,
99 " pinia" ,
10+ " Pretendard" ,
1011 " smplr" ,
1112 " solidjs" ,
1213 " tabler" ,
Original file line number Diff line number Diff line change @@ -148,10 +148,10 @@ export const SFileItem = (props: SFileItemProps) => {
148148 </ span >
149149 < Show
150150 when = { innerProps . inProgress }
151- fallback = { < span class = "w-5 h-5 flex-shrink-0 i-tabler:piano" /> }
151+ fallback = { < span class = "w-5 h-5 c-black flex-shrink-0 i-tabler:piano" /> }
152152 >
153153 < span class = "scale-140 inline-flex origin-center flex-shrink-0" >
154- < span class = { cx ( 'inline-block i-tabler:loader-2 text -black' , 'animate-spin' ) } />
154+ < span class = { cx ( 'inline-block i-tabler:loader-2 c -black' , 'animate-spin' ) } />
155155 </ span >
156156 </ Show >
157157 < Show when = { innerProps . ext && innerProps . ext !== 'midi' && ! innerProps . inProgress } >
Original file line number Diff line number Diff line change @@ -13,10 +13,6 @@ export interface SSettingItemProps<T extends SSettingItemType>
1313 value ?: T extends 'switch' ? boolean : number
1414}
1515
16- const handleTouchEnd : JSX . EventHandlerUnion < HTMLInputElement , TouchEvent > = ( event ) => {
17- ; ( event . target as any ) ?. click ( )
18- }
19-
2016export function SSettingItem < T extends SSettingItemType > ( props : SSettingItemProps < T > ) {
2117 const [ innerProps , restProps ] = splitProps ( props , [
2218 'label' ,
@@ -56,7 +52,6 @@ export function SSettingItem<T extends SSettingItemType>(props: SSettingItemProp
5652 class = "w-6 h-6 touch-none"
5753 checked = { typeof innerProps . value === 'boolean' ? innerProps . value : false }
5854 onChange = { handleSwitchChange }
59- onTouchEnd = { handleTouchEnd }
6055 />
6156 </ Match >
6257 < Match when = { innerProps . type === 'slider' } >
Original file line number Diff line number Diff line change @@ -16,18 +16,30 @@ export default createHandler(() => (
1616 < meta name = "theme-color" content = "#eee" />
1717 < link rel = "mask-icon" href = "/favicon.svg" color = "#00aba9" />
1818 < link rel = "apple-touch-icon" href = "/apple-touch-icon-180x180.png" />
19+ < link
20+ rel = "stylesheet"
21+ as = "style"
22+ crossorigin = ""
23+ href = "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css"
24+ />
1925 < link rel = "icon" href = "/favicon.svg" type = "image/svg+xml" />
2026 < link rel = "mask-icon" href = "/favicon.svg" color = "#00aba9" />
2127 < link rel = "manifest" href = "/manifest.json" />
2228 < style type = "text/css" >
23- { `body {
29+ { `
30+ body {
2431 position: relative;
2532 overflow: hidden;
2633 margin: 0;
2734 height:100;
2835 height: 100dvh;
2936 height: --webkit-fill-available;
30- }` }
37+ font-family: "Pretendard Variable", sans-serif;
38+ }
39+ button {
40+ font-family: inherit;
41+ }
42+ ` }
3143 </ style >
3244 { assets }
3345 </ head >
You can’t perform that action at this time.
0 commit comments