close

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

BERJAYA 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

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

Why Good-Looking Colors Can Still Fail WCAG Contrast

BERJAYA 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

BERJAYA 3
Comments
11 min read
Stop Naming CSS Variables After Colors

Stop Naming CSS Variables After Colors

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

Why Your Dark Mode Flashes Before JavaScript Runs

BERJAYA BERJAYA BERJAYA 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

BERJAYA BERJAYA 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

BERJAYA 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

BERJAYA 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)

BERJAYA 1
Comments
5 min read
loading...