DEV Community

Hasan Sarwer profile picture

Hasan Sarwer

404 bio not found

Location Dhaka, Bangladesh Joined Joined on  Personal website https://hasansarwer.com github website
How to Structure Design Tokens for Light and Dark Mode

How to Structure Design Tokens for Light and Dark Mode

1
Comments
6 min read

Want to connect with Hasan Sarwer?

Create an account to connect with Hasan Sarwer. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
The Button Contrast Problem Most Design Systems Ignore

The Button Contrast Problem Most Design Systems Ignore

2
Comments
3 min read
Why Good-Looking Colors Can Still Fail WCAG Contrast

Why Good-Looking Colors Can Still Fail WCAG Contrast

3
Comments
7 min read
Your CSS variables need a vocabulary, not a collection of random colors

Your CSS variables need a vocabulary, not a collection of random colors

3
Comments
11 min read
Stop Naming CSS Variables After Colors

Stop Naming CSS Variables After Colors

3
Comments 1
7 min read
Why Your Dark Mode Flashes Before JavaScript Runs

Why Your Dark Mode Flashes Before JavaScript Runs

11
Comments 2
5 min read
A Practical CSS Variable Setup for Light/Dark Mode Without Theme Flash

A Practical CSS Variable Setup for Light/Dark Mode Without Theme Flash

4
Comments
6 min read
A practical CSS variable setup for light/dark mode without theme flash

A practical CSS variable setup for light/dark mode without theme flash

1
Comments
5 min read
You finish the UI, run Lighthouse, and suddenly six color pairs fail WCAG AA

You finish the UI, run Lighthouse, and suddenly six color pairs fail WCAG AA

2
Comments
3 min read
Dark Mode in 5 Minutes with salt-theme-gen (No Flash, Zero Extra Dependencies)

Dark Mode in 5 Minutes with salt-theme-gen (No Flash, Zero Extra Dependencies)

1
Comments
5 min read
loading...