Skip to content

Commit 9880821

Browse files
bteaCopilot
andauthored
Refactor hover and focus styles for light theme
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: btea <2356281422@qq.com>
1 parent 9abb1a0 commit 9880821

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/ui-components/src/Common/ChangeHistory/index.module.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,8 @@
6868
text-white!;
6969
}
7070

71-
:where([data-theme='light'], [data-theme='light'] *) &:hover code {
72-
color: var(--color-brand-900);
73-
}
71+
:where([data-theme='light'], [data-theme='light'] *) &:is(:hover, :focus-visible) code {
72+
color: var(--color-brand-900);
7473
}
7574

7675
.dropdownLabel {

0 commit comments

Comments
 (0)