@canopy-iiif/app 1.0.3 → 1.1.1

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.
@@ -2286,6 +2286,7 @@ function ReferencedItems({
2286
2286
  // ui/src/content/References.jsx
2287
2287
  import React25 from "react";
2288
2288
  import navigationHelpers5 from "@canopy-iiif/app/lib/components/navigation.js";
2289
+ import referenced from "@canopy-iiif/app/lib/components/referenced.js";
2289
2290
  function getPageContext() {
2290
2291
  if (!navigationHelpers5 || typeof navigationHelpers5.getPageContext !== "function") {
2291
2292
  return null;
@@ -7302,17 +7303,17 @@ function ThemeShowcase() {
7302
7303
  }));
7303
7304
  const styles = `
7304
7305
  .canopy-theme-showcase__section {
7305
- margin-bottom: 2.5rem;
7306
+ margin: 2.618rem 0;
7306
7307
  }
7307
7308
  .canopy-theme-showcase__section:last-of-type {
7308
7309
  margin-bottom: 0;
7309
7310
  }
7310
7311
  .canopy-theme-showcase__section-title {
7311
- margin: 0 0 0.5rem 0;
7312
- font-size: 1.25rem;
7312
+ margin: 0 0 0.382rem;
7313
+ font-size: 1.382rem;
7313
7314
  }
7314
7315
  .canopy-theme-showcase__section-description {
7315
- margin: 0 0 1.25rem 0;
7316
+ margin: 0 0 1rem;
7316
7317
  color: var(--color-gray-muted);
7317
7318
  line-height: 1.5;
7318
7319
  }
@@ -7329,7 +7330,7 @@ function ThemeShowcase() {
7329
7330
  }
7330
7331
  .canopy-theme-showcase__scale-label {
7331
7332
  min-width: 90px;
7332
- font-size: 0.95rem;
7333
+ font-size: 0.9222rem;
7333
7334
  }
7334
7335
  .canopy-theme-showcase__scale-track {
7335
7336
  display: flex;
@@ -7399,15 +7400,15 @@ function ThemeShowcase() {
7399
7400
  ), /* @__PURE__ */ React37.createElement(
7400
7401
  Section,
7401
7402
  {
7402
- title: "Accent palette options",
7403
- description: "All accent color families available via Radix Themes."
7403
+ title: "Accent color palette options",
7404
+ description: "Primary color steps used for buttons, links, and highlights."
7404
7405
  },
7405
7406
  /* @__PURE__ */ React37.createElement(ColorsLabeled, { colors: accentColors })
7406
7407
  ), /* @__PURE__ */ React37.createElement(
7407
7408
  Section,
7408
7409
  {
7409
- title: "Gray palette options",
7410
- description: "Neutral ramps you can assign via the theme block."
7410
+ title: "Gray color palette options",
7411
+ description: "Neutral color steps used for backgrounds, borders, and text."
7411
7412
  },
7412
7413
  /* @__PURE__ */ React37.createElement(ColorsLabeled, { colors: grayColors })
7413
7414
  ));