@cogenta/theme-canonical 1.1.2 → 1.1.3
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/package.json +4 -4
- package/src/styles/base.css +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cogenta/theme-canonical",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "The reference Cogenta theme: the twelve vocabulary blocks, rendered accessibly, with zero client JavaScript.",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"directory": "packages/theme-canonical"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@cogenta/
|
|
43
|
-
"@cogenta/
|
|
44
|
-
"@cogenta/
|
|
42
|
+
"@cogenta/theme-kit": "0.3.3",
|
|
43
|
+
"@cogenta/render": "0.2.4",
|
|
44
|
+
"@cogenta/blocks": "1.0.4"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"astro": "^7.2.1"
|
package/src/styles/base.css
CHANGED
|
@@ -423,19 +423,19 @@ img {
|
|
|
423
423
|
while dark — from the same `[data-theme]`/`prefers-color-scheme` signals
|
|
424
424
|
`tokens.css` already keys the whole palette on. */
|
|
425
425
|
@media (prefers-color-scheme: dark) {
|
|
426
|
-
:where(:root:not([data-theme=
|
|
426
|
+
:where(:root:not([data-theme="light"])) .cg-theme-toggle__icon--sun {
|
|
427
427
|
display: none;
|
|
428
428
|
}
|
|
429
|
-
:where(:root:not([data-theme=
|
|
429
|
+
:where(:root:not([data-theme="light"])) .cg-theme-toggle__icon--moon {
|
|
430
430
|
display: block;
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
:where(:root[data-theme=
|
|
434
|
+
:where(:root[data-theme="dark"]) .cg-theme-toggle__icon--sun {
|
|
435
435
|
display: none;
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
-
:where(:root[data-theme=
|
|
438
|
+
:where(:root[data-theme="dark"]) .cg-theme-toggle__icon--moon {
|
|
439
439
|
display: block;
|
|
440
440
|
}
|
|
441
441
|
|