File tree Expand file tree Collapse file tree 5 files changed +32
-9
lines changed Expand file tree Collapse file tree 5 files changed +32
-9
lines changed Original file line number Diff line number Diff line change 22
22
23
23
@import './components/logo.css' ;
24
24
@import './components/button.css' ;
25
+ @import './components/select.css' ;
25
26
@import './components/code.scss' ;
26
27
@import './components/page-header.css' ;
27
28
@import './components/skip-to-content.css' ;
32
33
@import './components/newsletter-banner.css' ;
33
34
@import './components/anchors.scss' ;
34
35
@import './components/callout.css' ;
35
- @import './components/color-theme .scss' ;
36
+ @import './components/color-scheme .scss' ;
Original file line number Diff line number Diff line change 1
1
.button {
2
+ border : 1px solid var (--joy-border-subtle );
2
3
border-radius : 0.375rem ;
3
- padding : 0.625 rem 0. 75rem ;
4
+ padding : 0.75rem ;
4
5
display : inline-flex;
5
6
align-items : center;
6
7
font-size : 0.875rem ;
7
8
font-family : var (--sans-serif );
8
9
line-height : 1.5715 ;
9
10
font-weight : 600 ;
10
11
color : var (--joy-light );
11
- line-height : inherit ;
12
+ line-height : 1 rem ;
12
13
13
14
& : is (a ) {
14
15
text-decoration : none;
23
24
display : none;
24
25
}
25
26
& .primary {
27
+ border : 1px solid var (--joy-button-primary );
26
28
background-color : var (--joy-button-primary );
27
29
28
30
& : hover {
34
36
}
35
37
& .secondary {
36
38
background-color : var (--joy-button-secondary );
39
+ color : var (--joy-text );
37
40
& : hover {
38
41
background-color : var (--joy-button-secondary-hover );
39
42
}
40
43
& : active {
41
44
background-color : var (--joy-button-secondary-active );
42
45
}
43
46
}
47
+ & .tertiary {
48
+ border : 1px solid var (--joy-button-tertiary );
49
+ background-color : var (--joy-button-tertiary );
50
+ & : hover {
51
+ background-color : var (--joy-button-tertiary-hover );
52
+ }
53
+ & : active {
54
+ background-color : var (--joy-button-tertiary-active );
55
+ }
56
+ }
44
57
& .warn {
45
58
background-color : var (--joy-button-warn );
46
59
& : hover {
Original file line number Diff line number Diff line change 1
1
@import ' ../config/variables.scss' ;
2
2
3
- .color-theme {
3
+ .color-scheme {
4
4
color : var (--joy-background-clean );
5
5
display : flex ;
6
6
flex-direction : column ;
7
7
border-radius : 0.5rem ;
8
8
}
9
9
10
10
@media screen and (min-width : $screen-md ) {
11
- .color-theme {
11
+ .color-scheme {
12
12
flex-direction : row ;
13
13
}
14
14
}
Original file line number Diff line number Diff line change
1
+ select {
2
+ font-size : 0.875rem ;
3
+ padding : 0.625rem ;
4
+ border-radius : 0.5rem ;
5
+ display : block;
6
+ }
Original file line number Diff line number Diff line change 43
43
44
44
--joy-text : var (--color-dark );
45
45
--joy-text-subtle : var (--color-stone-700 );
46
- --joy-text-emphasis : var (--joy-color-700 );
46
+ --joy-text-emphasis : var (--joy-color-500 );
47
47
--joy-text-heading : var (--color-slate-900 );
48
48
--joy-text-theme : var (--joy-color-800 );
49
49
55
55
--joy-button-primary : var (--joy-color-600 );
56
56
--joy-button-primary-hover : var (--joy-color-700 );
57
57
--joy-button-primary-active : var (--joy-color-800 );
58
- --joy-button-secondary : var (--color-slate-400 );
59
- --joy-button-secondary-hover : var (--color-slate-500 );
60
- --joy-button-secondary-active : var (--color-slate-600 );
58
+ --joy-button-secondary : var (--joy-light );
59
+ --joy-button-secondary-hover : var (--joy-color-50 );
60
+ --joy-button-secondary-active : var (--joy-color-100 );
61
+ --joy-button-tertiary : var (--color-slate-400 );
62
+ --joy-button-tertiary-hover : var (--color-slate-500 );
63
+ --joy-button-tertiary-active : var (--color-slate-600 );
61
64
--joy-button-warn : var (--color-red-500 );
62
65
--joy-button-warn-hover : var (--color-red-400 );
63
66
}
You can’t perform that action at this time.
0 commit comments