water.css icon indicating copy to clipboard operation
water.css copied to clipboard

Feature request: dialog box shadow (dark mode)

Open FlameWolf opened this issue 1 year ago • 2 comments

Dialog elements having a box-shadow of 0 0 0 1px var(--border) will be helpful in dark mode. See attached image for comparison:

water-css-dialog

FlameWolf avatar Aug 10 '23 08:08 FlameWolf

Or, the backdrop colour can be updated in dark mode:

@media (prefers-color-scheme: dark) {
	dialog::backdrop {
		background: rgba(255, 255, 255, 0.61);
	}
}

Or for both modes:

dialog::backdrop {
	background: rgba(144, 149, 156, 0.5);
}

Additionally, I'm wondering why dialog has a darker BG colour anyway, since it's going to be painted over a backdrop layer. The darker background makes form controls look dimmer, as can be observed in the above screenshot.

FlameWolf avatar Aug 10 '23 08:08 FlameWolf

hey can you assign this issue to me!

Ajay-308 avatar Oct 08 '23 06:10 Ajay-308