@sit-onyx/vitepress-theme 1.0.0 → 1.1.0-dev-20260715111818
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/LICENSE.txt +1 -1
- package/README.md +2 -2
- package/package.json +19 -19
- package/src/index.scss +2 -2
- package/src/scss.d.ts +1 -0
package/LICENSE.txt
CHANGED
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
|
|
176
176
|
END OF TERMS AND CONDITIONS
|
|
177
177
|
|
|
178
|
-
Copyright 2023 Schwarz IT KG
|
|
178
|
+
Copyright 2023 Schwarz Digits IT KG
|
|
179
179
|
|
|
180
180
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
181
181
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<div align="center" style="text-align: center">
|
|
2
|
-
|
|
2
|
+
<img alt="Onyx logo" src="https://raw.githubusercontent.com/SchwarzIT/onyx/main/packages/assets/src/onyx-brand/signet.svg" height="96px">
|
|
3
3
|
</div>
|
|
4
4
|
|
|
5
5
|
<br>
|
|
6
6
|
|
|
7
7
|
# onyx VitePress theme
|
|
8
8
|
|
|
9
|
-
VitePress theme that uses the onyx design system created by [Schwarz
|
|
9
|
+
VitePress theme that uses the onyx design system created by [Schwarz Digits](https://schwarz-digits.de).
|
|
10
10
|
|
|
11
11
|
## Documentation
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sit-onyx/vitepress-theme",
|
|
3
|
+
"version": "1.1.0-dev-20260715111818",
|
|
3
4
|
"description": "VitePress theme that uses the onyx design system",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
5
|
+
"homepage": "https://onyx.schwarz/development/packages/vitepress-theme.html",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/SchwarzIT/onyx/issues"
|
|
8
|
+
},
|
|
7
9
|
"license": "Apache-2.0",
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
+
"author": "Schwarz Digits IT KG",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/SchwarzIT/onyx",
|
|
14
|
+
"directory": "packages/vitepress-theme"
|
|
10
15
|
},
|
|
11
16
|
"files": [
|
|
12
17
|
"src"
|
|
13
18
|
],
|
|
19
|
+
"type": "module",
|
|
14
20
|
"types": "./src/index.ts",
|
|
15
21
|
"exports": {
|
|
16
22
|
".": "./src/index.ts",
|
|
17
23
|
"./index.scss": "./src/index.scss",
|
|
18
24
|
"./mixins.scss": "./src/mixins.scss"
|
|
19
25
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"url": "https://github.com/SchwarzIT/onyx",
|
|
24
|
-
"directory": "packages/vitepress-theme"
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@fontsource-variable/source-code-pro": "^5.2.7",
|
|
28
|
+
"@fontsource-variable/source-sans-3": "^5.2.9"
|
|
25
29
|
},
|
|
26
|
-
"
|
|
27
|
-
"
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"sit-onyx": "^1.17.0-dev-20260715111818"
|
|
28
32
|
},
|
|
29
33
|
"peerDependencies": {
|
|
30
34
|
"sass": ">= 1",
|
|
31
35
|
"vitepress": ">= 1.0.0",
|
|
32
|
-
"sit-onyx": "^1.
|
|
33
|
-
},
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"@fontsource-variable/source-code-pro": "^5.2.6",
|
|
36
|
-
"@fontsource-variable/source-sans-3": "^5.2.9"
|
|
36
|
+
"sit-onyx": "^1.17.0-dev-20260715111818"
|
|
37
37
|
},
|
|
38
|
-
"
|
|
39
|
-
"
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=20"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsc --noEmit"
|
package/src/index.scss
CHANGED
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
--vp-c-text-1: var(--onyx-color-text-icons-neutral-intense); // regular text
|
|
32
32
|
--vp-c-text-2: var(--onyx-color-text-icons-neutral-medium); // muted text (e.g. inactive menu)
|
|
33
33
|
--vp-c-text-3: var(--onyx-color-text-icons-neutral-soft); // subtle text (e.g. placeholders)
|
|
34
|
-
--vp-font-family-base: var(--onyx-font-family);
|
|
34
|
+
--vp-font-family-base: var(--onyx-font-family-paragraph);
|
|
35
35
|
--vp-font-family-mono: var(--onyx-font-family-mono);
|
|
36
36
|
--vp-code-color: var(--vp-c-brand-2);
|
|
37
37
|
|
|
38
38
|
// add colored gradient background to the logo on the home page
|
|
39
39
|
// the gradient colors are exceptions so we don't have CSS variables for them
|
|
40
|
-
--vp-home-hero-image-background-image:
|
|
40
|
+
--vp-home-hero-image-background-image: radial-gradient(transparent 50%, #00dce6 50%);
|
|
41
41
|
--vp-home-hero-image-filter: blur(44px);
|
|
42
42
|
@include mixins.breakpoint(min, l) {
|
|
43
43
|
--vp-home-hero-image-filter: blur(68px);
|
package/src/scss.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module "*.scss";
|