File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 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 }
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;
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 */
You can’t perform that action at this time.
0 commit comments