openpencil/src
Danila Poyarkov 01e58a3ad0
feat: write variables as a CSS token stylesheet (#856)
* feat: write variables as a CSS token stylesheet

Copy a collection as CSS custom properties or a Tailwind v4 theme from the variables dialog, print it with openpencil tokens, and rebuild design_to_tokens on the same generator. Default modes go in :root or @theme, other modes override under their condition, and aliases are declared again in each mode scope so they follow it.

* fix: give modes that slug alike their own selector and variant

Two modes in one collection whose names reduce to the same slug, such as Dark and dark!, shared one default selector and Tailwind variant, so the later mode silently overrode the earlier one. Slugs are now numbered in mode order, as variable names already are.
2026-10-04 18:15:52 +00:00
..
app feat: write variables as a CSS token stylesheet (#856) 2026-10-04 18:15:52 +00:00
assets
components feat: write variables as a CSS token stylesheet (#856) 2026-10-04 18:15:52 +00:00
theme feat: create, fill, and edit slots (#862) 2026-10-04 17:02:28 +00:00
views feat: export components as Storybook stories (#751) 2026-09-30 03:16:47 +04:00
AGENTS.md docs: route contributors through per-domain guides and ship npm license text (#785) 2026-09-29 01:02:06 +04:00
app.css feat: create, fill, and edit slots (#862) 2026-10-04 17:02:28 +00:00
App.vue feat(updater): show download progress while installing an update 2026-09-25 23:15:14 +04:00
boot.ts fix: explain unsupported browsers instead of a blank window (#745) 2026-09-22 14:40:59 +04:00
constants.ts Release v0.15.0 2026-09-16 17:57:35 +03:00
env.d.ts fix(mcp): isolate Portless development routes 2026-08-21 08:14:04 +03:00
global.d.ts refactor: scope browser test instrumentation and global types (#667) 2026-09-10 14:26:36 +03:00
main.ts fix: explain unsupported browsers instead of a blank window (#745) 2026-09-22 14:40:59 +04:00
markdown.d.ts
router.d.ts
router.ts refactor(app): polish files workspace and New tabs 2026-08-20 17:20:33 +03:00