@nextui-org/theme 0.0.0-dev-v2-20230715151949 → 0.0.0-dev-v2-20230716194106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin.js +6 -6
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
package/dist/plugin.js
CHANGED
|
@@ -647,12 +647,6 @@ function createSpacingUnits(prefix) {
|
|
|
647
647
|
return result;
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
// src/utils/classes.ts
|
|
651
|
-
var baseStyles = (prefix) => ({
|
|
652
|
-
color: `hsl(var(--${prefix}-foreground))`,
|
|
653
|
-
backgroundColor: `hsl(var(--${prefix}-background))`
|
|
654
|
-
});
|
|
655
|
-
|
|
656
650
|
// src/default-layout.ts
|
|
657
651
|
var defaultLayout = {
|
|
658
652
|
spacingUnit: 4,
|
|
@@ -702,6 +696,12 @@ var layouts = {
|
|
|
702
696
|
dark: darkLayout
|
|
703
697
|
};
|
|
704
698
|
|
|
699
|
+
// src/utils/classes.ts
|
|
700
|
+
var baseStyles = (prefix) => ({
|
|
701
|
+
color: `hsl(var(--${prefix}-foreground))`,
|
|
702
|
+
backgroundColor: `hsl(var(--${prefix}-background))`
|
|
703
|
+
});
|
|
704
|
+
|
|
705
705
|
// src/plugin.ts
|
|
706
706
|
var DEFAULT_PREFIX = "nextui";
|
|
707
707
|
var resolveConfig = (themes = {}, defaultTheme, prefix) => {
|
package/dist/types.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ type NextUIPluginConfig = {
|
|
|
130
130
|
* The default theme to extend.
|
|
131
131
|
* @default "light"
|
|
132
132
|
*/
|
|
133
|
-
defaultExtendTheme?:
|
|
133
|
+
defaultExtendTheme?: DefaultThemeType;
|
|
134
134
|
};
|
|
135
135
|
|
|
136
136
|
export { BaseThemeUnit, ConfigTheme, ConfigThemes, DefaultThemeType, FontThemeUnit, LayoutTheme, NextUIPluginConfig, SpacingScale, SpacingScaleKeys, mappedSpacingScaleKeys, spacingScaleKeys };
|