starlight-theme-nova 0.9.3 → 0.9.5

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.
@@ -104,7 +104,7 @@
104
104
  .nova-link-button-icon-left{--nova-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m12 19l-7-7l7-7m7 7H5'/%3E%3C/svg%3E");-webkit-mask:var(--nova-icon) no-repeat;mask:var(--nova-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;width:1.25rem;height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
105
105
  .nova-link-button-icon-right{--nova-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14m-7-7l7 7l-7 7'/%3E%3C/svg%3E");-webkit-mask:var(--nova-icon) no-repeat;mask:var(--nova-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;width:1.25rem;height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
106
106
  .nova-link-card-icon{--nova-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14m-7-7l7 7l-7 7'/%3E%3C/svg%3E");-webkit-mask:var(--nova-icon) no-repeat;mask:var(--nova-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;margin-left:0.5rem;width:1.25rem;height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
107
- .nova-mobile-menu-toggle-icon{--nova-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 12h16M4 18h16M4 6h16'/%3E%3C/svg%3E");-webkit-mask:var(--nova-icon) no-repeat;mask:var(--nova-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;transition-property:transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
107
+ .nova-mobile-menu-toggle-icon{--nova-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 5h16M4 12h16M4 19h16'/%3E%3C/svg%3E");-webkit-mask:var(--nova-icon) no-repeat;mask:var(--nova-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;transition-property:transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;}
108
108
  body[data-mobile-menu-expanded] .nova-mobile-menu-toggle-icon{--nova-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");-webkit-mask:var(--nova-icon) no-repeat;mask:var(--nova-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;--nova-rotate-x:0;--nova-rotate-y:0;--nova-rotate-z:0;--nova-rotate:90deg;transform:translateX(var(--nova-translate-x)) translateY(var(--nova-translate-y)) translateZ(var(--nova-translate-z)) rotate(var(--nova-rotate)) rotateX(var(--nova-rotate-x)) rotateY(var(--nova-rotate-y)) rotateZ(var(--nova-rotate-z)) skewX(var(--nova-skew-x)) skewY(var(--nova-skew-y)) scaleX(var(--nova-scale-x)) scaleY(var(--nova-scale-y)) scaleZ(var(--nova-scale-z));}
109
109
  .nova-pagination-link-icon-left{--nova-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m15 18l-6-6l6-6'/%3E%3C/svg%3E");-webkit-mask:var(--nova-icon) no-repeat;mask:var(--nova-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
110
110
  .nova-pagination-link-icon-right{--nova-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m9 18l6-6l-6-6'/%3E%3C/svg%3E");-webkit-mask:var(--nova-icon) no-repeat;mask:var(--nova-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "starlight-theme-nova",
3
3
  "type": "module",
4
- "version": "0.9.3",
5
- "description": "",
4
+ "version": "0.9.5",
5
+ "description": "A beautiful theme for Astro Starlight",
6
6
  "author": "ocavue <ocavue@gmail.com>",
7
7
  "license": "MIT",
8
8
  "funding": "https://github.com/sponsors/ocavue",
@@ -26,17 +26,17 @@
26
26
  "src"
27
27
  ],
28
28
  "dependencies": {
29
- "@aria-ui/core": "^0.0.21",
30
- "@pagefind/default-ui": "^1.3.0",
31
- "@shikijs/transformers": "^3.9.1",
32
- "@shikijs/twoslash": "^3.9.1",
33
- "@shikijs/types": "^3.9.1",
29
+ "@aria-ui/core": "^0.0.22",
30
+ "@pagefind/default-ui": "^1.4.0",
31
+ "@shikijs/transformers": "^3.12.2",
32
+ "@shikijs/twoslash": "^3.12.2",
33
+ "@shikijs/types": "^3.12.2",
34
34
  "@types/hast": "^3.0.4",
35
- "astro-theme-toggle": "^0.6.1",
35
+ "astro-theme-toggle": "^0.7.0",
36
36
  "hast-util-is-element": "^3.0.0",
37
37
  "rehype": "^13.0.2",
38
38
  "remark-custom-header-id": "^1.0.0",
39
- "shiki-twoslash-renderer": "0.0.4"
39
+ "shiki-twoslash-renderer": "^0.1.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@astrojs/starlight": "*"
@@ -47,17 +47,17 @@
47
47
  }
48
48
  },
49
49
  "devDependencies": {
50
- "@astrojs/starlight": "^0.35.2",
50
+ "@astrojs/starlight": "^0.35.3",
51
51
  "@iconify-json/bxl": "^1.2.2",
52
- "@iconify-json/logos": "^1.2.5",
53
- "@iconify-json/lucide": "^1.2.59",
54
- "@iconify-json/tabler": "^1.2.20",
55
- "@ocavue/tsconfig": "^0.3.7",
52
+ "@iconify-json/logos": "^1.2.9",
53
+ "@iconify-json/lucide": "^1.2.68",
54
+ "@iconify-json/tabler": "^1.2.23",
55
+ "@ocavue/tsconfig": "^0.5.0",
56
56
  "@types/node": "^20.17.30",
57
- "@unocss/cli": "^66.3.2",
58
- "astro": "^5.12.7",
59
- "typescript": "^5.8.3",
60
- "unocss": "^66.3.2",
57
+ "@unocss/cli": "^66.5.1",
58
+ "astro": "^5.13.8",
59
+ "typescript": "^5.9.2",
60
+ "unocss": "^66.5.1",
61
61
  "unocss-preset-animations": "^1.2.1"
62
62
  },
63
63
  "scripts": {
@@ -28,7 +28,7 @@ export function getI18nText(
28
28
  }
29
29
 
30
30
  const message =
31
- `[Astrobook] Unable to find the translation for language "${lang}".\n` +
31
+ `[starlight-theme-nova] Unable to find the translation for language "${lang}".\n` +
32
32
  `Are you using the correct BCP-47 language tag ` +
33
33
  `(e.g. "en", "ar", or "zh-CN") in the following configuration?\n` +
34
34
  JSON.stringify(value, null, 2) +