Skip to content

Commit

Permalink
Fix mode generation for plugin-sass + plugin-css (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow authored Mar 3, 2024
1 parent fb51099 commit eecdee6
Show file tree
Hide file tree
Showing 34 changed files with 8,814 additions and 8,665 deletions.
5 changes: 5 additions & 0 deletions .changeset/fast-wolves-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cobalt-ui/cli": patch
---

Throw error on missing tokens.json
7 changes: 7 additions & 0 deletions .changeset/hip-llamas-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@cobalt-ui/plugin-sass': minor
---

Fix collision of mode names if a user has a mode called `"default"`, changing the internal selector to `"."` (a single dot).

`"."` will be used more often in the upcoming [2.0 API](https://github.com/drwpow/cobalt-ui/issues/201), chosen because it’s easy to type/reference, uses illegal characters (therefore consumers can’t use it, but internally we know what it means), and also because it matches [Node’s ESM implementation for the default import](https://nodejs.org/docs/latest/api/esm.html#resolution-algorithm-specification), so it will be familiar/expected for some developers.
5 changes: 5 additions & 0 deletions .changeset/shiny-rats-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cobalt-ui/plugin-sass": patch
---

Fix plugin-sass mode generation
1,228 changes: 612 additions & 616 deletions examples/adobe/tokens/index.d.ts

Large diffs are not rendered by default.

Loading

0 comments on commit eecdee6

Please sign in to comment.