|
8 | 8 | </script> |
9 | 9 |
|
10 | 10 | <main class="pt-20 grid grid-cols-2 gap-12 pb-20"> |
11 | | - <div class=""> |
12 | | - <h1 class="text-5xl text-gray-600 font-light leading-tight"> |
| 11 | + <div> |
| 12 | + <h1 class="text-5xl text-gray-600 dark:text-light-gray font-light leading-tight"> |
13 | 13 | Increase your productivity exponentially. |
14 | 14 | </h1> |
15 | | - <h3 class="text-2xl mt-6 text-gray-600"> |
| 15 | + <h3 class="text-2xl mt-6 text-gray-600 dark:text-light-gray"> |
16 | 16 | Use <KeyboardShortcut |
17 | 17 | on:onShortcutClick={openCommandPalette} |
18 | 18 | shortcuts={['⌘', 'K']} |
|
21 | 21 | </h3> |
22 | 22 | </div> |
23 | 23 | <div> |
24 | | - <h1 class="text-4xl text-gray-600 font-light leading-tight">Keyboard Shorcuts</h1> |
| 24 | + <h1 class="text-4xl text-gray-600 dark:text-light-gray font-light leading-tight"> |
| 25 | + Keyboard Shorcuts |
| 26 | + </h1> |
25 | 27 | <div class="mt-4"> |
26 | | - <h3 class="text-lg mt-6 text-gray-600"> |
| 28 | + <h3 class="text-lg mt-6 text-gray-600 dark:text-light-gray"> |
27 | 29 | Press or hold <KeyboardShortcut |
28 | 30 | shortcuts={['C', 'C']} |
29 | 31 | theme="secondary" |
|
34 | 36 | </div> |
35 | 37 | </div> |
36 | 38 | <div> |
37 | | - <h1 class="text-4xl text-gray-600 font-light leading-tight">Conditional Actions</h1> |
| 39 | + <h1 class="text-4xl text-gray-600 dark:text-light-gray font-light leading-tight"> |
| 40 | + Conditional Actions |
| 41 | + </h1> |
38 | 42 | <div class="mt-4"> |
39 | | - <h3 class="text-lg mt-6 text-gray-600"> |
| 43 | + <h3 class="text-lg mt-6 text-gray-600 dark:text-light-gray"> |
40 | 44 | This will only run when the counter is greater than 2. |
41 | 45 | </h3> |
42 | 46 | </div> |
43 | | - <div class="mt-4 flex items-center flex-col justify-center bg-slate-50 shadow text-xl p-20"> |
| 47 | + <div |
| 48 | + class="mt-4 flex items-center flex-col justify-center bg-slate-50 dark:bg-gray-700 shadow text-xl p-20" |
| 49 | + > |
44 | 50 | {#if counter < 3} |
45 | 51 | <div class:text-red-500={counter < 3}> |
46 | 52 | Just need {3 - counter} more |
47 | 53 | </div> |
48 | 54 | {/if} |
49 | 55 | {#if counter > 2} |
50 | | - <div class="mt-4"> |
| 56 | + <div class="mt-4 dark:text-light-gray"> |
51 | 57 | Press <KeyboardShortcut |
52 | 58 | on:onShortcutClick={runConditionalAction} |
53 | 59 | shortcuts={['F', 'B', 'I']} |
|
58 | 64 | </div> |
59 | 65 | </div> |
60 | 66 | <div> |
61 | | - <h1 class="text-4xl text-gray-600 font-light leading-tight">Advanced Conditional Actions</h1> |
| 67 | + <h1 class="text-4xl text-gray-600 dark:text-light-gray font-light leading-tight"> |
| 68 | + Advanced Conditional Actions |
| 69 | + </h1> |
62 | 70 | <div class="mt-4"> |
63 | | - <h3 class="text-lg mt-6 text-gray-600"> |
| 71 | + <h3 class="text-lg mt-6 text-gray-600 dark:text-light-gray"> |
64 | 72 | You can run an action based on the current state of your command palette. Press <KeyboardShortcut |
65 | 73 | shortcuts={['C', 'I', 'A']} |
66 | 74 | theme="secondary" |
67 | 75 | /> to run this action |
68 | 76 | </h3> |
69 | 77 | </div> |
70 | 78 | <div class="mt-8"> |
71 | | - <div class="text-lg"> |
| 79 | + <div class="text-lg dark:text-light-gray"> |
72 | 80 | You must run <KeyboardShortcut |
73 | 81 | on:onShortcutClick={runConditionalAction} |
74 | 82 | shortcuts={['F', 'B', 'I']} |
75 | 83 | theme="secondary" |
76 | 84 | /> atleast once to enable this action |
77 | 85 | </div> |
78 | | - <div class="text-base mt-4"> |
| 86 | + <div class="text-base mt-4 dark:text-light-gray "> |
79 | 87 | Note: You can update your |
80 | | - <div class="inline text-xl font-bold p-1 rounded font-mono">paletteStore</div> |
| 88 | + <div class="inline text-xl font-bold p-1 dark:text-light-gray rounded font-mono"> |
| 89 | + paletteStore |
| 90 | + </div> |
81 | 91 | from anywhere! |
82 | 92 | </div> |
83 | 93 | </div> |
|
0 commit comments