/** @license MIT | @cube-dev/ui-kit v0.142.7 | Cube Dev Team */
import { PALETTE_TOKENS } from "./palette.js";

//#region src/tokens/colors.ts
/**
* Color tokens with `#` prefix for tasty color definitions.
*
* The base values come from the Glaze-generated palette (`palette.ts`):
* `#surface`, `#surface-text*`, `#border`, `#focus`, `#disabled`, `#pink`,
* `#shadow-*`, `#overlay`, the unprefixed `#accent-*` family, and the per-theme
* `#primary-*` / `#purple-*` / `#success-*` / `#danger-*` / `#warning-*` /
* `#note-*` families.
*
* Each Glaze token is a state map (`{ '': '...', '@dark': '...', '@hc': '...' }`),
* giving us light, dark, and high-contrast variants for free. The `@dark` /
* `@hc` predefined states are wired up globally in `src/components/Root.tsx`.
*
* The aliases below preserve backward compatibility with every legacy
* `#name` used across components, stories, and tests. Each alias resolves
* to a current Glaze token via tasty's `#token` reference syntax.
*/
const LEGACY_ALIASES = {
	"#text": "#surface-text-soft",
	"#dark": "#surface-text",
	"#dark-01": "#surface-text",
	"#dark-02": "#surface-text-soft",
	"#dark-03": "#surface-text-soft-2",
	"#dark-04": "#placeholder",
	"#dark-05": "#border",
	"#fixed-dark": "#special-surface",
	"#fixed-primary-text": "#special-accent-text",
	"#minor": "#surface-text-soft.65",
	"#shadow": "#shadow-md",
	"#light": "#surface-3",
	"#dark-bg": "#surface-2",
	"#clear": "transparent",
	"#pink": "okhsl(5 100% 67%)",
	"#primary": "#primary-accent-surface",
	"#primary-text": "#primary-accent-text",
	"#primary-text-soft": "#primary-accent-text-soft",
	"#primary-bg": "#primary-surface",
	"#primary-icon": "#primary-accent-icon",
	"#primary-hover": "#primary-accent-surface-hover",
	"#primary-desaturated": "#primary-accent-surface-2",
	"#primary-disabled": "#disabled",
	"#purple": "#purple-accent-surface",
	"#purple-text": "#purple-accent-text",
	"#purple-text-soft": "#purple-accent-text-soft",
	"#purple-bg": "#purple-surface",
	"#purple-icon": "#purple-accent-icon",
	"#purple-hover": "#purple-accent-surface-hover",
	"#purple-disabled": "#disabled",
	"#purple-01": "#purple-accent-surface",
	"#purple-02": "#purple-accent-surface-2",
	"#purple-03": "#purple-accent-surface-3",
	"#purple-04": "#purple-surface",
	"#danger": "#danger-accent-surface",
	"#danger-text": "#danger-accent-text",
	"#danger-text-soft": "#danger-accent-text-soft",
	"#danger-bg": "#danger-surface",
	"#danger-icon": "#danger-accent-icon",
	"#danger-hover": "#danger-accent-surface-hover",
	"#danger-desaturated": "#danger-accent-surface-2",
	"#danger-disabled": "#disabled",
	"#success": "#success-accent-surface",
	"#success-text": "#success-accent-text",
	"#success-text-soft": "#success-accent-text-soft",
	"#success-bg": "#success-surface",
	"#success-icon": "#success-accent-icon",
	"#success-hover": "#success-accent-surface-hover",
	"#success-desaturated": "#success-accent-surface-2",
	"#success-disabled": "#disabled",
	"#warning": "#warning-accent-surface",
	"#warning-text": "#warning-accent-text",
	"#warning-text-soft": "#warning-accent-text-soft",
	"#warning-bg": "#warning-surface",
	"#warning-icon": "#warning-accent-icon",
	"#warning-hover": "#warning-accent-surface-hover",
	"#warning-desaturated": "#warning-accent-surface-2",
	"#warning-disabled": "#disabled",
	"#note": "#note-accent-surface",
	"#note-text": "#note-accent-text",
	"#note-text-soft": "#note-accent-text-soft",
	"#note-bg": "#note-surface",
	"#note-icon": "#note-accent-icon",
	"#note-hover": "#note-accent-surface-hover",
	"#note-desaturated": "#note-accent-surface-2",
	"#note-disabled": "#disabled"
};
/**
* Combined color token map: Glaze-generated palette + legacy aliases.
*
* `#white` and `#black` are intentionally omitted — they are built-in
* tasty named colors and resolve automatically.
*/
const COLOR_TOKENS = {
	...PALETTE_TOKENS,
	...LEGACY_ALIASES
};

//#endregion
export { COLOR_TOKENS };
//# sourceMappingURL=colors.js.map