@tenphi/glaze 0.11.0 → 0.11.1
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/README.md +19 -1390
- package/dist/index.cjs +677 -554
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -8
- package/dist/index.d.mts +1 -8
- package/dist/index.mjs +677 -554
- package/dist/index.mjs.map +1 -1
- package/docs/api.md +1074 -0
- package/docs/methodology.md +330 -0
- package/docs/migration.md +237 -0
- package/package.json +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -721,14 +721,7 @@ declare function glaze(hueOrOptions: number | {
|
|
|
721
721
|
}, saturation?: number): GlazeTheme;
|
|
722
722
|
declare namespace glaze {
|
|
723
723
|
var configure: (config: GlazeConfig) => void;
|
|
724
|
-
var palette: (themes: PaletteInput, options?: GlazePaletteOptions) =>
|
|
725
|
-
tokens(options?: GlazeJsonOptions & GlazePaletteExportOptions): Record<string, Record<string, string>>;
|
|
726
|
-
tasty(options?: GlazeTokenOptions & GlazePaletteExportOptions): Record<string, Record<string, string>>;
|
|
727
|
-
json(options?: GlazeJsonOptions & {
|
|
728
|
-
prefix?: boolean | Record<string, string>;
|
|
729
|
-
}): Record<string, Record<string, Record<string, string>>>;
|
|
730
|
-
css(options?: GlazeCssOptions & GlazePaletteExportOptions): GlazeCssResult;
|
|
731
|
-
};
|
|
724
|
+
var palette: (themes: PaletteInput, options?: GlazePaletteOptions) => GlazePalette;
|
|
732
725
|
var from: (data: GlazeThemeExport) => GlazeTheme;
|
|
733
726
|
var color: {
|
|
734
727
|
(input: GlazeColorInput, scaling?: GlazeColorScaling): GlazeColorToken;
|
package/dist/index.d.mts
CHANGED
|
@@ -721,14 +721,7 @@ declare function glaze(hueOrOptions: number | {
|
|
|
721
721
|
}, saturation?: number): GlazeTheme;
|
|
722
722
|
declare namespace glaze {
|
|
723
723
|
var configure: (config: GlazeConfig) => void;
|
|
724
|
-
var palette: (themes: PaletteInput, options?: GlazePaletteOptions) =>
|
|
725
|
-
tokens(options?: GlazeJsonOptions & GlazePaletteExportOptions): Record<string, Record<string, string>>;
|
|
726
|
-
tasty(options?: GlazeTokenOptions & GlazePaletteExportOptions): Record<string, Record<string, string>>;
|
|
727
|
-
json(options?: GlazeJsonOptions & {
|
|
728
|
-
prefix?: boolean | Record<string, string>;
|
|
729
|
-
}): Record<string, Record<string, Record<string, string>>>;
|
|
730
|
-
css(options?: GlazeCssOptions & GlazePaletteExportOptions): GlazeCssResult;
|
|
731
|
-
};
|
|
724
|
+
var palette: (themes: PaletteInput, options?: GlazePaletteOptions) => GlazePalette;
|
|
732
725
|
var from: (data: GlazeThemeExport) => GlazeTheme;
|
|
733
726
|
var color: {
|
|
734
727
|
(input: GlazeColorInput, scaling?: GlazeColorScaling): GlazeColorToken;
|