Skip to content

Commit 2d76964

Browse files
authored
Merge pull request #182 from defold/quick-fix-for-kbd
Quick fix for key cap issue.
2 parents 7652b21 + 779e1f5 commit 2d76964

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

_scss/normalize.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,19 @@ samp {
239239
kbd {
240240
font-family: monospace, monospace;
241241
font-size: 1em;
242-
background-color: var(--darker);
242+
color: var(--dark);
243+
background-color: var(--almostlightest);
243244
border: 1px solid var(--grey);
244245
border-bottom-width: 3px;
245246
border-radius: 4px;
246247
padding: 0.15em 0.5em;
247248
}
248249

250+
.dark-mode kbd {
251+
color: var(--almostlightest);
252+
background-color: var(--darker);
253+
}
254+
249255
/* Forms
250256
========================================================================== */
251257

0 commit comments

Comments
 (0)