Skip to content

Commit f868f43

Browse files
author
Andy McCormick
committed
fixing dark mode in firefox
1 parent 6dceb21 commit f868f43

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

tailwind.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const colors = require('tailwindcss/colors')
44
module.exports = {
55
important: true,
66
content: ['./docs/**/*.{md,html,js}','./build/**/*.{md,html,js}'],
7-
darkMode: 'media', // or 'media' or 'class'
7+
darkMode: 'class', // or 'media' or 'class'
88
theme: {
99
fontFamily: {
1010
usual: ['usual', 'system-ui', 'sans-serif'],

theme/_assets/default.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

theme/assets-src/styles/base.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ html {
1313
@media @m-desktop {
1414
font-size: 16px;
1515
}
16+
17+
background-color: white !important;
1618
}
1719

1820
body {

0 commit comments

Comments
 (0)