Skip to content

Commit

Permalink
update deps to tailwind 3.0 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
sulphur authored Dec 22, 2021
1 parent aff9d04 commit f71bcd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require('tailwindcss/colors')

module.exports = require("tailwindcss/plugin")(
function ({ addComponents }) {
Expand Down Expand Up @@ -27,9 +27,9 @@ module.exports = require("tailwindcss/plugin")(
extend: {
colors: {
primary: {
light: defaultTheme.colors.purple[100],
DEFAULT: defaultTheme.colors.purple[700],
dark: defaultTheme.colors.purple[900],
light: colors.violet[100],
DEFAULT: colors.violet[700],
dark: colors.violet[900],
},
},
},
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"tailwind:build": "./node_modules/tailwindcss/lib/cli.js -o ./docs/static/build.css -c ./docs/tailwind.config.js --minify"
},
"devDependencies": {
"@tailwindcss/typography": "^0.4.1",
"concurrently": "^6.2.1",
"@tailwindcss/typography": "^0.5.0",
"concurrently": "^6.4.0",
"cross-env": "^7.0.3",
"rollup": "^2.56.3",
"rollup": "^2.61.1",
"rollup-plugin-terser": "^7.0.2"
},
"peerDependencies": {
"tailwindcss": "^2.2.7"
"tailwindcss": "^3.0.2"
}
}

0 comments on commit f71bcd3

Please sign in to comment.