@mintlify/validation 0.1.240 → 0.1.242

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.
Files changed (25) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +1 -0
  3. package/dist/mint-config/schemas/v2/index.d.ts +180 -180
  4. package/dist/mint-config/schemas/v2/properties/background.d.ts +10 -10
  5. package/dist/mint-config/schemas/v2/properties/background.js +2 -2
  6. package/dist/mint-config/schemas/v2/properties/font.d.ts +2 -0
  7. package/dist/mint-config/schemas/v2/properties/index.d.ts +1 -0
  8. package/dist/mint-config/schemas/v2/properties/index.js +1 -0
  9. package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +10 -10
  10. package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +2 -2
  11. package/dist/mint-config/schemas/v2/properties/navigation/global.d.ts +14 -14
  12. package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +18 -18
  13. package/dist/mint-config/schemas/v2/properties/reusable/color.d.ts +7 -7
  14. package/dist/mint-config/schemas/v2/properties/reusable/color.js +3 -3
  15. package/dist/mint-config/schemas/v2/properties/styling.d.ts +3 -3
  16. package/dist/mint-config/schemas/v2/properties/styling.js +5 -1
  17. package/dist/mint-config/schemas/v2/themes/mint.d.ts +45 -45
  18. package/dist/mint-config/schemas/v2/themes/prism.d.ts +45 -45
  19. package/dist/mint-config/schemas/v2/themes/quill.d.ts +45 -45
  20. package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +31 -31
  21. package/dist/mint-config/schemas/v2/themes/venus.d.ts +45 -45
  22. package/dist/mint-config/upgrades/updateNavigationToDocsConfig.js +3 -2
  23. package/dist/mint-config/upgrades/upgradeToDocsConfig.js +23 -20
  24. package/dist/tsconfig.build.tsbuildinfo +1 -1
  25. package/package.json +2 -2
@@ -12,14 +12,14 @@ export declare const backgroundSchema: z.ZodObject<{
12
12
  }>]>>;
13
13
  decoration: z.ZodDefault<z.ZodEnum<["gradient", "grid", "windows", "none"]>>;
14
14
  color: z.ZodOptional<z.ZodObject<{
15
- light: z.ZodString;
16
- dark: z.ZodString;
15
+ light: z.ZodOptional<z.ZodString>;
16
+ dark: z.ZodOptional<z.ZodString>;
17
17
  }, "strict", z.ZodTypeAny, {
18
- light: string;
19
- dark: string;
18
+ light?: string | undefined;
19
+ dark?: string | undefined;
20
20
  }, {
21
- light: string;
22
- dark: string;
21
+ light?: string | undefined;
22
+ dark?: string | undefined;
23
23
  }>>;
24
24
  }, "strip", z.ZodTypeAny, {
25
25
  decoration: "none" | "gradient" | "grid" | "windows";
@@ -28,8 +28,8 @@ export declare const backgroundSchema: z.ZodObject<{
28
28
  dark: string;
29
29
  } | undefined;
30
30
  color?: {
31
- light: string;
32
- dark: string;
31
+ light?: string | undefined;
32
+ dark?: string | undefined;
33
33
  } | undefined;
34
34
  }, {
35
35
  image?: string | {
@@ -38,7 +38,7 @@ export declare const backgroundSchema: z.ZodObject<{
38
38
  } | undefined;
39
39
  decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
40
40
  color?: {
41
- light: string;
42
- dark: string;
41
+ light?: string | undefined;
42
+ dark?: string | undefined;
43
43
  } | undefined;
44
44
  }>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { colorSchema } from './reusable/color.js';
2
+ import { colorSchemaWithOptionalLightAndDark } from './reusable/color.js';
3
3
  export const backgroundSchema = z
4
4
  .object({
5
5
  image: z
@@ -16,6 +16,6 @@ export const backgroundSchema = z
16
16
  .enum(['gradient', 'grid', 'windows', 'none'])
17
17
  .default('none')
18
18
  .describe('The background decoration of the theme'),
19
- color: colorSchema.optional().describe('The colors of the background'),
19
+ color: colorSchemaWithOptionalLightAndDark.optional().describe('The colors of the background'),
20
20
  })
21
21
  .describe('Background color and decoration settings');
@@ -130,3 +130,5 @@ export declare const fontsSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
130
130
  format?: "woff" | "woff2" | undefined;
131
131
  } | undefined;
132
132
  }>]>;
133
+ export type FontsType = z.infer<typeof fontsSchema>;
134
+ export type FontDetailsType = z.infer<typeof fontDetailsSchema>;
@@ -0,0 +1 @@
1
+ export * from './font.js';
@@ -0,0 +1 @@
1
+ export * from './font.js';
@@ -13,14 +13,14 @@ export declare const nonRecursiveAnchorSchema: z.ZodIntersection<z.ZodObject<{
13
13
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
14
14
  }>]>>;
15
15
  color: z.ZodOptional<z.ZodObject<{
16
- light: z.ZodString;
17
- dark: z.ZodString;
16
+ light: z.ZodOptional<z.ZodString>;
17
+ dark: z.ZodOptional<z.ZodString>;
18
18
  }, "strict", z.ZodTypeAny, {
19
- light: string;
20
- dark: string;
19
+ light?: string | undefined;
20
+ dark?: string | undefined;
21
21
  }, {
22
- light: string;
23
- dark: string;
22
+ light?: string | undefined;
23
+ dark?: string | undefined;
24
24
  }>>;
25
25
  hidden: z.ZodOptional<z.ZodBoolean>;
26
26
  }, "strip", z.ZodTypeAny, {
@@ -30,8 +30,8 @@ export declare const nonRecursiveAnchorSchema: z.ZodIntersection<z.ZodObject<{
30
30
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
31
31
  } | undefined;
32
32
  color?: {
33
- light: string;
34
- dark: string;
33
+ light?: string | undefined;
34
+ dark?: string | undefined;
35
35
  } | undefined;
36
36
  hidden?: boolean | undefined;
37
37
  }, {
@@ -41,8 +41,8 @@ export declare const nonRecursiveAnchorSchema: z.ZodIntersection<z.ZodObject<{
41
41
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
42
42
  } | undefined;
43
43
  color?: {
44
- light: string;
45
- dark: string;
44
+ light?: string | undefined;
45
+ dark?: string | undefined;
46
46
  } | undefined;
47
47
  hidden?: boolean | undefined;
48
48
  }>, z.ZodObject<{
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { colorSchema } from '../reusable/color.js';
2
+ import { colorSchemaWithOptionalLightAndDark } from '../reusable/color.js';
3
3
  import { hiddenSchema } from '../reusable/hidden.js';
4
4
  import { hrefSchema } from '../reusable/href.js';
5
5
  import { iconSchema } from '../reusable/icon.js';
@@ -13,7 +13,7 @@ import { versionsSchema } from './version.js';
13
13
  const baseAnchorSchema = z.object({
14
14
  anchor: z.string().nonempty().describe('The name of the anchor'),
15
15
  icon: iconSchema.optional(),
16
- color: colorSchema.optional(),
16
+ color: colorSchemaWithOptionalLightAndDark.optional(),
17
17
  hidden: hiddenSchema.optional(),
18
18
  });
19
19
  export const anchorSchema = baseAnchorSchema.and(z.union([
@@ -113,14 +113,14 @@ export declare const globalSchema: z.ZodObject<{
113
113
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
114
114
  }>]>>;
115
115
  color: z.ZodOptional<z.ZodObject<{
116
- light: z.ZodString;
117
- dark: z.ZodString;
116
+ light: z.ZodOptional<z.ZodString>;
117
+ dark: z.ZodOptional<z.ZodString>;
118
118
  }, "strict", z.ZodTypeAny, {
119
- light: string;
120
- dark: string;
119
+ light?: string | undefined;
120
+ dark?: string | undefined;
121
121
  }, {
122
- light: string;
123
- dark: string;
122
+ light?: string | undefined;
123
+ dark?: string | undefined;
124
124
  }>>;
125
125
  hidden: z.ZodOptional<z.ZodBoolean>;
126
126
  }, "strip", z.ZodTypeAny, {
@@ -130,8 +130,8 @@ export declare const globalSchema: z.ZodObject<{
130
130
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
131
131
  } | undefined;
132
132
  color?: {
133
- light: string;
134
- dark: string;
133
+ light?: string | undefined;
134
+ dark?: string | undefined;
135
135
  } | undefined;
136
136
  hidden?: boolean | undefined;
137
137
  }, {
@@ -141,8 +141,8 @@ export declare const globalSchema: z.ZodObject<{
141
141
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
142
142
  } | undefined;
143
143
  color?: {
144
- light: string;
145
- dark: string;
144
+ light?: string | undefined;
145
+ dark?: string | undefined;
146
146
  } | undefined;
147
147
  hidden?: boolean | undefined;
148
148
  }>, z.ZodObject<{
@@ -192,8 +192,8 @@ export declare const globalSchema: z.ZodObject<{
192
192
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
193
193
  } | undefined;
194
194
  color?: {
195
- light: string;
196
- dark: string;
195
+ light?: string | undefined;
196
+ dark?: string | undefined;
197
197
  } | undefined;
198
198
  hidden?: boolean | undefined;
199
199
  } & {
@@ -239,8 +239,8 @@ export declare const globalSchema: z.ZodObject<{
239
239
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
240
240
  } | undefined;
241
241
  color?: {
242
- light: string;
243
- dark: string;
242
+ light?: string | undefined;
243
+ dark?: string | undefined;
244
244
  } | undefined;
245
245
  hidden?: boolean | undefined;
246
246
  } & {
@@ -407,14 +407,14 @@ export declare const navigationSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject
407
407
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
408
408
  }>]>>;
409
409
  color: z.ZodOptional<z.ZodObject<{
410
- light: z.ZodString;
411
- dark: z.ZodString;
410
+ light: z.ZodOptional<z.ZodString>;
411
+ dark: z.ZodOptional<z.ZodString>;
412
412
  }, "strict", z.ZodTypeAny, {
413
- light: string;
414
- dark: string;
413
+ light?: string | undefined;
414
+ dark?: string | undefined;
415
415
  }, {
416
- light: string;
417
- dark: string;
416
+ light?: string | undefined;
417
+ dark?: string | undefined;
418
418
  }>>;
419
419
  hidden: z.ZodOptional<z.ZodBoolean>;
420
420
  }, "strip", z.ZodTypeAny, {
@@ -424,8 +424,8 @@ export declare const navigationSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject
424
424
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
425
425
  } | undefined;
426
426
  color?: {
427
- light: string;
428
- dark: string;
427
+ light?: string | undefined;
428
+ dark?: string | undefined;
429
429
  } | undefined;
430
430
  hidden?: boolean | undefined;
431
431
  }, {
@@ -435,8 +435,8 @@ export declare const navigationSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject
435
435
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
436
436
  } | undefined;
437
437
  color?: {
438
- light: string;
439
- dark: string;
438
+ light?: string | undefined;
439
+ dark?: string | undefined;
440
440
  } | undefined;
441
441
  hidden?: boolean | undefined;
442
442
  }>, z.ZodObject<{
@@ -486,8 +486,8 @@ export declare const navigationSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject
486
486
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
487
487
  } | undefined;
488
488
  color?: {
489
- light: string;
490
- dark: string;
489
+ light?: string | undefined;
490
+ dark?: string | undefined;
491
491
  } | undefined;
492
492
  hidden?: boolean | undefined;
493
493
  } & {
@@ -533,8 +533,8 @@ export declare const navigationSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject
533
533
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
534
534
  } | undefined;
535
535
  color?: {
536
- light: string;
537
- dark: string;
536
+ light?: string | undefined;
537
+ dark?: string | undefined;
538
538
  } | undefined;
539
539
  hidden?: boolean | undefined;
540
540
  } & {
@@ -582,8 +582,8 @@ export declare const navigationSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject
582
582
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
583
583
  } | undefined;
584
584
  color?: {
585
- light: string;
586
- dark: string;
585
+ light?: string | undefined;
586
+ dark?: string | undefined;
587
587
  } | undefined;
588
588
  hidden?: boolean | undefined;
589
589
  } & {
@@ -631,8 +631,8 @@ export declare const navigationSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject
631
631
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
632
632
  } | undefined;
633
633
  color?: {
634
- light: string;
635
- dark: string;
634
+ light?: string | undefined;
635
+ dark?: string | undefined;
636
636
  } | undefined;
637
637
  hidden?: boolean | undefined;
638
638
  } & {
@@ -1,12 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  export declare const hexColor: z.ZodString;
3
- export declare const colorSchema: z.ZodObject<{
4
- light: z.ZodString;
5
- dark: z.ZodString;
3
+ export declare const colorSchemaWithOptionalLightAndDark: z.ZodObject<{
4
+ light: z.ZodOptional<z.ZodString>;
5
+ dark: z.ZodOptional<z.ZodString>;
6
6
  }, "strict", z.ZodTypeAny, {
7
- light: string;
8
- dark: string;
7
+ light?: string | undefined;
8
+ dark?: string | undefined;
9
9
  }, {
10
- light: string;
11
- dark: string;
10
+ light?: string | undefined;
11
+ dark?: string | undefined;
12
12
  }>;
@@ -3,9 +3,9 @@ const hexColorRegex = /^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/;
3
3
  export const hexColor = z
4
4
  .string()
5
5
  .regex(hexColorRegex, 'Must be a hex color string, with a leading #');
6
- export const colorSchema = z
6
+ export const colorSchemaWithOptionalLightAndDark = z
7
7
  .object({
8
- light: hexColor.describe('The color in hex format to use in light mode'),
9
- dark: hexColor.describe('The color in hex format to use in dark mode'),
8
+ light: hexColor.describe('The color in hex format to use in light mode').optional(),
9
+ dark: hexColor.describe('The color in hex format to use in dark mode').optional(),
10
10
  })
11
11
  .strict();
@@ -2,13 +2,13 @@ import { z } from 'zod';
2
2
  export declare const stylingSchema: z.ZodObject<{
3
3
  rounded: z.ZodDefault<z.ZodOptional<z.ZodEnum<["regular", "sharp"]>>>;
4
4
  eyebrows: z.ZodDefault<z.ZodOptional<z.ZodEnum<["section", "breadcrumbs"]>>>;
5
- codeblocks: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auto", "dark"]>>>;
5
+ codeblocks: z.ZodDefault<z.ZodOptional<z.ZodEnum<["system", "dark"]>>>;
6
6
  }, "strip", z.ZodTypeAny, {
7
7
  rounded: "regular" | "sharp";
8
8
  eyebrows: "section" | "breadcrumbs";
9
- codeblocks: "dark" | "auto";
9
+ codeblocks: "dark" | "system";
10
10
  }, {
11
11
  rounded?: "regular" | "sharp" | undefined;
12
12
  eyebrows?: "section" | "breadcrumbs" | undefined;
13
- codeblocks?: "dark" | "auto" | undefined;
13
+ codeblocks?: "dark" | "system" | undefined;
14
14
  }>;
@@ -11,6 +11,10 @@ export const stylingSchema = z
11
11
  .optional()
12
12
  .default('section')
13
13
  .describe('The eyebrows style of the content'),
14
- codeblocks: z.enum(['auto', 'dark']).optional().default('auto').describe('The codeblock theme'),
14
+ codeblocks: z
15
+ .enum(['system', 'dark'])
16
+ .optional()
17
+ .default('system')
18
+ .describe('The codeblock theme'),
15
19
  })
16
20
  .describe('Styling configurations');
@@ -111,14 +111,14 @@ export declare const mintConfigSchema: z.ZodObject<{
111
111
  }>]>>;
112
112
  decoration: z.ZodDefault<z.ZodEnum<["gradient", "grid", "windows", "none"]>>;
113
113
  color: z.ZodOptional<z.ZodObject<{
114
- light: z.ZodString;
115
- dark: z.ZodString;
114
+ light: z.ZodOptional<z.ZodString>;
115
+ dark: z.ZodOptional<z.ZodString>;
116
116
  }, "strict", z.ZodTypeAny, {
117
- light: string;
118
- dark: string;
117
+ light?: string | undefined;
118
+ dark?: string | undefined;
119
119
  }, {
120
- light: string;
121
- dark: string;
120
+ light?: string | undefined;
121
+ dark?: string | undefined;
122
122
  }>>;
123
123
  }, "strip", z.ZodTypeAny, {
124
124
  decoration: "none" | "gradient" | "grid" | "windows";
@@ -127,8 +127,8 @@ export declare const mintConfigSchema: z.ZodObject<{
127
127
  dark: string;
128
128
  } | undefined;
129
129
  color?: {
130
- light: string;
131
- dark: string;
130
+ light?: string | undefined;
131
+ dark?: string | undefined;
132
132
  } | undefined;
133
133
  }, {
134
134
  image?: string | {
@@ -137,8 +137,8 @@ export declare const mintConfigSchema: z.ZodObject<{
137
137
  } | undefined;
138
138
  decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
139
139
  color?: {
140
- light: string;
141
- dark: string;
140
+ light?: string | undefined;
141
+ dark?: string | undefined;
142
142
  } | undefined;
143
143
  }>>;
144
144
  topbar: z.ZodOptional<z.ZodObject<{
@@ -609,14 +609,14 @@ export declare const mintConfigSchema: z.ZodObject<{
609
609
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
610
610
  }>]>>;
611
611
  color: z.ZodOptional<z.ZodObject<{
612
- light: z.ZodString;
613
- dark: z.ZodString;
612
+ light: z.ZodOptional<z.ZodString>;
613
+ dark: z.ZodOptional<z.ZodString>;
614
614
  }, "strict", z.ZodTypeAny, {
615
- light: string;
616
- dark: string;
615
+ light?: string | undefined;
616
+ dark?: string | undefined;
617
617
  }, {
618
- light: string;
619
- dark: string;
618
+ light?: string | undefined;
619
+ dark?: string | undefined;
620
620
  }>>;
621
621
  hidden: z.ZodOptional<z.ZodBoolean>;
622
622
  }, "strip", z.ZodTypeAny, {
@@ -626,8 +626,8 @@ export declare const mintConfigSchema: z.ZodObject<{
626
626
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
627
627
  } | undefined;
628
628
  color?: {
629
- light: string;
630
- dark: string;
629
+ light?: string | undefined;
630
+ dark?: string | undefined;
631
631
  } | undefined;
632
632
  hidden?: boolean | undefined;
633
633
  }, {
@@ -637,8 +637,8 @@ export declare const mintConfigSchema: z.ZodObject<{
637
637
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
638
638
  } | undefined;
639
639
  color?: {
640
- light: string;
641
- dark: string;
640
+ light?: string | undefined;
641
+ dark?: string | undefined;
642
642
  } | undefined;
643
643
  hidden?: boolean | undefined;
644
644
  }>, z.ZodObject<{
@@ -688,8 +688,8 @@ export declare const mintConfigSchema: z.ZodObject<{
688
688
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
689
689
  } | undefined;
690
690
  color?: {
691
- light: string;
692
- dark: string;
691
+ light?: string | undefined;
692
+ dark?: string | undefined;
693
693
  } | undefined;
694
694
  hidden?: boolean | undefined;
695
695
  } & {
@@ -735,8 +735,8 @@ export declare const mintConfigSchema: z.ZodObject<{
735
735
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
736
736
  } | undefined;
737
737
  color?: {
738
- light: string;
739
- dark: string;
738
+ light?: string | undefined;
739
+ dark?: string | undefined;
740
740
  } | undefined;
741
741
  hidden?: boolean | undefined;
742
742
  } & {
@@ -784,8 +784,8 @@ export declare const mintConfigSchema: z.ZodObject<{
784
784
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
785
785
  } | undefined;
786
786
  color?: {
787
- light: string;
788
- dark: string;
787
+ light?: string | undefined;
788
+ dark?: string | undefined;
789
789
  } | undefined;
790
790
  hidden?: boolean | undefined;
791
791
  } & {
@@ -833,8 +833,8 @@ export declare const mintConfigSchema: z.ZodObject<{
833
833
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
834
834
  } | undefined;
835
835
  color?: {
836
- light: string;
837
- dark: string;
836
+ light?: string | undefined;
837
+ dark?: string | undefined;
838
838
  } | undefined;
839
839
  hidden?: boolean | undefined;
840
840
  } & {
@@ -1020,15 +1020,15 @@ export declare const mintConfigSchema: z.ZodObject<{
1020
1020
  styling: z.ZodOptional<z.ZodObject<{
1021
1021
  rounded: z.ZodDefault<z.ZodOptional<z.ZodEnum<["regular", "sharp"]>>>;
1022
1022
  eyebrows: z.ZodDefault<z.ZodOptional<z.ZodEnum<["section", "breadcrumbs"]>>>;
1023
- codeblocks: z.ZodDefault<z.ZodOptional<z.ZodEnum<["auto", "dark"]>>>;
1023
+ codeblocks: z.ZodDefault<z.ZodOptional<z.ZodEnum<["system", "dark"]>>>;
1024
1024
  }, "strip", z.ZodTypeAny, {
1025
1025
  rounded: "regular" | "sharp";
1026
1026
  eyebrows: "section" | "breadcrumbs";
1027
- codeblocks: "dark" | "auto";
1027
+ codeblocks: "dark" | "system";
1028
1028
  }, {
1029
1029
  rounded?: "regular" | "sharp" | undefined;
1030
1030
  eyebrows?: "section" | "breadcrumbs" | undefined;
1031
- codeblocks?: "dark" | "auto" | undefined;
1031
+ codeblocks?: "dark" | "system" | undefined;
1032
1032
  }>>;
1033
1033
  redirects: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
1034
1034
  source: z.ZodString;
@@ -1399,8 +1399,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1399
1399
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1400
1400
  } | undefined;
1401
1401
  color?: {
1402
- light: string;
1403
- dark: string;
1402
+ light?: string | undefined;
1403
+ dark?: string | undefined;
1404
1404
  } | undefined;
1405
1405
  hidden?: boolean | undefined;
1406
1406
  } & {
@@ -1505,8 +1505,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1505
1505
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1506
1506
  } | undefined;
1507
1507
  color?: {
1508
- light: string;
1509
- dark: string;
1508
+ light?: string | undefined;
1509
+ dark?: string | undefined;
1510
1510
  } | undefined;
1511
1511
  hidden?: boolean | undefined;
1512
1512
  } & {
@@ -1550,8 +1550,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1550
1550
  dark: string;
1551
1551
  } | undefined;
1552
1552
  color?: {
1553
- light: string;
1554
- dark: string;
1553
+ light?: string | undefined;
1554
+ dark?: string | undefined;
1555
1555
  } | undefined;
1556
1556
  } | undefined;
1557
1557
  topbar?: {
@@ -1610,7 +1610,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1610
1610
  styling?: {
1611
1611
  rounded: "regular" | "sharp";
1612
1612
  eyebrows: "section" | "breadcrumbs";
1613
- codeblocks: "dark" | "auto";
1613
+ codeblocks: "dark" | "system";
1614
1614
  } | undefined;
1615
1615
  redirects?: {
1616
1616
  source: string;
@@ -1779,8 +1779,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1779
1779
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1780
1780
  } | undefined;
1781
1781
  color?: {
1782
- light: string;
1783
- dark: string;
1782
+ light?: string | undefined;
1783
+ dark?: string | undefined;
1784
1784
  } | undefined;
1785
1785
  hidden?: boolean | undefined;
1786
1786
  } & {
@@ -1885,8 +1885,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1885
1885
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1886
1886
  } | undefined;
1887
1887
  color?: {
1888
- light: string;
1889
- dark: string;
1888
+ light?: string | undefined;
1889
+ dark?: string | undefined;
1890
1890
  } | undefined;
1891
1891
  hidden?: boolean | undefined;
1892
1892
  } & {
@@ -1931,8 +1931,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1931
1931
  } | undefined;
1932
1932
  decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
1933
1933
  color?: {
1934
- light: string;
1935
- dark: string;
1934
+ light?: string | undefined;
1935
+ dark?: string | undefined;
1936
1936
  } | undefined;
1937
1937
  } | undefined;
1938
1938
  topbar?: {
@@ -1991,7 +1991,7 @@ export declare const mintConfigSchema: z.ZodObject<{
1991
1991
  styling?: {
1992
1992
  rounded?: "regular" | "sharp" | undefined;
1993
1993
  eyebrows?: "section" | "breadcrumbs" | undefined;
1994
- codeblocks?: "dark" | "auto" | undefined;
1994
+ codeblocks?: "dark" | "system" | undefined;
1995
1995
  } | undefined;
1996
1996
  redirects?: {
1997
1997
  source: string;