@cogenta/theme-entreprise 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-entreprise",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "A confident, premium B2B theme for Cogenta: structured typography, real KPI/impact sections, a genuine dark mode, and zero client JavaScript.",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"directory": "packages/theme-entreprise"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@cogenta/
|
|
40
|
-
"@cogenta/theme-kit": "0.3.
|
|
41
|
-
"@cogenta/
|
|
39
|
+
"@cogenta/render": "0.2.4",
|
|
40
|
+
"@cogenta/theme-kit": "0.3.3",
|
|
41
|
+
"@cogenta/blocks": "1.0.4"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"astro": "^7.2.1"
|
package/src/styles/base.css
CHANGED
|
@@ -403,19 +403,19 @@ img {
|
|
|
403
403
|
while dark — from the same `[data-theme]`/`prefers-color-scheme` signals
|
|
404
404
|
`tokens.css` already keys the whole palette on. */
|
|
405
405
|
@media (prefers-color-scheme: dark) {
|
|
406
|
-
:where(:root:not([data-theme=
|
|
406
|
+
:where(:root:not([data-theme="light"])) .cg-theme-toggle__icon--sun {
|
|
407
407
|
display: none;
|
|
408
408
|
}
|
|
409
|
-
:where(:root:not([data-theme=
|
|
409
|
+
:where(:root:not([data-theme="light"])) .cg-theme-toggle__icon--moon {
|
|
410
410
|
display: block;
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
:where(:root[data-theme=
|
|
414
|
+
:where(:root[data-theme="dark"]) .cg-theme-toggle__icon--sun {
|
|
415
415
|
display: none;
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
:where(:root[data-theme=
|
|
418
|
+
:where(:root[data-theme="dark"]) .cg-theme-toggle__icon--moon {
|
|
419
419
|
display: block;
|
|
420
420
|
}
|
|
421
421
|
|