@oxide/design-system 1.4.7--canary.c43c0d4.0 → 1.4.7--canary.9b5b7a2.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.
@@ -718,112 +718,14 @@
718
718
  background-color: var(--surface-raise) !important;
719
719
  }
720
720
 
721
- pre code.hljs {
722
- display: block;
723
- overflow-x: auto;
724
- padding: 1em;
725
- }
726
-
727
- code.hljs {
728
- padding: 3px 5px;
729
- }
730
-
731
- .hljs {
732
- color: #333;
733
- background: #fff;
734
- }
735
-
736
- .hljs-comment,
737
- .hljs-quote {
738
- color: #777;
739
- font-style: italic;
740
- }
741
-
742
- .hljs-keyword,
743
- .hljs-selector-tag,
744
- .hljs-subst {
745
- color: #333;
746
- font-weight: 700;
747
- }
748
-
749
- .hljs-literal,
750
- .hljs-number {
751
- color: #777;
752
- }
753
-
754
- .hljs-doctag,
755
- .hljs-formula,
756
- .hljs-string {
757
- color: #333;
758
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAJ0lEQVQIW2O8e/fufwYGBgZBQUEQxcCIIfDu3Tuwivfv30NUoAsAALHpFMMLqZlPAAAAAElFTkSuQmCC)
759
- repeat;
760
- }
761
-
762
- .hljs-section,
763
- .hljs-selector-id,
764
- .hljs-title {
765
- color: #000;
766
- font-weight: 700;
767
- }
768
-
769
- .hljs-subst {
770
- font-weight: 400;
771
- }
772
-
773
- .hljs-class .hljs-title,
774
- .hljs-name,
775
- .hljs-title.class_,
776
- .hljs-type {
777
- color: #333;
778
- font-weight: 700;
721
+ .asciidoc-body .section-link-icon {
722
+ margin-left: 0.5rem;
723
+ display: none;
724
+ color: var(--text-accent-secondary);
779
725
  }
780
726
 
781
- .hljs-tag {
782
- color: #333;
783
- }
784
-
785
- .hljs-regexp {
786
- color: #333;
787
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAN37979r6yszIgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQDexSef15DBCwAAAABJRU5ErkJggg==)
788
- repeat;
789
- }
790
-
791
- .hljs-bullet,
792
- .hljs-link,
793
- .hljs-symbol {
794
- color: #000;
795
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAKElEQVQIW2NkQAO7d+/+z4gsBhJwdXVlhAvCBECKwIIwAbhKZBUwBQA6hBpm5efZsgAAAABJRU5ErkJggg==)
796
- repeat;
797
- }
798
-
799
- .hljs-built_in {
800
- color: #000;
801
- text-decoration: underline;
802
- }
803
-
804
- .hljs-meta {
805
- color: #999;
806
- font-weight: 700;
807
- }
808
-
809
- .hljs-deletion {
810
- color: #fff;
811
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAYAAABS3WWCAAAAE0lEQVQIW2MMDQ39zzhz5kwIAQAyxweWgUHd1AAAAABJRU5ErkJggg==)
812
- repeat;
813
- }
814
-
815
- .hljs-addition {
816
- color: #000;
817
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAALUlEQVQYV2N89+7dfwYk8P79ewZBQUFkIQZGOiu6e/cuiptQHAPl0NtNxAQBAM97Oejj3Dg7AAAAAElFTkSuQmCC)
818
- repeat;
819
- }
820
-
821
- .hljs-emphasis {
822
- font-style: italic;
823
- }
824
-
825
- .hljs-strong {
826
- font-weight: 700;
727
+ .asciidoc-body .section-link:hover .section-link-icon {
728
+ display: block;
827
729
  }
828
730
  }
829
731
 
@@ -7126,9 +7126,9 @@ var Section = ({ node }) => {
7126
7126
  sectNum = sectNum === "." ? "" : sectNum;
7127
7127
  title = /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(import_jsx_runtime161.Fragment, { children: [
7128
7128
  /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("span", { className: "anchor", id: node.id || "", "aria-hidden": "true" }),
7129
- /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)("a", { className: "link group", href: `#${node.id}`, children: [
7129
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)("a", { className: "section-link", href: `#${node.id}`, children: [
7130
7130
  html_react_parser_default(stripAnchors(node.title)),
7131
- /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Link16Icon_default, { className: "ml-2 hidden text-accent-secondary group-hover:inline-block" })
7131
+ /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Link16Icon_default, { className: "section-link-icon" })
7132
7132
  ] })
7133
7133
  ] });
7134
7134
  if (level === 0) {