@opencode/theme 2.0.13 → 2.0.15

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.
@@ -1,10 +1,7 @@
1
1
  import { Schema } from "effect";
2
2
  export declare const HueStep: Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>;
3
3
  export type HueStep = Schema.Schema.Type<typeof HueStep>;
4
- export declare const BaseHue: Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>;
5
- export type BaseHue = Schema.Schema.Type<typeof BaseHue>;
6
- export declare const HueAlias: Schema.Literals<readonly ["accent", "interactive", "neutral"]>;
7
- export type HueAlias = Schema.Schema.Type<typeof HueAlias>;
4
+ export type SemanticHue = "accent" | "interactive" | "neutral";
8
5
  export declare const ActionVariant: Schema.Literals<readonly ["primary", "secondary", "destructive"]>;
9
6
  export type ActionVariant = Schema.Schema.Type<typeof ActionVariant>;
10
7
  export declare const ActionState: Schema.Literals<readonly ["disabled", "pressed", "focused", "selected", "hovered"]>;
@@ -19,24 +16,14 @@ export declare const FeedbackKind: Schema.Literals<readonly ["error", "warning",
19
16
  export type FeedbackKind = Schema.Schema.Type<typeof FeedbackKind>;
20
17
  declare const Mode: Schema.Literals<readonly ["light", "dark"]>;
21
18
  export type Mode = Schema.Schema.Type<typeof Mode>;
22
- export declare const HueName: Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>;
19
+ export declare const HueName: Schema.NonEmptyString;
23
20
  export type HueName = Schema.Schema.Type<typeof HueName>;
24
- export declare const CategoricalDefinition: Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>;
21
+ export declare const CategoricalDefinition: Schema.$Array<Schema.NonEmptyString>;
25
22
  export type CategoricalDefinition = Schema.Schema.Type<typeof CategoricalDefinition>;
26
- declare const HueDefinition: Schema.Struct<{
27
- readonly gray: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
28
- readonly red: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
29
- readonly orange: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
30
- readonly yellow: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
31
- readonly green: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
32
- readonly cyan: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
33
- readonly blue: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
34
- readonly purple: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
35
- readonly accent: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
36
- readonly interactive: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
37
- readonly neutral: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
38
- }>;
39
- export type HueDefinition = Schema.Schema.Type<typeof HueDefinition>;
23
+ declare const HueValueDefinition: Schema.Union<readonly [Schema.String, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
24
+ type HueValueDefinition = Schema.Schema.Type<typeof HueValueDefinition>;
25
+ declare const HueDefinition: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.String, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>>;
26
+ export type HueDefinition = Schema.Schema.Type<typeof HueDefinition> & Readonly<Record<SemanticHue, HueValueDefinition>>;
40
27
  declare const StatefulColorDefinition: Schema.Struct<{
41
28
  readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
42
29
  readonly $hovered: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
@@ -163,11 +150,11 @@ declare const BackgroundDefinition: Schema.Struct<{
163
150
  export type BackgroundDefinition = Schema.Schema.Type<typeof BackgroundDefinition>;
164
151
  export declare const SyntaxToken: Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>;
165
152
  export type SyntaxToken = Schema.Schema.Type<typeof SyntaxToken>;
166
- export declare const SyntaxDefinition: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>;
153
+ export declare const SyntaxDefinition: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>;
167
154
  export type SyntaxDefinition = Schema.Schema.Type<typeof SyntaxDefinition>;
168
155
  export declare const MarkdownToken: Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>;
169
156
  export type MarkdownToken = Schema.Schema.Type<typeof MarkdownToken>;
170
- export declare const MarkdownDefinition: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>;
157
+ export declare const MarkdownDefinition: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>;
171
158
  export type MarkdownDefinition = Schema.Schema.Type<typeof MarkdownDefinition>;
172
159
  declare const DiffDefinition: Schema.Struct<{
173
160
  readonly text: Schema.optional<Schema.Struct<{
@@ -337,8 +324,8 @@ declare const ThemeTokensDefinition: Schema.Struct<{
337
324
  }>>;
338
325
  }>>;
339
326
  }>>;
340
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
341
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
327
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
328
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
342
329
  }>;
343
330
  export type ThemeTokensDefinition = Schema.Schema.Type<typeof ThemeTokensDefinition>;
344
331
  export declare const ThemeDefinition: Schema.Struct<{
@@ -485,8 +472,8 @@ export declare const ThemeDefinition: Schema.Struct<{
485
472
  }>>;
486
473
  }>>;
487
474
  }>>;
488
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
489
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
475
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
476
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
490
477
  }>>;
491
478
  readonly text: Schema.Struct<{
492
479
  readonly base: Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>;
@@ -630,22 +617,10 @@ export declare const ThemeDefinition: Schema.Struct<{
630
617
  }>;
631
618
  }>;
632
619
  }>;
633
- readonly syntax: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>;
634
- readonly markdown: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>;
635
- readonly hue: Schema.Struct<{
636
- readonly gray: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
637
- readonly red: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
638
- readonly orange: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
639
- readonly yellow: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
640
- readonly green: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
641
- readonly cyan: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
642
- readonly blue: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
643
- readonly purple: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
644
- readonly accent: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
645
- readonly interactive: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
646
- readonly neutral: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
647
- }>;
648
- readonly categorical: Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>;
620
+ readonly syntax: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.Union<readonly [Schema.String, Schema.String]>>;
621
+ readonly markdown: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.Union<readonly [Schema.String, Schema.String]>>;
622
+ readonly hue: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.String, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>>;
623
+ readonly categorical: Schema.$Array<Schema.NonEmptyString>;
649
624
  }>;
650
625
  export type ThemeDefinition = Schema.Schema.Type<typeof ThemeDefinition>;
651
626
  export declare const BaseThemeDefinition: Schema.Struct<{
@@ -792,8 +767,8 @@ export declare const BaseThemeDefinition: Schema.Struct<{
792
767
  }>>;
793
768
  }>>;
794
769
  }>>;
795
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
796
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
770
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
771
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
797
772
  }>>;
798
773
  readonly text: Schema.Struct<{
799
774
  readonly base: Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>;
@@ -937,9 +912,9 @@ export declare const BaseThemeDefinition: Schema.Struct<{
937
912
  }>;
938
913
  }>;
939
914
  }>;
940
- readonly syntax: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>;
941
- readonly markdown: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>;
942
- readonly categorical: Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>;
915
+ readonly syntax: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.Union<readonly [Schema.String, Schema.String]>>;
916
+ readonly markdown: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.Union<readonly [Schema.String, Schema.String]>>;
917
+ readonly categorical: Schema.$Array<Schema.NonEmptyString>;
943
918
  }>;
944
919
  export type BaseThemeDefinition = Schema.Schema.Type<typeof BaseThemeDefinition>;
945
920
  export declare const ModeDefinition: Schema.Struct<{
@@ -1086,8 +1061,8 @@ export declare const ModeDefinition: Schema.Struct<{
1086
1061
  }>>;
1087
1062
  }>>;
1088
1063
  }>>;
1089
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1090
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1064
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1065
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1091
1066
  }>>;
1092
1067
  readonly text: Schema.optional<Schema.Struct<{
1093
1068
  readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
@@ -1231,22 +1206,10 @@ export declare const ModeDefinition: Schema.Struct<{
1231
1206
  }>>;
1232
1207
  }>>;
1233
1208
  }>>;
1234
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1235
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1236
- readonly hue: Schema.Struct<{
1237
- readonly gray: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1238
- readonly red: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1239
- readonly orange: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1240
- readonly yellow: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1241
- readonly green: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1242
- readonly cyan: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1243
- readonly blue: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1244
- readonly purple: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1245
- readonly accent: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1246
- readonly interactive: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1247
- readonly neutral: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1248
- }>;
1249
- readonly categorical: Schema.optional<Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>>;
1209
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1210
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1211
+ readonly hue: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.String, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>>;
1212
+ readonly categorical: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
1250
1213
  }>;
1251
1214
  export type ModeDefinition = Schema.Schema.Type<typeof ModeDefinition>;
1252
1215
  export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
@@ -1394,8 +1357,8 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
1394
1357
  }>>;
1395
1358
  }>>;
1396
1359
  }>>;
1397
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1398
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1360
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1361
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1399
1362
  }>>;
1400
1363
  readonly text: Schema.Struct<{
1401
1364
  readonly base: Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>;
@@ -1539,9 +1502,9 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
1539
1502
  }>;
1540
1503
  }>;
1541
1504
  }>;
1542
- readonly syntax: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>;
1543
- readonly markdown: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>;
1544
- readonly categorical: Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>;
1505
+ readonly syntax: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.Union<readonly [Schema.String, Schema.String]>>;
1506
+ readonly markdown: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.Union<readonly [Schema.String, Schema.String]>>;
1507
+ readonly categorical: Schema.$Array<Schema.NonEmptyString>;
1545
1508
  }>;
1546
1509
  readonly light: Schema.Struct<{
1547
1510
  readonly "@dialog": Schema.optional<Schema.Struct<{
@@ -1687,8 +1650,8 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
1687
1650
  }>>;
1688
1651
  }>>;
1689
1652
  }>>;
1690
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1691
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1653
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1654
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1692
1655
  }>>;
1693
1656
  readonly text: Schema.optional<Schema.Struct<{
1694
1657
  readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
@@ -1832,22 +1795,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
1832
1795
  }>>;
1833
1796
  }>>;
1834
1797
  }>>;
1835
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1836
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1837
- readonly hue: Schema.Struct<{
1838
- readonly gray: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1839
- readonly red: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1840
- readonly orange: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1841
- readonly yellow: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1842
- readonly green: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1843
- readonly cyan: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1844
- readonly blue: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1845
- readonly purple: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1846
- readonly accent: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1847
- readonly interactive: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1848
- readonly neutral: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
1849
- }>;
1850
- readonly categorical: Schema.optional<Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>>;
1798
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1799
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1800
+ readonly hue: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.String, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>>;
1801
+ readonly categorical: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
1851
1802
  }>;
1852
1803
  readonly dark: Schema.optional<Schema.Struct<{
1853
1804
  readonly "@dialog": Schema.optional<Schema.Struct<{
@@ -1993,8 +1944,8 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
1993
1944
  }>>;
1994
1945
  }>>;
1995
1946
  }>>;
1996
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1997
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
1947
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1948
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
1998
1949
  }>>;
1999
1950
  readonly text: Schema.optional<Schema.Struct<{
2000
1951
  readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
@@ -2138,22 +2089,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
2138
2089
  }>>;
2139
2090
  }>>;
2140
2091
  }>>;
2141
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2142
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2143
- readonly hue: Schema.Struct<{
2144
- readonly gray: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2145
- readonly red: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2146
- readonly orange: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2147
- readonly yellow: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2148
- readonly green: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2149
- readonly cyan: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2150
- readonly blue: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2151
- readonly purple: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2152
- readonly accent: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2153
- readonly interactive: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2154
- readonly neutral: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2155
- }>;
2156
- readonly categorical: Schema.optional<Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>>;
2092
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2093
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2094
+ readonly hue: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.String, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>>;
2095
+ readonly categorical: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
2157
2096
  }>>;
2158
2097
  readonly $schema: Schema.optional<Schema.String>;
2159
2098
  }>, Schema.Struct<{
@@ -2301,8 +2240,8 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
2301
2240
  }>>;
2302
2241
  }>>;
2303
2242
  }>>;
2304
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2305
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2243
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2244
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2306
2245
  }>>;
2307
2246
  readonly text: Schema.Struct<{
2308
2247
  readonly base: Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>;
@@ -2446,9 +2385,9 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
2446
2385
  }>;
2447
2386
  }>;
2448
2387
  }>;
2449
- readonly syntax: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>;
2450
- readonly markdown: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>;
2451
- readonly categorical: Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>;
2388
+ readonly syntax: Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.Union<readonly [Schema.String, Schema.String]>>;
2389
+ readonly markdown: Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.Union<readonly [Schema.String, Schema.String]>>;
2390
+ readonly categorical: Schema.$Array<Schema.NonEmptyString>;
2452
2391
  }>;
2453
2392
  readonly light: Schema.optional<Schema.Struct<{
2454
2393
  readonly "@dialog": Schema.optional<Schema.Struct<{
@@ -2594,8 +2533,8 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
2594
2533
  }>>;
2595
2534
  }>>;
2596
2535
  }>>;
2597
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2598
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2536
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2537
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2599
2538
  }>>;
2600
2539
  readonly text: Schema.optional<Schema.Struct<{
2601
2540
  readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
@@ -2739,22 +2678,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
2739
2678
  }>>;
2740
2679
  }>>;
2741
2680
  }>>;
2742
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2743
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2744
- readonly hue: Schema.Struct<{
2745
- readonly gray: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2746
- readonly red: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2747
- readonly orange: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2748
- readonly yellow: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2749
- readonly green: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2750
- readonly cyan: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2751
- readonly blue: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2752
- readonly purple: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2753
- readonly accent: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2754
- readonly interactive: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2755
- readonly neutral: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
2756
- }>;
2757
- readonly categorical: Schema.optional<Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>>;
2681
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2682
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2683
+ readonly hue: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.String, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>>;
2684
+ readonly categorical: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
2758
2685
  }>>;
2759
2686
  readonly dark: Schema.Struct<{
2760
2687
  readonly "@dialog": Schema.optional<Schema.Struct<{
@@ -2900,8 +2827,8 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
2900
2827
  }>>;
2901
2828
  }>>;
2902
2829
  }>>;
2903
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2904
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
2830
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2831
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2905
2832
  }>>;
2906
2833
  readonly text: Schema.optional<Schema.Struct<{
2907
2834
  readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
@@ -3045,22 +2972,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
3045
2972
  }>>;
3046
2973
  }>>;
3047
2974
  }>>;
3048
- readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
3049
- readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>, ".", Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>]>]>>>>;
3050
- readonly hue: Schema.Struct<{
3051
- readonly gray: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3052
- readonly red: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3053
- readonly orange: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3054
- readonly yellow: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3055
- readonly green: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3056
- readonly cyan: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3057
- readonly blue: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3058
- readonly purple: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3059
- readonly accent: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3060
- readonly interactive: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3061
- readonly neutral: Schema.Union<readonly [Schema.TemplateLiteral<readonly ["$hue.", Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>]>, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>;
3062
- }>;
3063
- readonly categorical: Schema.optional<Schema.$Array<Schema.Union<readonly [Schema.Literals<readonly ["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]>, Schema.Literals<readonly ["accent", "interactive", "neutral"]>]>>>;
2975
+ readonly syntax: Schema.optional<Schema.$Record<Schema.Literals<readonly ["comment", "keyword", "function", "variable", "string", "number", "type", "operator", "punctuation"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2976
+ readonly markdown: Schema.optional<Schema.$Record<Schema.Literals<readonly ["text", "heading", "link", "linkText", "code", "blockQuote", "emphasis", "strong", "horizontalRule", "listItem", "listEnumeration", "image", "imageText", "codeBlock"]>, Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.String]>>>>;
2977
+ readonly hue: Schema.$Record<Schema.NonEmptyString, Schema.Union<readonly [Schema.String, Schema.$Record<Schema.Literals<readonly [100, 200, 300, 400, 500, 600, 700, 800, 900]>, Schema.String>]>>;
2978
+ readonly categorical: Schema.optional<Schema.$Array<Schema.NonEmptyString>>;
3064
2979
  }>;
3065
2980
  readonly $schema: Schema.optional<Schema.String>;
3066
2981
  }>]>;
@@ -1,7 +1,5 @@
1
1
  import { Schema } from "effect";
2
2
  export const HueStep = Schema.Literals([100, 200, 300, 400, 500, 600, 700, 800, 900]);
3
- export const BaseHue = Schema.Literals(["gray", "red", "orange", "yellow", "green", "cyan", "blue", "purple"]);
4
- export const HueAlias = Schema.Literals(["accent", "interactive", "neutral"]);
5
3
  export const ActionVariant = Schema.Literals(["primary", "secondary", "destructive"]);
6
4
  export const ActionState = Schema.Literals(["disabled", "pressed", "focused", "selected", "hovered"]);
7
5
  export const SurfaceName = Schema.Literal("dialog");
@@ -14,24 +12,22 @@ const ColorValue = Schema.Union([
14
12
  Schema.Literal("transparent"),
15
13
  Schema.TemplateLiteral(["$", Schema.NonEmptyString]),
16
14
  ]);
17
- export const HueName = Schema.Union([BaseHue, HueAlias]);
15
+ export const HueName = Schema.NonEmptyString;
18
16
  export const CategoricalDefinition = Schema.Array(HueName).check(Schema.isMinLength(1));
19
- const HueColorValue = Schema.Union([HexColor, Schema.TemplateLiteral(["$hue.", HueName, ".", HueStep])]);
17
+ const HueColorValue = Schema.Union([
18
+ HexColor,
19
+ Schema.String.check(Schema.isPattern(/^\$hue\..+\.(?:100|200|300|400|500|600|700|800|900)$/)),
20
+ ]);
20
21
  const HueScaleDefinition = Schema.Record(HueStep, HexColor);
21
- const HueValueDefinition = Schema.Union([Schema.TemplateLiteral(["$hue.", HueName]), HueScaleDefinition]);
22
- const HueDefinition = Schema.Struct({
23
- gray: HueValueDefinition,
24
- red: HueValueDefinition,
25
- orange: HueValueDefinition,
26
- yellow: HueValueDefinition,
27
- green: HueValueDefinition,
28
- cyan: HueValueDefinition,
29
- blue: HueValueDefinition,
30
- purple: HueValueDefinition,
31
- accent: HueValueDefinition,
32
- interactive: HueValueDefinition,
33
- neutral: HueValueDefinition,
34
- });
22
+ const HueValueDefinition = Schema.Union([
23
+ Schema.String.check(Schema.isPattern(/^\$hue\..+$/)),
24
+ HueScaleDefinition,
25
+ ]);
26
+ const HueRecord = Schema.Record(HueName, HueValueDefinition);
27
+ const HueDefinition = HueRecord.check(Schema.makeFilter((hues) => {
28
+ const missing = ["accent", "interactive", "neutral"].filter((name) => hues[name] === undefined);
29
+ return missing.length ? `Missing required semantic hues: ${missing.join(", ")}` : undefined;
30
+ }));
35
31
  const StatefulColorDefinition = Schema.Struct({
36
32
  base: Schema.optional(ColorValue),
37
33
  $hovered: Schema.optional(ColorValue),