Skip to content

Commit a774b58

Browse files
authored
Remove setting the dark-mode explicitly (#100)
The dark mode feature is now enabled by default. [Source](https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration)
1 parent 03cd581 commit a774b58

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/install/tailwind.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
const defaultTheme = require('tailwindcss/defaultTheme')
22

33
module.exports = {
4-
darkMode: 'media',
54
content: [
65
'./app/helpers/**/*.rb',
76
'./app/javascript/**/*.js',
87
'./app/views/**/*'
9-
],
8+
],
109
theme: {
1110
extend: {
1211
fontFamily: {

0 commit comments

Comments
 (0)