@@ -288,6 +288,19 @@ button.ghost:active:not(:disabled) {
288288 background-color : var (--button-active-background-color );
289289}
290290
291+ label button {
292+ background-color : transparent;
293+ border-radius : 50% ;
294+ min-width : initial;
295+
296+ & : hover : not (: disabled ) {
297+ background-color : var (--button-hover-background-color );
298+ }
299+ & : active : not (: disabled ) {
300+ background-color : var (--button-active-background-color );
301+ }
302+ }
303+
291304select {
292305 align-items : center;
293306 appearance : none;
@@ -342,37 +355,42 @@ dialog menu select {
342355 min-width : auto;
343356}
344357
345- .error {
358+ dialog .error ,
359+ p .error {
346360 background-color : var (--error-background-color );
347361 border-color : var (--error-border-color );
348362 color : var (--error-color );
363+
364+ button ,
365+ select {
366+ background-color : color-mix (
367+ in srgb,
368+ var (--error-background-color ),
369+ black 20%
370+ );
371+ color : var (--error-color );
372+ }
373+ button : hover : not (: disabled ),
374+ button : active : not (: disabled ),
375+ select : hover : not (: disabled ),
376+ select : active : not (: disabled ) {
377+ background-color : color-mix (
378+ in srgb,
379+ var (--error-background-color ),
380+ black 30%
381+ );
382+ }
349383}
350- .warning {
384+ dialog .warning ,
385+ p .warning {
351386 background-color : var (--warning-background-color );
352387 border-color : var (--warning-border-color );
353388 color : var (--warning-color );
354389}
355- .error ,
356- .warning {
390+ dialog .error ,
391+ p .error ,
392+ dialog .warning ,
393+ p .warning {
357394 border-style : solid;
358395 border-width : 1px ;
359396}
360- .error button ,
361- .error select {
362- background-color : color-mix (
363- in srgb,
364- var (--error-background-color ),
365- black 20%
366- );
367- color : var (--color );
368- }
369- .error button : hover : not (: disabled ),
370- .error button : active : not (: disabled ),
371- .error select : hover : not (: disabled ),
372- .error select : active : not (: disabled ) {
373- background-color : color-mix (
374- in srgb,
375- var (--error-background-color ),
376- black 30%
377- );
378- }
0 commit comments