|
|
@@ -1,5 +1,6 @@ |
|
|
|
import {Config} from 'tailwindcss'; |
|
|
|
import defaultTheme from 'tailwindcss/defaultTheme'; |
|
|
|
import plugin from 'tailwindcss/plugin'; |
|
|
|
import { |
|
|
|
radioButtonPlugin, |
|
|
|
menuSelectPlugin, |
|
|
@@ -31,6 +32,7 @@ const config: Config = { |
|
|
|
'./.storybook/**/*.html', |
|
|
|
], |
|
|
|
theme: { |
|
|
|
// TODO put into a tesseract plugin |
|
|
|
fontFamily: { |
|
|
|
sans: ['var(--font-sans)', ...defaultTheme.fontFamily.sans], |
|
|
|
headings: ['var(--font-headings)', ...defaultTheme.fontFamily.sans], |
|
|
@@ -98,20 +100,20 @@ const config: Config = { |
|
|
|
}, |
|
|
|
}, |
|
|
|
plugins: [ |
|
|
|
radioButtonPlugin, |
|
|
|
menuSelectPlugin, |
|
|
|
radioTickBoxPlugin, |
|
|
|
dropdownSelectPlugin, |
|
|
|
colorPickerPlugin, |
|
|
|
menuMultiSelectPlugin, |
|
|
|
tagInputPlugin, |
|
|
|
toggleButtonPlugin, |
|
|
|
toggleSwitchPlugin, |
|
|
|
toggleTickBoxPlugin, |
|
|
|
numberSpinnerPlugin, |
|
|
|
sliderPlugin, |
|
|
|
dateDropdownPlugin, |
|
|
|
timeSpinnerPlugin, |
|
|
|
plugin(radioButtonPlugin), |
|
|
|
plugin(menuSelectPlugin), |
|
|
|
plugin(radioTickBoxPlugin), |
|
|
|
plugin(dropdownSelectPlugin), |
|
|
|
plugin(colorPickerPlugin), |
|
|
|
plugin(menuMultiSelectPlugin), |
|
|
|
plugin(tagInputPlugin), |
|
|
|
plugin(toggleButtonPlugin), |
|
|
|
plugin(toggleSwitchPlugin), |
|
|
|
plugin(toggleTickBoxPlugin), |
|
|
|
plugin(numberSpinnerPlugin), |
|
|
|
plugin(sliderPlugin), |
|
|
|
plugin(dateDropdownPlugin), |
|
|
|
plugin(timeSpinnerPlugin), |
|
|
|
], |
|
|
|
}; |
|
|
|
|
|
|
|