Browse Source

Use primary color for `::selection` inside `<code>` in docs (#2382)

BG-Software 4 months ago
parent
commit
38ea9aa4e7
2 changed files with 11 additions and 0 deletions
  1. 5 0
      .changeset/grumpy-bobcats-kick.md
  2. 6 0
      docs/scss/docs.scss

+ 5 - 0
.changeset/grumpy-bobcats-kick.md

@@ -0,0 +1,5 @@
+---
+"@tabler/docs": patch
+---
+
+Use primary color for `::selection` inside `<code>` in docs

+ 6 - 0
docs/scss/docs.scss

@@ -53,3 +53,9 @@
   background: var(--tblr-gray-900) !important;
   color: var(--tblr-gray-300) !important;
 }
+
+code {
+  ::selection {
+    background: var(--tblr-primary);
+  }
+}