@sit-onyx/vitepress-theme 1.0.0-alpha.4 → 1.0.0-alpha.41
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 -3
- package/src/index.scss +4 -4
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.
|
|
4
|
+
"version": "1.0.0-alpha.41",
|
|
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": "^
|
|
29
|
+
"sit-onyx": "^1.0.0-alpha.42"
|
|
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
|
}
|