What is currently packages/portal is example of a running portal and should move to examples (it will get replaced by an actual portal lib soon).
31 lines
742 B
JavaScript
31 lines
742 B
JavaScript
module.exports = {
|
|
theme: {
|
|
fontSize: {
|
|
tiny: 'var(--font-size-small)',
|
|
md: 'var(--font-size-medium)',
|
|
lg: 'var(--font-size-large)',
|
|
},
|
|
extend: {
|
|
colors: {
|
|
primary: 'var(--color-primary)',
|
|
secondary: 'var(--color-secondary)',
|
|
negative: 'var(--color-negative)',
|
|
positive: 'var(--color-positive)',
|
|
'primary-background': 'var(--background-primary)',
|
|
'sec-background': 'var(--background-sec)',
|
|
'primary-text': 'var(--color-text-primary)',
|
|
},
|
|
},
|
|
backgroundColor: (theme) => ({
|
|
...theme('colors'),
|
|
}),
|
|
},
|
|
variants: {
|
|
backgroundColor: ['active'],
|
|
},
|
|
plugins: ['font-size'],
|
|
corePlugins: {
|
|
fontSize: true,
|
|
},
|
|
};
|