File tree 2 files changed +42
-38
lines changed
2 files changed +42
-38
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,27 @@ const Time: React.FC = () => {
22
22
const ringFocusColor = RING_COLOR . focus [ primaryColor as keyof typeof RING_COLOR . focus ] ;
23
23
24
24
const svgString = `
25
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
26
- <path fill-rule="evenodd" clip-rule="evenodd" d="M8.35355 4.06066C8.15829 3.8654 7.84171 3.8654 7.64645 4.06066L5.35355 6.35355C5.15829 6.54882 4.84171 6.54882 4.64645 6.35355C4.45118 6.15829 4.45118 5.84171 4.64645 5.64645L6.93934 3.35356C7.52513 2.76777 8.47487 2.76777 9.06066 3.35355L11.3536 5.64645C11.5488 5.84171 11.5488 6.15829 11.3536 6.35355C11.1583 6.54882 10.8417 6.54882 10.6464 6.35355L8.35355 4.06066Z" fill="#6b7280"/>
27
- <path fill-rule="evenodd" clip-rule="evenodd" d="M8.35355 11.9393C8.15829 12.1346 7.84171 12.1346 7.64645 11.9393L5.35355 9.64645C5.15829 9.45119 4.84171 9.45119 4.64645 9.64645C4.45118 9.84171 4.45118 10.1583 4.64645 10.3536L6.93934 12.6464C7.52513 13.2322 8.47487 13.2322 9.06066 12.6464L11.3536 10.3536C11.5488 10.1583 11.5488 9.84171 11.3536 9.64645C11.1583 9.45119 10.8417 9.45119 10.6464 9.64645L8.35355 11.9393Z" fill="#6b7280"/>
25
+ <svg
26
+ class="flex-shrink-0 w-3 h-3"
27
+ xmlns="http://www.w3.org/2000/svg"
28
+ width="24"
29
+ height="24"
30
+ viewBox="0 0 24 24"
31
+ fill="none"
32
+ stroke="#6b7280"
33
+ stroke-width="2.5"
34
+ stroke-linecap="round"
35
+ stroke-linejoin="round"
36
+ >
37
+ <path d="m7 15 5 5 5-5"></path>
38
+ <path d="m7 9 5-5 5 5"></path>
28
39
</svg>
29
40
` ;
30
41
const dataUri = `data:image/svg+xml;base64,${ Buffer . from ( svgString ) . toString ( "base64" ) } ` ;
31
42
32
43
const selectClassname = cn (
33
- "!bg-[length:1rem_1rem ]" ,
34
- "bg-[right_0.25rem_center ]" ,
44
+ "!bg-[length:0.75rem_0.75rem ]" ,
45
+ "bg-[right_0.5rem_center ]" ,
35
46
"!bg-no-repeat !bg-transparent !text-sm !text-center !outline-none !focus:outline-none" ,
36
47
"!pl-2 !pr-6 !py-1 rounded-[8px] !w-fit" ,
37
48
"!border border-gray-300 focus:border-none" ,
Original file line number Diff line number Diff line change 1
1
{
2
- "compilerOptions" : {
3
- "target" : " esnext" ,
4
- "lib" : [
5
- " dom" ,
6
- " esnext"
7
- ],
8
- "module" : " esnext" ,
9
- "jsx" : " preserve" ,
10
- "moduleResolution" : " node" ,
11
- "forceConsistentCasingInFileNames" : true ,
12
- "strict" : true ,
13
- "noImplicitReturns" : true ,
14
- "allowSyntheticDefaultImports" : true ,
15
- "esModuleInterop" : true ,
16
- "baseUrl" : " src/" ,
17
- "declaration" : true ,
18
- "outDir" : " ./dist" ,
19
- "inlineSources" : true ,
20
- "sourceMap" : true ,
21
- "rootDir" : " src" ,
22
- "allowJs" : true ,
23
- "skipLibCheck" : true ,
24
- "noEmit" : true ,
25
- "resolveJsonModule" : true ,
26
- "isolatedModules" : true ,
27
- "incremental" : true
28
- },
29
- "include" : [
30
- " src/**/*"
31
- ],
32
- "exclude" : [
33
- " node_modules"
34
- ]
2
+ "compilerOptions" : {
3
+ "target" : " esnext" ,
4
+ "lib" : [" dom" , " esnext" ],
5
+ "module" : " esnext" ,
6
+ "jsx" : " preserve" ,
7
+ "moduleResolution" : " node" ,
8
+ "forceConsistentCasingInFileNames" : true ,
9
+ "strict" : true ,
10
+ "noImplicitReturns" : true ,
11
+ "allowSyntheticDefaultImports" : true ,
12
+ "esModuleInterop" : true ,
13
+ "baseUrl" : " src/" ,
14
+ "declaration" : true ,
15
+ "outDir" : " ./dist" ,
16
+ "inlineSources" : true ,
17
+ "sourceMap" : true ,
18
+ "rootDir" : " src" ,
19
+ "allowJs" : true ,
20
+ "skipLibCheck" : true ,
21
+ "noEmit" : true ,
22
+ "resolveJsonModule" : true ,
23
+ "isolatedModules" : true ,
24
+ "incremental" : true
25
+ },
26
+ "include" : [" src/**/*" ],
27
+ "exclude" : [" node_modules" ]
35
28
}
You can’t perform that action at this time.
0 commit comments