@tydavidson/design-system 1.1.12 → 1.1.14

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/dist/index.mjs CHANGED
@@ -200,7 +200,7 @@ function ThemeToggle({
200
200
  sizeClasses[size],
201
201
  className
202
202
  ),
203
- "aria-label": resolvedTheme === "dark" ? "Switch to light theme" : "Switch to dark theme",
203
+ "aria-label": "Toggle theme",
204
204
  ...props,
205
205
  children: resolvedTheme === "dark" ? /* @__PURE__ */ jsx(IconSun, { size: iconSize[size], stroke: 1.5 }) : /* @__PURE__ */ jsx(IconMoon, { size: iconSize[size], stroke: 1.5 })
206
206
  }
@@ -218,6 +218,7 @@ function ThemeToggle({
218
218
  "hover:bg-accent hover:text-accent-foreground",
219
219
  className
220
220
  ),
221
+ "aria-label": "Toggle theme",
221
222
  ...props,
222
223
  children: resolvedTheme === "dark" ? "Light Mode" : "Dark Mode"
223
224
  }
@@ -234,7 +235,7 @@ function ThemeToggle({
234
235
  resolvedTheme === "dark" ? "bg-accent text-accent-foreground hover:bg-accent/80" : "bg-muted text-muted-foreground hover:bg-muted/80",
235
236
  className
236
237
  ),
237
- "aria-label": resolvedTheme === "dark" ? "Switch to light theme" : "Switch to dark theme",
238
+ "aria-label": "Toggle theme",
238
239
  ...props,
239
240
  children: resolvedTheme === "dark" ? /* @__PURE__ */ jsxs("span", { className: "flex items-center", children: [
240
241
  /* @__PURE__ */ jsx(IconSun, { size: iconSize[size], stroke: 1.5, className: "mr-2" }),