@nex-ui/react
Version:
🎉 A beautiful, modern, and reliable React component library.
88 lines (84 loc) • 2.33 kB
JavaScript
'use strict';
var system = require('@nex-ui/system');
const scales = system.defineConfig.scales({
color: 'colors',
borderColor: 'colors',
backgroundColor: 'colors',
borderBottomColor: 'colors',
borderTopColor: 'colors',
borderLeftColor: 'colors',
borderRightColor: 'colors',
fill: 'colors',
stroke: 'colors',
outlineColor: 'colors',
width: 'sizes',
minWidth: 'sizes',
maxWidth: 'sizes',
height: 'sizes',
minHeight: 'sizes',
maxHeight: 'sizes',
fontWeight: 'fontWeights',
lineHeight: 'lineHeights',
fontFamily: 'fontFamilies',
fontSize: 'fontSizes',
padding: 'spaces',
paddingTop: 'spaces',
paddingBottom: 'spaces',
paddingLeft: 'spaces',
paddingRight: 'spaces',
marginRight: 'spaces',
marginTop: 'spaces',
marginLeft: 'spaces',
marginBottom: 'spaces',
margin: 'spaces',
marginBlock: 'spaces',
marginBlockStart: 'spaces',
marginBlockEnd: 'spaces',
marginInline: 'spaces',
marginInlineStart: 'spaces',
marginInlineEnd: 'spaces',
paddingBlock: 'spaces',
paddingBlockStart: 'spaces',
paddingBlockEnd: 'spaces',
paddingInline: 'spaces',
paddingInlineStart: 'spaces',
paddingInlineEnd: 'spaces',
top: 'spaces',
left: 'spaces',
right: 'spaces',
bottom: 'spaces',
gap: 'spaces',
rowGap: 'spaces',
columnGap: 'spaces',
gridGap: 'spaces',
gridColumnGap: 'spaces',
gridRowGap: 'spaces',
outlineOffset: 'spaces',
inset: 'spaces',
insetBlock: 'spaces',
insetBlockStart: 'spaces',
insetBlockEnd: 'spaces',
insetInline: 'spaces',
insetInlineStart: 'spaces',
insetInlineEnd: 'spaces',
borderRadius: 'radii',
borderTopRightRadius: 'radii',
borderTopLeftRadius: 'radii',
borderBottomRightRadius: 'radii',
borderBottomLeftRadius: 'radii',
borderTopWidth: 'borderWidths',
borderBottomWidth: 'borderWidths',
borderLeftWidth: 'borderWidths',
borderRightWidth: 'borderWidths',
borderWidth: 'borderWidths',
border: 'borders',
borderTop: 'borders',
borderBottom: 'borders',
borderRight: 'borders',
borderLeft: 'borders',
outline: 'borders',
boxShadow: 'shadows',
transition: 'transitions',
zIndex: 'zIndexes'
});
exports.scales = scales;