@eox/pages-theme-eox 0.4.14 → 0.4.16

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eox/pages-theme-eox",
3
- "version": "0.4.14",
3
+ "version": "0.4.16",
4
4
  "type": "module",
5
5
  "description": "Vitepress Theme with EOX branding",
6
6
  "main": "src/index.js",
package/src/Layout.vue CHANGED
@@ -289,7 +289,7 @@ header .cta.brand {
289
289
  color: #00060a;
290
290
  }
291
291
  header .cta.alt {
292
- background-color: #002742;
292
+ background-color: var(--primary, #002742);
293
293
  color: #f7f8f8;
294
294
  }
295
295
  footer {
package/src/index.js CHANGED
@@ -38,6 +38,10 @@ export default {
38
38
  --vp-c-brand-3: color-mix(in srgb, ${siteData.value.themeConfig.theme.primaryColor} 80%, white);
39
39
  --vp-c-brand-soft: color-mix(in srgb, ${siteData.value.themeConfig.theme.primaryColor} 16%, transparent);
40
40
  }
41
+ :root, body.light {
42
+ /* EOxUI */
43
+ --primary: ${siteData.value.themeConfig.theme.primaryColor};
44
+ }
41
45
  `),
42
46
  );
43
47
  document.head.appendChild(brandStyle);