This repository was archived by the owner on Feb 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ const Icon = styled(FaGithub)`
33
33
` ;
34
34
35
35
const Container = styled . button `
36
- color: ${ ( props ) => props . theme . colors ?. on_surface } ;
37
- background-color: ${ ( props ) => props . theme . colors ?. surface } ;
36
+ color: var(--ifm-color-on-surface) ;
37
+ background-color: var(--ifm-color- surface) ;
38
38
39
39
border-radius: 3px;
40
40
border: none;
@@ -54,6 +54,6 @@ const Container = styled.button`
54
54
transition: 0.3s ease all;
55
55
56
56
&:hover {
57
- background-color: ${ ( props ) => props . theme . colors ?. surface_2 } ;
57
+ background-color: var(--ifm-color-surface-2) ;
58
58
}
59
59
` ;
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ const PrimaryButton: React.FC<Props> = (props) => {
27
27
export default PrimaryButton ;
28
28
29
29
const Button = styled . button `
30
- color: ${ ( props ) => props . theme . colors ?. on_primary } ;
31
- background-color: ${ ( props ) => props . theme . colors ?. primary } ;
30
+ color: var(--ifm-color-on-primary) ;
31
+ background-color: var(--ifm-color- primary) ;
32
32
border-radius: 3px;
33
33
border: none;
34
34
@@ -44,6 +44,6 @@ const Button = styled.button`
44
44
transition: 0.3s ease all;
45
45
46
46
&:hover {
47
- background-color: ${ ( props ) => props . theme . colors ?. primary_2 } ;
47
+ background-color: var(--ifm-color-primary-lighter) ;
48
48
}
49
49
` ;
Original file line number Diff line number Diff line change 41
41
font-size : var (--ifm-font-size-base );
42
42
}
43
43
44
+ : global (.dropdown__menu ) {
45
+ opacity : 1 ;
46
+ }
47
+
44
48
: global (.navbar-sidebar__brand ) {
45
49
display : flex;
46
50
justify-content : space-between;
You can’t perform that action at this time.
0 commit comments