File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
packages/website/src/pages Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,10 @@ function Home(): JSX.Element {
127
127
< h1 className = "hero__title" > { siteConfig . title } </ h1 >
128
128
< p className = "hero__subtitle" > { siteConfig . tagline } </ p >
129
129
< div className = { styles . buttons } >
130
- < Link className = "button button--primary" to = { useBaseUrl ( 'docs/' ) } >
130
+ < Link
131
+ className = { clsx ( 'button button--primary' , styles . buttonPrimary ) }
132
+ to = { useBaseUrl ( 'docs/' ) }
133
+ >
131
134
Get Started
132
135
</ Link >
133
136
< Link
Original file line number Diff line number Diff line change 33
33
margin : 1rem 1rem ;
34
34
}
35
35
36
+ .buttonPrimary {
37
+ border : var (--ifm-button-border-width ) solid var (--ifm-button-color );
38
+ }
39
+
40
+ .buttonPrimary : hover {
41
+ box-shadow : 0 2px 8px var (--ifm-button-color );
42
+ }
43
+
44
+ [data-theme = 'dark' ] .buttonPrimary {
45
+ border : var (--ifm-button-border-width ) solid var (--ifm-button-color );
46
+ }
47
+
36
48
.lightBackground {
37
49
background : var (--ifm-color-emphasis-100 );
38
50
}
You can’t perform that action at this time.
0 commit comments