@mintlify/validation 0.1.241 → 0.1.243

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.
@@ -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');
@@ -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();
@@ -75,19 +75,6 @@ export declare const mintConfigSchema: z.ZodObject<{
75
75
  languages?: string[] | undefined;
76
76
  } | undefined;
77
77
  }>>;
78
- feedback: z.ZodOptional<z.ZodObject<{
79
- thumbs: z.ZodOptional<z.ZodBoolean>;
80
- edits: z.ZodOptional<z.ZodBoolean>;
81
- issues: z.ZodOptional<z.ZodBoolean>;
82
- }, "strip", z.ZodTypeAny, {
83
- thumbs?: boolean | undefined;
84
- edits?: boolean | undefined;
85
- issues?: boolean | undefined;
86
- }, {
87
- thumbs?: boolean | undefined;
88
- edits?: boolean | undefined;
89
- issues?: boolean | undefined;
90
- }>>;
91
78
  appearance: z.ZodOptional<z.ZodObject<{
92
79
  default: z.ZodDefault<z.ZodEnum<["system", "light", "dark"]>>;
93
80
  strict: z.ZodDefault<z.ZodBoolean>;
@@ -111,14 +98,14 @@ export declare const mintConfigSchema: z.ZodObject<{
111
98
  }>]>>;
112
99
  decoration: z.ZodDefault<z.ZodEnum<["gradient", "grid", "windows", "none"]>>;
113
100
  color: z.ZodOptional<z.ZodObject<{
114
- light: z.ZodString;
115
- dark: z.ZodString;
101
+ light: z.ZodOptional<z.ZodString>;
102
+ dark: z.ZodOptional<z.ZodString>;
116
103
  }, "strict", z.ZodTypeAny, {
117
- light: string;
118
- dark: string;
104
+ light?: string | undefined;
105
+ dark?: string | undefined;
119
106
  }, {
120
- light: string;
121
- dark: string;
107
+ light?: string | undefined;
108
+ dark?: string | undefined;
122
109
  }>>;
123
110
  }, "strip", z.ZodTypeAny, {
124
111
  decoration: "none" | "gradient" | "grid" | "windows";
@@ -127,8 +114,8 @@ export declare const mintConfigSchema: z.ZodObject<{
127
114
  dark: string;
128
115
  } | undefined;
129
116
  color?: {
130
- light: string;
131
- dark: string;
117
+ light?: string | undefined;
118
+ dark?: string | undefined;
132
119
  } | undefined;
133
120
  }, {
134
121
  image?: string | {
@@ -137,8 +124,8 @@ export declare const mintConfigSchema: z.ZodObject<{
137
124
  } | undefined;
138
125
  decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
139
126
  color?: {
140
- light: string;
141
- dark: string;
127
+ light?: string | undefined;
128
+ dark?: string | undefined;
142
129
  } | undefined;
143
130
  }>>;
144
131
  topbar: z.ZodOptional<z.ZodObject<{
@@ -609,14 +596,14 @@ export declare const mintConfigSchema: z.ZodObject<{
609
596
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
610
597
  }>]>>;
611
598
  color: z.ZodOptional<z.ZodObject<{
612
- light: z.ZodString;
613
- dark: z.ZodString;
599
+ light: z.ZodOptional<z.ZodString>;
600
+ dark: z.ZodOptional<z.ZodString>;
614
601
  }, "strict", z.ZodTypeAny, {
615
- light: string;
616
- dark: string;
602
+ light?: string | undefined;
603
+ dark?: string | undefined;
617
604
  }, {
618
- light: string;
619
- dark: string;
605
+ light?: string | undefined;
606
+ dark?: string | undefined;
620
607
  }>>;
621
608
  hidden: z.ZodOptional<z.ZodBoolean>;
622
609
  }, "strip", z.ZodTypeAny, {
@@ -626,8 +613,8 @@ export declare const mintConfigSchema: z.ZodObject<{
626
613
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
627
614
  } | undefined;
628
615
  color?: {
629
- light: string;
630
- dark: string;
616
+ light?: string | undefined;
617
+ dark?: string | undefined;
631
618
  } | undefined;
632
619
  hidden?: boolean | undefined;
633
620
  }, {
@@ -637,8 +624,8 @@ export declare const mintConfigSchema: z.ZodObject<{
637
624
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
638
625
  } | undefined;
639
626
  color?: {
640
- light: string;
641
- dark: string;
627
+ light?: string | undefined;
628
+ dark?: string | undefined;
642
629
  } | undefined;
643
630
  hidden?: boolean | undefined;
644
631
  }>, z.ZodObject<{
@@ -688,8 +675,8 @@ export declare const mintConfigSchema: z.ZodObject<{
688
675
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
689
676
  } | undefined;
690
677
  color?: {
691
- light: string;
692
- dark: string;
678
+ light?: string | undefined;
679
+ dark?: string | undefined;
693
680
  } | undefined;
694
681
  hidden?: boolean | undefined;
695
682
  } & {
@@ -735,8 +722,8 @@ export declare const mintConfigSchema: z.ZodObject<{
735
722
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
736
723
  } | undefined;
737
724
  color?: {
738
- light: string;
739
- dark: string;
725
+ light?: string | undefined;
726
+ dark?: string | undefined;
740
727
  } | undefined;
741
728
  hidden?: boolean | undefined;
742
729
  } & {
@@ -784,8 +771,8 @@ export declare const mintConfigSchema: z.ZodObject<{
784
771
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
785
772
  } | undefined;
786
773
  color?: {
787
- light: string;
788
- dark: string;
774
+ light?: string | undefined;
775
+ dark?: string | undefined;
789
776
  } | undefined;
790
777
  hidden?: boolean | undefined;
791
778
  } & {
@@ -833,8 +820,8 @@ export declare const mintConfigSchema: z.ZodObject<{
833
820
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
834
821
  } | undefined;
835
822
  color?: {
836
- light: string;
837
- dark: string;
823
+ light?: string | undefined;
824
+ dark?: string | undefined;
838
825
  } | undefined;
839
826
  hidden?: boolean | undefined;
840
827
  } & {
@@ -1399,8 +1386,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1399
1386
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1400
1387
  } | undefined;
1401
1388
  color?: {
1402
- light: string;
1403
- dark: string;
1389
+ light?: string | undefined;
1390
+ dark?: string | undefined;
1404
1391
  } | undefined;
1405
1392
  hidden?: boolean | undefined;
1406
1393
  } & {
@@ -1505,8 +1492,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1505
1492
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1506
1493
  } | undefined;
1507
1494
  color?: {
1508
- light: string;
1509
- dark: string;
1495
+ light?: string | undefined;
1496
+ dark?: string | undefined;
1510
1497
  } | undefined;
1511
1498
  hidden?: boolean | undefined;
1512
1499
  } & {
@@ -1534,11 +1521,6 @@ export declare const mintConfigSchema: z.ZodObject<{
1534
1521
  languages?: string[] | undefined;
1535
1522
  } | undefined;
1536
1523
  } | undefined;
1537
- feedback?: {
1538
- thumbs?: boolean | undefined;
1539
- edits?: boolean | undefined;
1540
- issues?: boolean | undefined;
1541
- } | undefined;
1542
1524
  appearance?: {
1543
1525
  strict: boolean;
1544
1526
  default: "light" | "dark" | "system";
@@ -1550,8 +1532,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1550
1532
  dark: string;
1551
1533
  } | undefined;
1552
1534
  color?: {
1553
- light: string;
1554
- dark: string;
1535
+ light?: string | undefined;
1536
+ dark?: string | undefined;
1555
1537
  } | undefined;
1556
1538
  } | undefined;
1557
1539
  topbar?: {
@@ -1779,8 +1761,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1779
1761
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1780
1762
  } | undefined;
1781
1763
  color?: {
1782
- light: string;
1783
- dark: string;
1764
+ light?: string | undefined;
1765
+ dark?: string | undefined;
1784
1766
  } | undefined;
1785
1767
  hidden?: boolean | undefined;
1786
1768
  } & {
@@ -1885,8 +1867,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1885
1867
  style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
1886
1868
  } | undefined;
1887
1869
  color?: {
1888
- light: string;
1889
- dark: string;
1870
+ light?: string | undefined;
1871
+ dark?: string | undefined;
1890
1872
  } | undefined;
1891
1873
  hidden?: boolean | undefined;
1892
1874
  } & {
@@ -1915,11 +1897,6 @@ export declare const mintConfigSchema: z.ZodObject<{
1915
1897
  languages?: string[] | undefined;
1916
1898
  } | undefined;
1917
1899
  } | undefined;
1918
- feedback?: {
1919
- thumbs?: boolean | undefined;
1920
- edits?: boolean | undefined;
1921
- issues?: boolean | undefined;
1922
- } | undefined;
1923
1900
  appearance?: {
1924
1901
  default?: "light" | "dark" | "system" | undefined;
1925
1902
  strict?: boolean | undefined;
@@ -1931,8 +1908,8 @@ export declare const mintConfigSchema: z.ZodObject<{
1931
1908
  } | undefined;
1932
1909
  decoration?: "none" | "gradient" | "grid" | "windows" | undefined;
1933
1910
  color?: {
1934
- light: string;
1935
- dark: string;
1911
+ light?: string | undefined;
1912
+ dark?: string | undefined;
1936
1913
  } | undefined;
1937
1914
  } | undefined;
1938
1915
  topbar?: {