fix: restore previous theme colors - fixed #1559

This commit is contained in:
Liyas Thomas
2021-03-22 16:36:57 +00:00
committed by GitHub
parent 352f3af737
commit b4ac527638
4 changed files with 46 additions and 3 deletions

View File

@@ -4,7 +4,9 @@
** Docs: https://tailwindcss.com/docs/configuration
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
*/
module.exports = {
import colors from "tailwindcss/colors"
export default {
dark: "class",
corePlugins: {
float: false,
@@ -28,6 +30,15 @@ module.exports = {
acColor: "var(--ac-color)",
actColor: "var(--act-color)",
ttColor: "var(--tt-color)",
blue: colors.blue,
green: colors.green,
teal: colors.teal,
indigo: colors.indigo,
purple: colors.purple,
orange: colors.orange,
pink: colors.pink,
red: colors.red,
yellow: colors.yellow,
},
},
fontFamily: {