@oxide/design-system 2.5.2--canary.d7e0dae.0 → 2.5.2--canary.7048ac9.0

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/asciidoc.css CHANGED
@@ -6,27 +6,24 @@
6
6
  * Copyright Oxide Computer Company
7
7
  */
8
8
 
9
- @utility text-mono-code {
10
- @apply text-[0.825em] !normal-case;
11
- font-feature-settings: 'calt' 0;
12
- letter-spacing: 0;
13
- }
14
-
15
- @utility accent-link {
16
- @apply text-accent-secondary hover:text-accent;
17
- text-decoration: underline;
18
- text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
19
- }
9
+ @layer utilities {
10
+ .text-mono-code {
11
+ @apply text-[0.825em] !normal-case;
12
+ font-feature-settings: 'calt' 0;
13
+ letter-spacing: 0;
14
+ }
20
15
 
21
- @utility link-with-underline {
22
- @apply text-default hover:text-raise;
23
- text-decoration: underline;
24
- text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
25
- }
16
+ .accent-link {
17
+ @apply text-accent-secondary hover:text-accent;
18
+ text-decoration: underline;
19
+ text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
20
+ }
26
21
 
27
- @utility inline-code {
28
- @apply text-secondary;
29
- @apply ml-[1px] mr-[1px] rounded border px-[4px] py-[1px] align-[1px] text-[0.825em] bg-raise border-secondary;
22
+ .link-with-underline {
23
+ @apply text-default hover:text-raise;
24
+ text-decoration: underline;
25
+ text-decoration-color: color-mix(in srgb, currentColor 60%, transparent);
26
+ }
30
27
  }
31
28
 
32
29
  @layer components {
@@ -291,6 +288,11 @@
291
288
  @apply normal-case text-default;
292
289
  }
293
290
 
291
+ .inline-code {
292
+ @apply text-secondary;
293
+ @apply ml-[1px] mr-[1px] rounded border px-[4px] py-[1px] align-[1px] text-[0.825em] bg-raise border-secondary;
294
+ }
295
+
294
296
  p code,
295
297
  h1 code,
296
298
  h2 code,
@@ -343,7 +343,7 @@ var DesktopOutline = ({
343
343
  ] }, item.id));
344
344
  };
345
345
  if (toc && toc.length > 0) {
346
- return /* @__PURE__ */ jsx4("ul", { className: cn3("toc w-[var(--toc-width)]", className), children: renderToc(toc) });
346
+ return /* @__PURE__ */ jsx4("ul", { className: cn3("toc w-[--toc-width]", className), children: renderToc(toc) });
347
347
  }
348
348
  return null;
349
349
  };
@@ -393,12 +393,12 @@ var SmallScreenOutline = ({
393
393
  value,
394
394
  onValueChange: setValue,
395
395
  children: /* @__PURE__ */ jsxs3(Accordion.Item, { value: "toc", children: [
396
- /* @__PURE__ */ jsx4(Accordion.Header, { children: /* @__PURE__ */ jsxs3(Accordion.Trigger, { className: "flex h-12 w-full items-center justify-between text-sans-md text-default hover:bg-hover px-[var(--container-px)] [&>svg]:data-[state=open]:rotate-90", children: [
396
+ /* @__PURE__ */ jsx4(Accordion.Header, { children: /* @__PURE__ */ jsxs3(Accordion.Trigger, { className: "flex h-12 w-full items-center justify-between text-sans-md text-default hover:bg-hover px-[--container-px] [&>svg]:data-[state=open]:rotate-90", children: [
397
397
  "Table of Contents",
398
398
  " ",
399
399
  /* @__PURE__ */ jsx4(DirectionRightIcon_default, { className: "transition-all text-tertiary" })
400
400
  ] }) }),
401
- /* @__PURE__ */ jsx4(Accordion.Content, { className: "animated-accordion hydrated max-h-[60vh] overflow-y-scroll w-full border-t border-secondary px-[var(--container-px)]", children: /* @__PURE__ */ jsx4("div", { className: "py-4", children: renderToc(toc) }) })
401
+ /* @__PURE__ */ jsx4(Accordion.Content, { className: "animated-accordion hydrated max-h-[60vh] overflow-y-scroll w-full border-t border-secondary px-[--container-px]", children: /* @__PURE__ */ jsx4("div", { className: "py-4", children: renderToc(toc) }) })
402
402
  ] })
403
403
  }
404
404
  );