| 1234567891011121314151617181920212223242526272829303132333435 |
- import "../../src/types/index";
- import defaultLocaleJSON from "../src/variants/locales/default.json";
- declare global {
- namespace NCoreUIKit {
- type PaletteNames = "gmcore";
- interface PaletteKey extends Record<PaletteType, unknown>, Record<PaletteNames, unknown> {
- }
- type ProjectLocalizationL = typeof defaultLocaleJSON[0];
- type GeneratedProjectTranslations = {
- [K in keyof ProjectLocalizationL["translations"]]: ProjectLocalizationL["translations"][K];
- };
- interface Translation extends GeneratedTranslations, GeneratedProjectTranslations {
- }
- /*
- type DefaultPaletteL = typeof defaultThemeJSON.palettes[0];
- type SystemDataL = DefaultPaletteL["themes"]["dark"]["system"];
- type DefaultSystemColorsL = SystemDataL;
- interface SystemColorPalette extends DefaultSystemColors, DefaultSystemColorsL {
- }
- type ContentDataL = DefaultPaletteL["themes"]["dark"]["content"];
- type DefaultContentColorsL = ContentDataL;
- interface ContentColorPalette extends DefaultContentColors, DefaultContentColorsL {
- }
- */
- }
- }
|