Skip to content

Commit

Permalink
Temp fix CS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Apr 12, 2022
1 parent b89c379 commit d0269c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export let variantPlugins = {
},

darkVariants: ({ config, addVariant }) => {
let [mode, className = '.dark'] = [].concat(config('darkMode', 'media'))
let [mode] = [].concat(config('darkMode', 'media'))

if (mode === false) {
mode = 'media'
Expand Down
2 changes: 2 additions & 0 deletions tests/variants.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import fs from 'fs'
import path from 'path'
/*
import postcss from 'postcss'
*/

import { run, css, html, defaults } from './util/run'

Expand Down

0 comments on commit d0269c2

Please # to comment.