|
24 | 24 | transition={flyAndScale}
|
25 | 25 | >
|
26 | 26 | <ContextMenu.Item
|
27 |
| - class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-medium outline-none transition-all duration-75 data-[highlighted]:bg-muted" |
| 27 | + class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-medium outline-none transition-colors data-[highlighted]:bg-muted" |
28 | 28 | >
|
29 | 29 | <div class="flex items-center">
|
30 | 30 | <PencilSimpleLine class="mr-2 text-foreground-alt sq-5" />
|
31 | 31 | Edit
|
32 | 32 | </div>
|
33 | 33 | <div class="ml-auto flex items-center gap-px">
|
34 | 34 | <kbd
|
35 |
| - class="inline-flex h-5 w-5 items-center justify-center rounded-button border border-dark-10 bg-background text-xs text-muted-foreground shadow-kbd" |
| 35 | + class="inline-flex items-center justify-center rounded-button border border-dark-10 bg-background text-xs text-muted-foreground shadow-kbd sq-5" |
36 | 36 | >
|
37 | 37 | ⌘
|
38 | 38 | </kbd>
|
39 | 39 | <kbd
|
40 |
| - class="inline-flex h-5 w-5 items-center justify-center rounded-button border border-dark-10 bg-background text-[10px] text-muted-foreground shadow-kbd" |
| 40 | + class="inline-flex items-center justify-center rounded-button border border-dark-10 bg-background text-[10px] text-muted-foreground shadow-kbd sq-5" |
41 | 41 | >
|
42 | 42 | E
|
43 | 43 | </kbd>
|
44 | 44 | </div>
|
45 | 45 | </ContextMenu.Item>
|
46 | 46 | <ContextMenu.Sub>
|
47 | 47 | <ContextMenu.SubTrigger
|
48 |
| - class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-medium outline-none transition-all duration-75 data-[highlighted]:bg-muted data-[state=open]:bg-muted" |
| 48 | + class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-medium outline-none transition-colors data-[highlighted]:bg-muted data-[state=open]:bg-muted" |
49 | 49 | >
|
50 | 50 | <div class="flex items-center">
|
51 | 51 | <PlusCircle class="mr-2 text-foreground-alt sq-5" />
|
52 | 52 | Add
|
53 | 53 | </div>
|
54 | 54 | <div class="ml-auto flex items-center gap-px">
|
55 | 55 | <kbd
|
56 |
| - class="inline-flex h-5 w-5 items-center justify-center rounded-button border border-dark-10 bg-background text-xs text-muted-foreground shadow-kbd" |
| 56 | + class="inline-flex items-center justify-center rounded-button border border-dark-10 bg-background text-xs text-muted-foreground shadow-kbd sq-5" |
57 | 57 | >
|
58 | 58 | ⌘
|
59 | 59 | </kbd>
|
60 | 60 | <kbd
|
61 |
| - class="inline-flex h-5 w-5 items-center justify-center rounded-button border border-dark-10 bg-background text-[10px] text-muted-foreground shadow-kbd" |
| 61 | + class="inline-flex items-center justify-center rounded-button border border-dark-10 bg-background text-[10px] text-muted-foreground shadow-kbd sq-5" |
62 | 62 | >
|
63 | 63 | N
|
64 | 64 | </kbd>
|
65 | 65 | </div>
|
66 | 66 | </ContextMenu.SubTrigger>
|
67 | 67 | <ContextMenu.SubContent
|
68 |
| - class="z-50 w-full max-w-[209px] rounded-xl border border-muted bg-background px-1 py-1.5 shadow-popover outline-none" |
| 68 | + class="z-50 w-full max-w-[209px] select-none rounded-xl border border-muted bg-background px-1 py-1.5 shadow-popover outline-none" |
69 | 69 | transition={flyAndScale}
|
70 | 70 | sideOffset={10}
|
71 | 71 | >
|
72 | 72 | <ContextMenu.Item
|
73 |
| - class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-all duration-75 data-[highlighted]:bg-muted" |
| 73 | + class="flex h-10 items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-colors data-[highlighted]:bg-muted" |
74 | 74 | >
|
75 | 75 | Header
|
76 | 76 | </ContextMenu.Item>
|
77 | 77 | <ContextMenu.Item
|
78 |
| - class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-all duration-75 data-[highlighted]:bg-muted" |
| 78 | + class="flex h-10 items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-colors data-[highlighted]:bg-muted" |
79 | 79 | >
|
80 | 80 | Paragraph
|
81 | 81 | </ContextMenu.Item>
|
82 | 82 | <ContextMenu.Item
|
83 |
| - class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-all duration-75 data-[highlighted]:bg-muted" |
| 83 | + class="flex h-10 items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-colors data-[highlighted]:bg-muted" |
84 | 84 | >
|
85 | 85 | Codeblock
|
86 | 86 | </ContextMenu.Item>
|
87 | 87 | <ContextMenu.Item
|
88 |
| - class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-all duration-75 data-[highlighted]:bg-muted" |
| 88 | + class="flex h-10 items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-colors data-[highlighted]:bg-muted" |
89 | 89 | >
|
90 | 90 | List
|
91 | 91 | </ContextMenu.Item>
|
92 | 92 | <ContextMenu.Item
|
93 |
| - class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-all duration-75 data-[highlighted]:bg-muted" |
| 93 | + class="flex h-10 items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-normal outline-none transition-colors data-[highlighted]:bg-muted" |
94 | 94 | >
|
95 | 95 | Task
|
96 | 96 | </ContextMenu.Item>
|
97 | 97 | </ContextMenu.SubContent>
|
98 | 98 | </ContextMenu.Sub>
|
99 | 99 | <ContextMenu.Item
|
100 |
| - class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-medium outline-none transition-all duration-75 data-[highlighted]:bg-muted" |
| 100 | + class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-medium outline-none transition-colors data-[highlighted]:bg-muted" |
101 | 101 | >
|
102 | 102 | <div class="flex items-center">
|
103 | 103 | <CopySimple class="mr-2 text-foreground-alt sq-5" />
|
104 | 104 | Duplicate
|
105 | 105 | </div>
|
106 | 106 | <div class="ml-auto flex items-center gap-px">
|
107 | 107 | <kbd
|
108 |
| - class="inline-flex h-5 w-5 items-center justify-center rounded-button border border-dark-10 bg-background text-xs text-muted-foreground shadow-kbd" |
| 108 | + class="inline-flex items-center justify-center rounded-button border border-dark-10 bg-background text-xs text-muted-foreground shadow-kbd sq-5" |
109 | 109 | >
|
110 | 110 | ⌘
|
111 | 111 | </kbd>
|
112 | 112 | <kbd
|
113 |
| - class="inline-flex h-5 w-5 items-center justify-center rounded-button border border-dark-10 bg-background text-[10px] text-muted-foreground shadow-kbd" |
| 113 | + class="inline-flex items-center justify-center rounded-button border border-dark-10 bg-background text-[10px] text-muted-foreground shadow-kbd sq-5" |
114 | 114 | >
|
115 | 115 | D
|
116 | 116 | </kbd>
|
117 | 117 | </div>
|
118 | 118 | </ContextMenu.Item>
|
119 |
| - <ContextMenu.Separator class="my-1 -ml-1 -mr-1 block h-px bg-muted" /> |
| 119 | + <ContextMenu.Separator class="-mx-1 my-1 block h-px bg-muted" /> |
120 | 120 | <ContextMenu.Item
|
121 |
| - class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-medium outline-none transition-all duration-75 data-[highlighted]:bg-muted" |
| 121 | + class="flex h-10 select-none items-center rounded-button py-3 pl-3 pr-1.5 text-sm font-medium outline-none transition-colors data-[highlighted]:bg-muted" |
122 | 122 | >
|
123 | 123 | <div class="flex items-center">
|
124 | 124 | <Trash class="mr-2 text-foreground-alt sq-5" />
|
|
0 commit comments