@nightshadeui/vite 3.11.0 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,4 +23,6 @@ export default defineConfig({
23
23
 
24
24
  `cssLayerOrder(['acme'])` states the order (Nightshade's three, then yours) ahead of every stylesheet: first in each CSS file the build emits, and in `index.html` for dev. Apps use it; libraries don't.
25
25
 
26
+ CSS that a library injects at runtime (CodeMirror's `<style>` tags) is unlayered, and no plugin can put it in a layer: it beats every layer. Style that library's elements through its own theme API (CodeMirror's `EditorView.theme()`), reading your variables, rather than with CSS in a component. That's by design: `cssLayer()` has no opt-out for unlayered blocks.
27
+
26
28
  The `nightshade` umbrella re-exports the same plugins as `nightshade/vite`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nightshadeui/vite",
3
- "version": "3.11.0",
3
+ "version": "3.12.0",
4
4
  "description": "Vite plugins for Nightshade cascade layers: cssLayer and cssLayerOrder",
5
5
  "author": "Boris Okunskiy",
6
6
  "license": "ISC",