[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/resp/ - Responsive Design

Mobile-first approaches & cross-device solutions
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1793096955995.jpg (126.21 KB, 1024x1024, img_1793096946586_zbfz0z86.jpg)ImgOps Exif Google Yandex

9a6cd No.2296

finally seeing someone talk about using light-dark() to avoid those massive duplicate stylesheets. that trick with setting -theme as a variable to handle data-theme="inverted" is pretty clever, but i'm not sure how it handles complex components that need specific overrides.
>I actually want is the theme to be "opposite" the current theme.
it seems like a lot of magic for a single 0.5kb gzip. anyone tried running this with heavy custom assets?

full read: https://daverupert.com/2026/04/inverted-light-dark/


[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]