Skip to content

Commit 60201d4

Browse files
committed
fix: use variable and keep styling the same
1 parent 275b043 commit 60201d4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/home.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,17 @@
4444
--pf-cta--Color: #06c;
4545
}
4646

47+
#home-header a.cta.primary:hover,
48+
#home-header a.cta.primary:focus {
49+
--pf-cta--BackgroundColor: transparent;
50+
}
51+
4752
#home-header a.cta.primary:hover {
4853
--pf-cta--Color--hover: var(--pf-theme--color--white, #fff);
49-
--pf-cta--BackgroundColor: transparent;
50-
color: var(--pf-theme--color--white, #fff);
5154
}
5255

5356
#home-header a.cta.primary:focus {
54-
color: var(--pf-theme--color--accent, #0066cc);
57+
--pf-cta--Color--focus: var(--pf-theme--color--white, #fff);
5558
}
5659

5760
#home-header a.cta.secondary:hover {

0 commit comments

Comments
 (0)