@sit-onyx/vitepress-theme 1.0.0-alpha.3 → 1.0.0-alpha.30

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/README.md CHANGED
@@ -1,10 +1,12 @@
1
- <p>
2
- <a href="https://gruppe.schwarz">
3
- <div align="center">
4
- <img src="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/schwarz-group.svg" width="400px" />
5
- </div>
6
- </a>
7
- </p>
1
+ <div align="center">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-light.svg">
4
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-dark.svg">
5
+ <img alt="onyx logo" src="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-dark.svg" width="160px">
6
+ </picture>
7
+ </div>
8
+
9
+ <br>
8
10
 
9
11
  # onyx VitePress theme
10
12
 
@@ -12,4 +14,4 @@ VitePress theme that uses the onyx design system created by [Schwarz IT](https:/
12
14
 
13
15
  ## Documentation
14
16
 
15
- You can find our documentation [here](https://onyx.schwarz/packages/vitepress-theme.html).
17
+ You can find our documentation [here](https://onyx.schwarz/development/packages/vitepress-theme.html).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sit-onyx/vitepress-theme",
3
3
  "description": "VitePress theme that uses the onyx design system",
4
- "version": "1.0.0-alpha.3",
4
+ "version": "1.0.0-alpha.30",
5
5
  "type": "module",
6
6
  "author": "Schwarz IT KG",
7
7
  "license": "Apache-2.0",
@@ -11,9 +11,10 @@
11
11
  "types": "./src/index.ts",
12
12
  "exports": {
13
13
  ".": "./src/index.ts",
14
+ "./index.scss": "./src/index.scss",
14
15
  "./mixins.scss": "./src/mixins.scss"
15
16
  },
16
- "homepage": "https://onyx.schwarz/packages/vitepress-theme.html",
17
+ "homepage": "https://onyx.schwarz/development/packages/vitepress-theme.html",
17
18
  "repository": {
18
19
  "type": "git",
19
20
  "url": "https://github.com/SchwarzIT/onyx",
@@ -25,7 +26,7 @@
25
26
  "peerDependencies": {
26
27
  "sass": ">= 1",
27
28
  "vitepress": ">= 1.0.0-rc.0",
28
- "sit-onyx": "^0.1.0-alpha.4"
29
+ "sit-onyx": "^1.0.0-alpha.31"
29
30
  },
30
31
  "scripts": {
31
32
  "build": "tsc --noEmit"
package/src/index.scss CHANGED
@@ -26,9 +26,9 @@
26
26
  --vp-c-gutter: var(--onyx-color-base-neutral-200);
27
27
 
28
28
  // typography
29
- --vp-c-text-1: var(--onyx-color-text-neutral-intense); // regular text
30
- --vp-c-text-2: var(--onyx-color-text-neutral-medium); // muted text (e.g. inactive menu)
31
- --vp-c-text-3: var(--onyx-color-text-neutral-soft); // subtle text (e.g. placeholders)
29
+ --vp-c-text-1: var(--onyx-color-text-icons-neutral-intense); // regular text
30
+ --vp-c-text-2: var(--onyx-color-text-icons-neutral-medium); // muted text (e.g. inactive menu)
31
+ --vp-c-text-3: var(--onyx-color-text-icons-neutral-soft); // subtle text (e.g. placeholders)
32
32
  --vp-font-family-base: var(--onyx-font-family);
33
33
  --vp-font-family-mono: var(--onyx-font-family-mono);
34
34
  --vp-code-color: var(--vp-c-brand-2);
@@ -62,5 +62,5 @@
62
62
  .custom-block.tip code {
63
63
  // use a higher contrast color for links/code inside tip blocks
64
64
  // because the default contrast is too low
65
- color: var(--onyx-color-text-info-bold);
65
+ color: var(--onyx-color-text-icons-info-bold);
66
66
  }