mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 12:25:05 +03:00
* new packages * new transforms * Update package.json * new internal files * Update cleanse-css-for-tailwind.js * updated css files * remove old code * update tokens * Delete global.css * update themes * Update tailwind-theming.md * Update tailwind-theming.md * Update tailwind-theming.md * Update tailwind-theming.md * Update tailwind-theming.md * Update tailwind-theming.md --------- Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
30 lines
738 B
JavaScript
30 lines
738 B
JavaScript
const StyleDictionary = require('style-dictionary')
|
|
|
|
module.exports = {
|
|
transform: {
|
|
'size/px': require('./sizePx'),
|
|
'web/shadow': require('./webShadows'),
|
|
'web/radius': require('./webRadius'),
|
|
'web/padding': require('./webPadding'),
|
|
'web/font': require('./webFont'),
|
|
'web/gradient': require('./webGradient'),
|
|
'color/hex8ToRgba': require('../common/colorToRgbaString'),
|
|
},
|
|
transformGroup: {
|
|
'custom/css': StyleDictionary.transformGroup.css.concat([
|
|
'size/px',
|
|
'web/shadow',
|
|
'web/radius',
|
|
'web/padding',
|
|
'web/font',
|
|
'web/gradient',
|
|
'color/hex8ToRgba',
|
|
'color/rgb',
|
|
]),
|
|
},
|
|
format: {
|
|
'custom/css': require('./formatCss'),
|
|
},
|
|
action: {},
|
|
}
|