about summary refs log tree commit diff
path: root/content/til/devtool-theme.md
blob: 08ff0dc19cf09c6bfa1d821004841dc957f1ba0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
categories: [til]
title: "TIL: Devtool allows you to emulate system theme"
date: 2021-05-03T11:15:35+07:00
tag: [css, theme]
---

Today I learned Firefox's devtool provides you with a tool to emulate
dark/light mode (probably Chrome does, too). It can be useful for front-end
developers when they want to design a system-based theme switch.

![My default theme, light theme](default_light.png)
![After choosing dark mode emulation](emulate_dark.png)