Skip to content

Commit 373b543

Browse files
authored
Merge pull request #45 from abap2UI5/claude/fix-button-hover-color-hCT7z
Refactor button styling to use CSS variables
2 parents a8f6f5a + fd6b10f commit 373b543

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

docs/.vitepress/theme/style.css

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
:root {
22
--vp-home-hero-name-color: #d03c4a;
3+
--vp-c-brand-1: #d03c4a;
4+
--vp-c-brand-2: #a83232;
5+
--vp-c-brand-3: #d03c4a;
36
--vp-button-brand-bg: #d03c4a;
47
--vp-button-brand-border: #d03c4a;
58
--vp-button-brand-text: #ffffff;
69
--vp-button-brand-bg-hover: #a83232;
710
--vp-button-brand-border-hover: #a83232;
811
}
9-
10-
.VPButton.brand:hover {
11-
background-color: var(--vp-button-brand-bg-hover);
12-
border-color: var(--vp-button-brand-border-hover);
13-
color: var(--vp-button-brand-text);
14-
}
15-
16-
button:hover {
17-
background-color: darkred;
18-
}

0 commit comments

Comments
 (0)