@sit-onyx/vitepress-theme 1.0.0-beta.28 → 1.0.0-beta.281

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,9 +1,5 @@
1
1
  <div align="center" style="text-align: center">
2
- <picture>
3
- <source media="(prefers-color-scheme: dark)" type="image/svg+xml" srcset="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo-light.svg">
4
- <source media="(prefers-color-scheme: light)" type="image/svg+xml" 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>
2
+ <img alt="onyx logo" src="https://raw.githubusercontent.com/SchwarzIT/onyx/main/.github/onyx-logo.svg" height="96px">
7
3
  </div>
8
4
 
9
5
  <br>
package/package.json CHANGED
@@ -1,10 +1,13 @@
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-beta.28",
4
+ "version": "1.0.0-beta.281",
5
5
  "type": "module",
6
6
  "author": "Schwarz IT KG",
7
7
  "license": "Apache-2.0",
8
+ "engines": {
9
+ "node": ">=20"
10
+ },
8
11
  "files": [
9
12
  "src"
10
13
  ],
@@ -26,7 +29,14 @@
26
29
  "peerDependencies": {
27
30
  "sass": ">= 1",
28
31
  "vitepress": ">= 1.0.0",
29
- "sit-onyx": "^1.0.0-beta.28"
32
+ "sit-onyx": "^1.0.0-beta.283"
33
+ },
34
+ "dependencies": {
35
+ "@fontsource-variable/source-code-pro": "^5.2.6",
36
+ "@fontsource-variable/source-sans-3": "^5.2.8"
37
+ },
38
+ "devDependencies": {
39
+ "sit-onyx": "^1.0.0-beta.283"
30
40
  },
31
41
  "scripts": {
32
42
  "build": "tsc --noEmit"
package/src/index.scss CHANGED
@@ -1,3 +1,5 @@
1
+ @use "@fontsource-variable/source-code-pro";
2
+ @use "@fontsource-variable/source-sans-3";
1
3
  @use "sit-onyx/src/styles/index.scss";
2
4
  @use "mixins.scss";
3
5
 
package/src/mixins.scss CHANGED
@@ -1,3 +1,5 @@
1
+ @use "sass:map";
2
+
1
3
  /**
2
4
  * Converts the given color (e.g. CSS variable or HEX color) to a VitePress "soft" color
3
5
  * by adding 25% of transparency to it.
@@ -47,7 +49,7 @@
47
49
  xxl: 1440px,
48
50
  );
49
51
 
50
- @media (#{$min-max}-width: #{map-get($breakpoints, $name) + $offset}) {
52
+ @media (#{$min-max}-width: #{map.get($breakpoints, $name) + $offset}) {
51
53
  @content;
52
54
  }
53
55
  }