Skip to content

Commit

Permalink
fix: prevent generating extra colors
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed May 13, 2021
1 parent 96532a0 commit 14c32c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions colors/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const colorValues = require('./color-values')

let colorObject = {
"transparent": "transparent",
"current": "currentColor",
}

for (const [key, item] of Object.entries(colorValues)) {
Expand Down
1 change: 1 addition & 0 deletions colors/windi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const colorValues = require('./color-values')

let colorObject = {
"transparent": "transparent",
"current": "currentColor",
}

for (const [key, item] of Object.entries(colorValues)) {
Expand Down
4 changes: 1 addition & 3 deletions src/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const plugin = require('tailwindcss/plugin')
module.exports = {
theme: {
extend: {
colors: require('../colors')
},
colors: require('../colors')
},
plugins: [
plugin(function({ addBase, addUtilities }) {
Expand Down

0 comments on commit 14c32c9

Please sign in to comment.