Skip to content

Commit 91f1428

Browse files
Style code buttons for dark mode
1 parent ef4aeb8 commit 91f1428

File tree

1 file changed

+7
-0
lines changed
  • packages/cursorless-org-docs/src/docs/components

1 file changed

+7
-0
lines changed

packages/cursorless-org-docs/src/docs/components/Code.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,10 @@
6464
width: 1.25rem;
6565
height: 0.75rem;
6666
}
67+
68+
[data-theme="dark"]:root {
69+
.code-copy-button,
70+
.code-container > .code-link {
71+
background-color: #444;
72+
}
73+
}

0 commit comments

Comments
 (0)