@umami/shiso 1.1.7 → 1.1.9

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/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to `@umami/shiso` are documented here. This project follows
4
4
  [Semantic Versioning](https://semver.org/).
5
5
 
6
+ ## 1.1.9 - 2026-08-19
7
+
8
+ ### Fixed
9
+
10
+ - Stop automatically inverting a shared logo in dark mode so PNG and other
11
+ full-color images render unchanged.
12
+
13
+ ## 1.1.8 - 2026-08-19
14
+
15
+ ### Changed
16
+
17
+ - Replace the custom and Zinc-derived light and dark grayscale theme tokens with
18
+ exact values from Tailwind's Neutral palette.
19
+
6
20
  ## 1.1.7 - 2026-08-19
7
21
 
8
22
  ### Fixed
@@ -26230,7 +26230,7 @@ function Header({ site }) {
26230
26230
  logo?.dark ? /* @__PURE__ */ jsx("img", {
26231
26231
  src: logo.dark,
26232
26232
  alt: "",
26233
- className: `hidden h-6 w-auto dark:block ${logo.light === logo.dark ? "dark:invert" : ""}`
26233
+ className: "hidden h-6 w-auto dark:block"
26234
26234
  }) : null,
26235
26235
  name ? /* @__PURE__ */ jsx("span", { children: name }) : null
26236
26236
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/shiso",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "Open-source documentation framework for Markdown and MDX sites.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -53,11 +53,7 @@ export function Header({ site }: { site: SiteModel }) {
53
53
  <img src={logo.light} alt="" className="h-6 w-auto dark:hidden" />
54
54
  ) : null}
55
55
  {logo?.dark ? (
56
- <img
57
- src={logo.dark}
58
- alt=""
59
- className={`hidden h-6 w-auto dark:block ${logo.light === logo.dark ? 'dark:invert' : ''}`}
60
- />
56
+ <img src={logo.dark} alt="" className="hidden h-6 w-auto dark:block" />
61
57
  ) : null}
62
58
  {name ? <span>{name}</span> : null}
63
59
  </a>
@@ -47,22 +47,22 @@
47
47
  --radius: 0.625rem;
48
48
 
49
49
  --background: #ffffff;
50
- --foreground: #111827;
50
+ --foreground: #171717;
51
51
  --card: #fafafa;
52
- --card-foreground: #111827;
52
+ --card-foreground: #171717;
53
53
  --popover: #ffffff;
54
- --popover-foreground: #111827;
54
+ --popover-foreground: #171717;
55
55
  --primary: #16a34a;
56
56
  --primary-foreground: #ffffff;
57
- --secondary: #f4f4f5;
58
- --secondary-foreground: #18181b;
59
- --muted: #f4f4f5;
60
- --muted-foreground: #71717a;
61
- --accent: #f4f4f5;
62
- --accent-foreground: #18181b;
57
+ --secondary: #f5f5f5;
58
+ --secondary-foreground: #171717;
59
+ --muted: #f5f5f5;
60
+ --muted-foreground: #737373;
61
+ --accent: #f5f5f5;
62
+ --accent-foreground: #171717;
63
63
  --destructive: #dc2626;
64
- --border: #e4e4e7;
65
- --input: #d4d4d8;
64
+ --border: #e5e5e5;
65
+ --input: #d4d4d4;
66
66
  --ring: #16a34a;
67
67
  --chart-1: #16a34a;
68
68
  --chart-2: #2563eb;
@@ -70,45 +70,45 @@
70
70
  --chart-4: #d97706;
71
71
  --chart-5: #dc2626;
72
72
  --sidebar: #fafafa;
73
- --sidebar-foreground: #111827;
73
+ --sidebar-foreground: #171717;
74
74
  --sidebar-primary: #16a34a;
75
75
  --sidebar-primary-foreground: #ffffff;
76
- --sidebar-accent: #f4f4f5;
77
- --sidebar-accent-foreground: #18181b;
78
- --sidebar-border: #e4e4e7;
76
+ --sidebar-accent: #f5f5f5;
77
+ --sidebar-accent-foreground: #171717;
78
+ --sidebar-border: #e5e5e5;
79
79
  --sidebar-ring: #16a34a;
80
80
  }
81
81
 
82
82
  [data-theme="dark"] {
83
- --background: #101014;
83
+ --background: #0a0a0a;
84
84
  --foreground: #fafafa;
85
- --card: #18181c;
85
+ --card: #171717;
86
86
  --card-foreground: #fafafa;
87
- --popover: #18181c;
87
+ --popover: #171717;
88
88
  --popover-foreground: #fafafa;
89
89
  --primary: #16a34a;
90
90
  --primary-foreground: #ffffff;
91
- --secondary: #1e1e23;
91
+ --secondary: #262626;
92
92
  --secondary-foreground: #fafafa;
93
- --muted: #1e1e23;
94
- --muted-foreground: #8b8b94;
95
- --accent: #1e1e23;
93
+ --muted: #262626;
94
+ --muted-foreground: #a3a3a3;
95
+ --accent: #262626;
96
96
  --accent-foreground: #fafafa;
97
97
  --destructive: #f87171;
98
- --border: #2b2b31;
99
- --input: #3f3f46;
98
+ --border: #262626;
99
+ --input: #404040;
100
100
  --ring: #22c55e;
101
101
  --chart-1: #4ade80;
102
102
  --chart-2: #60a5fa;
103
103
  --chart-3: #c084fc;
104
104
  --chart-4: #fbbf24;
105
105
  --chart-5: #f87171;
106
- --sidebar: #18181c;
106
+ --sidebar: #171717;
107
107
  --sidebar-foreground: #fafafa;
108
108
  --sidebar-primary: #22c55e;
109
109
  --sidebar-primary-foreground: #ffffff;
110
- --sidebar-accent: #1e1e23;
110
+ --sidebar-accent: #262626;
111
111
  --sidebar-accent-foreground: #fafafa;
112
- --sidebar-border: #2b2b31;
112
+ --sidebar-border: #262626;
113
113
  --sidebar-ring: #22c55e;
114
114
  }