about summary refs log tree commit diff
path: root/content/til/devtool-theme.md
blob: 25d6d7725250b8cd59d0b12d3c3cab0ce3e2433a (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](/til/default_light.png)
![After choosing dark mode emulation](/til/emulate_dark.png)