paint-brush
How to Add a Dark Theme to a Web App Without Begging a Designer for Helpby@sashaqred
101 reads

How to Add a Dark Theme to a Web App Without Begging a Designer for Help

by Sasha Verbilo6mAugust 20th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

You can have a few themes only if a designer made it for you first. But you don’t always have one by hand, you want to add a dark theme to a default one. Using CSS Custom Properties, you will have to write a few cycles on SASS. The process is done in 3 steps: choose the colors, add a use case, and add a new theme. If there are no colors for the dark theme, you need to use a special CSS media inquiry for that purpose: prefers-color-scheme.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How to Add a Dark Theme to a Web App Without Begging a Designer for Help
Sasha Verbilo HackerNoon profile picture
Sasha Verbilo

Sasha Verbilo

@sashaqred

Frontend engineer @ Akveo

About @sashaqred
LEARN MORE ABOUT @SASHAQRED'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Sasha Verbilo HackerNoon profile picture
Sasha Verbilo@sashaqred
Frontend engineer @ Akveo

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Billdietrich
Cyberfishnews
Cyberfishnews
Twitter