const colorsComponents: {
page: {
bg: {
default: {
value: "{colors.bg.default}";
};
};
border: {
default: {
value: "{colors.line.default}";
};
};
text: {
default: {
value: "{colors.fg.default}";
};
muted: {
value: "{colors.fg.muted}";
};
};
};
cta: {
primary: {
bg: {
default: {
value: "{colors.bg.primary}";
};
hover: {
value: "{colors.bg.primary}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "15%"]];
};
};
pressed: {
value: "{colors.bg.primary}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "30%"]];
};
};
};
border: {
focus: {
value: "{colors.line.primary}";
};
};
text: {
default: {
value: "{colors.fg.onPrimary}";
};
hover: {
value: "{colors.fg.onPrimary}";
};
};
};
secondary: {
bg: {
default: {
value: "{colors.bg.secondary}";
};
hover: {
value: "{colors.bg.secondary}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "10%"]];
};
};
pressed: {
value: "{colors.bg.secondary}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "20%"]];
};
};
};
border: {
focus: {
value: "{colors.line.primary}";
};
};
text: {
default: {
value: "{colors.fg.onSecondary}";
};
hover: {
value: "{colors.fg.onSecondary}";
};
};
};
};
link: {
primary: {
text: {
default: {
value: "{colors.fg.primary}";
};
hover: {
value: "{colors.fg.primary}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "15%"]];
};
};
pressed: {
value: "{colors.fg.primary}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "30%"]];
};
};
};
};
secondary: {
text: {
default: {
value: "{colors.fg.default}";
};
hover: {
value: "{colors.fg.default}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "10%"]];
};
};
pressed: {
value: "{colors.fg.default}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "20%"]];
};
};
};
};
};
input: {
bg: {
default: {
value: "{colors.bg.default}";
};
readonly: {
value: "{colors.bg.alternate}";
};
};
border: {
default: {
value: "{colors.line.heavy}";
};
focus: {
value: "{colors.line.primary}";
};
error: {
value: "{colors.line.negative}";
};
success: {
value: "{colors.line.positive}";
};
};
label: {
default: {
value: "{colors.fg.default}";
};
};
placeholder: {
default: {
value: "{colors.fg.muted}";
};
};
text: {
default: {
value: "{colors.fg.default}";
};
readonly: {
value: "{colors.fg.muted}";
};
};
errorText: {
default: {
value: "{colors.fg.negative}";
};
};
successText: {
default: {
value: "{colors.fg.positive}";
};
};
};
select: {
label: {
default: {
value: "{colors.fg.default}";
};
};
trigger: {
bg: {
default: {
value: "{colors.bg.default}";
};
hover: {
value: "{colors.bg.default}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "5%"]];
};
};
pressed: {
value: "{colors.bg.default}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "7%"]];
};
};
};
border: {
default: {
value: "{colors.line.default}";
};
focus: {
value: "{colors.line.primary}";
};
error: {
value: "{colors.line.negative}";
};
success: {
value: "{colors.line.positive}";
};
};
placeholder: {
default: {
value: "{colors.fg.muted}";
};
};
text: {
default: {
value: "{colors.fg.default}";
};
};
errorText: {
default: {
value: "{colors.fg.negative}";
};
};
successText: {
default: {
value: "{colors.fg.positive}";
};
};
};
list: {
bg: {
default: {
value: "{colors.bg.default}";
};
};
border: {
default: {
value: "{colors.line.default}";
};
focus: {
value: "{colors.line.primary}";
};
error: {
value: "{colors.line.negative}";
};
success: {
value: "{colors.line.positive}";
};
};
item: {
bg: {
default: {
value: "{colors.bg.default}";
};
highlight: {
value: "{colors.bg.default}";
modify: {
type: "color-mix";
value: readonly [readonly ["{colors.bg.contrast}", "10%"]];
};
};
};
text: {
default: {
value: "{colors.fg.default}";
};
muted: {
value: "{colors.fg.muted}";
};
onHighlight: {
value: "{colors.fg.default}";
};
mutedOnHighlight: {
value: "{colors.fg.muted}";
};
};
};
};
};
code: {
bg: {
default: {
value: "{colors.bg.alternate}";
};
};
border: {
default: {
value: "{colors.line.heavy}";
};
};
text: {
default: {
value: "{colors.fg.default}";
};
};
};
};