@quillmark/svelte 0.1.0 → 0.1.1
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.
- package/dist/core/theme.css +7 -0
- package/package.json +2 -4
package/dist/core/theme.css
CHANGED
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
on the root rule (`font-family`) that every root then inherits, and a free
|
|
13
13
|
`style` attribute for the consumer.
|
|
14
14
|
|
|
15
|
+
That import carries no binding, so it survives a consumer's bundler only because
|
|
16
|
+
the package claims `sideEffects: true`. Pruned, every rung below is undefined,
|
|
17
|
+
every `var()` reading one is invalid at computed-value time, and the declaration
|
|
18
|
+
holding it drops: a control with no border, no background and no padding, under
|
|
19
|
+
chrome that still reads as intact. `check:bundle` holds both ends, the claim and
|
|
20
|
+
the built bytes.
|
|
21
|
+
|
|
15
22
|
Every value stays a `var()` reference, so the dials resolve against the CASCADE
|
|
16
23
|
at each root: a consumer's `[data-theme="dark"]` ancestor rule flows in
|
|
17
24
|
unchanged, the light/dark default follows the `color-scheme` the host declares
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quillmark/svelte",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Editor, live-preview and source surfaces over a Quillmark WASM session.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -55,9 +55,7 @@
|
|
|
55
55
|
"THEMING.md",
|
|
56
56
|
"NOTICE"
|
|
57
57
|
],
|
|
58
|
-
"sideEffects":
|
|
59
|
-
"**/*.css"
|
|
60
|
-
],
|
|
58
|
+
"sideEffects": true,
|
|
61
59
|
"scripts": {
|
|
62
60
|
"build": "svelte-package",
|
|
63
61
|
"prepare": "npm run build",
|