|
|
@ -1,5 +1,5 @@ |
|
|
|
import { allThemes, defaultTheme, safeThemeList } from "./themes"; |
|
|
|
import { allThemes, defaultTheme, safeThemeList } from "./themes"; |
|
|
|
import type { Config } from "tailwindcss" |
|
|
|
import type { Config } from "tailwindcss"; |
|
|
|
|
|
|
|
|
|
|
|
const themer = require("tailwindcss-themer"); |
|
|
|
const themer = require("tailwindcss-themer"); |
|
|
|
|
|
|
|
|
|
|
@ -8,20 +8,25 @@ const config: Config = { |
|
|
|
safelist: safeThemeList, |
|
|
|
safelist: safeThemeList, |
|
|
|
theme: { |
|
|
|
theme: { |
|
|
|
extend: { |
|
|
|
extend: { |
|
|
|
|
|
|
|
/* breakpoints */ |
|
|
|
|
|
|
|
screens: { |
|
|
|
|
|
|
|
ssm: "400px", |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
/* fonts */ |
|
|
|
/* fonts */ |
|
|
|
fontFamily: { |
|
|
|
fontFamily: { |
|
|
|
"open-sans": "'Open Sans'" |
|
|
|
"open-sans": "'Open Sans'", |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
/* animations */ |
|
|
|
/* animations */ |
|
|
|
keyframes: { |
|
|
|
keyframes: { |
|
|
|
"loading-pin": { |
|
|
|
"loading-pin": { |
|
|
|
"0%, 40%, 100%": { height: "0.5em", "background-color": "#282336" }, |
|
|
|
"0%, 40%, 100%": { height: "0.5em", "background-color": "#282336" }, |
|
|
|
"20%": { height: "1em", "background-color": "white" } |
|
|
|
"20%": { height: "1em", "background-color": "white" }, |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
animation: { "loading-pin": "loading-pin 1.8s ease-in-out infinite" }, |
|
|
|
}, |
|
|
|
}, |
|
|
|
animation: { "loading-pin": "loading-pin 1.8s ease-in-out infinite" } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
plugins: [ |
|
|
|
plugins: [ |
|
|
|
require("tailwind-scrollbar"), |
|
|
|
require("tailwind-scrollbar"), |
|
|
@ -33,9 +38,10 @@ const config: Config = { |
|
|
|
selectors: [".theme-default"], |
|
|
|
selectors: [".theme-default"], |
|
|
|
...defaultTheme, |
|
|
|
...defaultTheme, |
|
|
|
}, |
|
|
|
}, |
|
|
|
...allThemes] |
|
|
|
...allThemes, |
|
|
|
}) |
|
|
|
], |
|
|
|
] |
|
|
|
}), |
|
|
|
|
|
|
|
], |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export default config; |
|
|
|
export default config; |
|
|
|