Skip to content

Commit 535b249

Browse files
committed
Fix tooltip styling to match original
- Use exact HSL values instead of @apply for tooltips - background: hsl(0 0% 18%) - color: hsl(0 0% 83%) - border: hsl(0 0% 27%) - Fix caret to match tooltip background
1 parent 6b15a49 commit 535b249

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/styles/globals.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,10 @@ code {
141141
transform: translateX(-50%);
142142
margin-bottom: 8px;
143143
padding: 6px 10px;
144-
@apply bg-neutral-900 text-neutral-300 border border-neutral-700 rounded;
144+
background: hsl(0 0% 18%);
145+
color: hsl(0 0% 83%);
146+
border: 1px solid hsl(0 0% 27%);
147+
border-radius: 4px;
145148
font-size: 11px;
146149
white-space: nowrap;
147150
z-index: 1000;
@@ -272,7 +275,7 @@ code {
272275
margin-bottom: 3px;
273276
border-width: 5px;
274277
border-style: solid;
275-
border-color: theme(colors.neutral.900) transparent transparent transparent;
278+
border-color: hsl(0 0% 18%) transparent transparent transparent;
276279
z-index: 1000;
277280
pointer-events: none;
278281
}

0 commit comments

Comments
 (0)