Skip to content

Commit 3b81f37

Browse files
committed
fix stylesheet merge
1 parent f7198a8 commit 3b81f37

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

frontend/src/theme.stylesheet.css

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,12 @@
122122
}
123123

124124
@layer components {
125+
sl-skeleton {
126+
--border-radius: var(--sl-border-radius-small);
127+
--color: var(--sl-color-neutral-50);
128+
--sheen-color: var(--sl-color-neutral-100);
129+
}
130+
125131
sl-avatar::part(base) {
126132
transition: var(--sl-transition-x-fast) background-color;
127133
}
@@ -231,11 +237,16 @@
231237
}
232238

233239
/* Adjust menu item hover and focus styles */
234-
sl-menu-item,
240+
sl-option:not([aria-selected="true"]):not(:disabled),
241+
sl-menu-item:not([disabled]),
235242
btrix-menu-item-link {
236243
@apply part-[base]:text-neutral-700 part-[base]:hover:bg-cyan-50/50 part-[base]:hover:text-cyan-700 part-[base]:focus-visible:bg-cyan-50/50;
237244
}
238245

246+
sl-option[aria-selected="true"] {
247+
@apply part-[base]:bg-cyan-50 part-[base]:text-cyan-700;
248+
}
249+
239250
/* Add menu item variants */
240251
.menu-item-success {
241252
@apply part-[base]:text-success part-[base]:hover:bg-success-50 part-[base]:hover:text-success-700 part-[base]:focus-visible:bg-success-50;
@@ -276,8 +287,12 @@
276287
}
277288

278289
/* TODO tailwind sets border-width: 0, see if this can be fixed in tw */
279-
sl-divider {
280-
border-top-width: var(--sl-panel-border-width);
290+
sl-divider:not([vertical]) {
291+
border-top: solid var(--width) var(--color);
292+
}
293+
294+
sl-divider[vertical] {
295+
border-left: solid var(--width) var(--color);
281296
}
282297

283298
/* Add more spacing between radio options */

0 commit comments

Comments
 (0)