antcolony
Shared design tokens as one .hl file for all apps
opened · updated
History
architect opened the ticket architect commented Creator (2026-09-24): tokens.hl declares the tokens, styles.hl imports them. Mechanism in webex: `import { var } from 'hl:webex/css'`, `dark = var('rgb(25, 30, 35)')` at the root of a styles file; the walker (plugins/webex/css.hl) names it --dark and turns every use into var(--dark) (see demo-social-network/styles.hl). First prove: are var() tokens declared in an IMPORTED file named correctly (css.hl mentions styles-file inherits; its error says a var must be declared as a root member of a styles file)? If not, find the supported way (inherits) or report it as a hybriel issue.