|
7 | 7 | v-for="script in attachedScriptResource.data" |
8 | 8 | href="#" |
9 | 9 | :class="{ |
10 | | - 'text-gray-600 dark:text-gray-500': activeScript !== script, |
11 | | - 'font-medium dark:text-zinc-200': activeScript === script, |
| 10 | + 'text-text-icons-gray-5': activeScript !== script, |
| 11 | + 'font-medium text-text-icons-gray-8': activeScript === script, |
12 | 12 | }" |
13 | 13 | @click="selectScript(script)" |
14 | 14 | class="group flex items-center justify-between gap-1 text-sm last-of-type:mb-2"> |
|
33 | 33 | { label: 'CSS', onClick: () => addScript('CSS') }, |
34 | 34 | ]" |
35 | 35 | size="sm" |
36 | | - class="flex-1 [&>div>div>div]:w-full" |
37 | | - placement="right"> |
| 36 | + class="flex-1 [&>div>div>div]:w-full"> |
38 | 37 | <template v-slot="{ open }"> |
39 | | - <BuilderButton |
40 | | - class="w-full text-xs dark:bg-zinc-800 dark:text-zinc-200 dark:hover:bg-zinc-700" |
41 | | - @click="open"> |
42 | | - New Script |
43 | | - </BuilderButton> |
| 38 | + <BuilderButton class="w-full text-xs" @click="open">New Script</BuilderButton> |
44 | 39 | </template> |
45 | 40 | </Dropdown> |
46 | 41 | <Dropdown |
|
49 | 44 | size="sm" |
50 | 45 | class="max-w-60 flex-1 [&>div>div>div]:w-full"> |
51 | 46 | <template v-slot="{ open }"> |
52 | | - <BuilderButton |
53 | | - class="w-full text-xs dark:bg-zinc-800 dark:text-zinc-200 dark:hover:bg-zinc-700" |
54 | | - @click="open"> |
55 | | - Attach Script |
56 | | - </BuilderButton> |
| 47 | + <BuilderButton class="w-full text-xs" @click="open">Attach Script</BuilderButton> |
57 | 48 | </template> |
58 | 49 | </Dropdown> |
59 | 50 | </div> |
60 | 51 | </div> |
61 | | - <div class="text-xs text-gray-600 dark:text-zinc-300"> |
| 52 | + <div class="text-xs leading-4 text-text-icons-gray-6"> |
62 | 53 | <b>Note:</b> |
63 | 54 | All client scripts are executed in preview mode and on published pages. |
64 | 55 | </div> |
65 | 56 | </div> |
66 | 57 | </div> |
67 | 58 | <div |
68 | | - class="flex h-full w-full items-center justify-center rounded bg-surface-gray-1 text-base text-gray-600 dark:text-zinc-500" |
| 59 | + class="flex h-full w-full items-center justify-center rounded bg-surface-gray-1 text-base text-text-icons-gray-6" |
69 | 60 | v-show="!activeScript"> |
70 | 61 | Add Script |
71 | 62 | </div> |
|
0 commit comments