@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
50 lines (48 loc) • 946 B
JavaScript
//#region src/core/constant.ts
const COLOR_MODE_STORAGE_KEY = "color-mode";
const THEME_SCHEME_STORAGE_KEY = "theme-scheme";
const DEFAULT_VAR_PREFIX = "ui";
const DEFAULT_LOCALE = "en-US";
const DEFAULT_DIRECTION = "ltr";
const DEFAULT_LAYERS = {
size: {
name: "size",
order: 4
},
variant: {
name: "variant",
order: 5
},
base: {
name: "base",
order: 3
},
compounds: {
name: "compounds",
order: 7
},
global: {
name: "global",
order: 2
},
props: {
name: "props",
order: 6
},
reset: {
name: "reset",
order: 1
},
tokens: {
name: "tokens",
order: 0
}
};
//#endregion
exports.COLOR_MODE_STORAGE_KEY = COLOR_MODE_STORAGE_KEY;
exports.DEFAULT_DIRECTION = DEFAULT_DIRECTION;
exports.DEFAULT_LAYERS = DEFAULT_LAYERS;
exports.DEFAULT_LOCALE = DEFAULT_LOCALE;
exports.DEFAULT_VAR_PREFIX = DEFAULT_VAR_PREFIX;
exports.THEME_SCHEME_STORAGE_KEY = THEME_SCHEME_STORAGE_KEY;
//# sourceMappingURL=constant.cjs.map