@gravityforms/design-tokens
Version:
Design tokens as PostCSS variables, media queries, and mixins for Gravity Forms development.
22 lines (20 loc) • 1.37 kB
JavaScript
const modules = {
globalCustomMediaAdmin: './custom-media/admin',
globalCustomMediaCommon: './custom-media/common',
globalCustomMediaTheme: './custom-media/theme',
globalCustomPropertiesAdminBoxShadow: './custom-properties/admin/box-shadow',
globalCustomPropertiesAdminColors: './custom-properties/admin/colors',
globalCustomPropertiesAdminHeights: './custom-properties/admin/heights',
globalCustomPropertiesAdminSpacers: './custom-properties/admin/spacers',
globalCustomPropertiesAdminTransitions: './custom-properties/admin/transitions',
globalCustomPropertiesAdminTypography: './custom-properties/admin/typography',
globalCustomPropertiesCommonSpacers: './custom-properties/common/spacers',
globalCustomPropertiesCommonTypography: './custom-properties/common/typography',
globalCustomPropertiesThemeBoxShadow: './custom-properties/theme/box-shadow',
globalCustomPropertiesThemeColors: './custom-properties/theme/colors',
globalCustomPropertiesThemeGradients: './custom-properties/theme/gradients',
globalCustomPropertiesThemeSpacers: './custom-properties/theme/spacers',
globalCustomPropertiesThemeTransitions: './custom-properties/theme/transitions',
globalCustomPropertiesThemeTypography: './custom-properties/theme/typography',
};
module.exports = Object.fromEntries( Object.entries( modules ).map( ( [ key, path ] ) => [ key, require( path ) ] ) );