@@ -34,28 +34,26 @@ First, create or update `src/_everything.scss`:
34
34
35
35
``` scss
36
36
@use " @react-md/theme/dist/color-palette" as * ;
37
- @forward " react-md" with (
38
- $rmd-theme-light : false ,
39
- // I am bad at colors and chose 2 random ones from https://flatuicolors.com/palette/defo
40
- // probably looks terrible so wouldn't recommend copying this example
41
- $rmd-theme-primary : #3498db ,
42
- $rmd-theme-secondary : #d35400 ,
43
-
44
- // make buttons bigger
45
- $rmd-button-text-horizontal-padding : 1 .5rem ,
46
- $rmd-button-text-border-radius : 0 .25rem ,
47
- $rmd-button-text-height : 3rem ,
48
-
49
- // add more padding to the base list
50
- $rmd-list-vertical-padding : 1rem ,
51
- $rmd-list-dense-vertical-padding : 0 .75rem ,
52
-
53
- // make each list item a bit more dense
54
- $rmd-list-item-height : 2 .5rem ,
55
- $rmd-list-item-dense-height : 2rem ,
56
- $rmd-list-item-medium-height : 3rem ,
57
- $rmd-list-item-dense-medium-height : 2 .75rem ,
58
- );
37
+ @forward " react-md" with
38
+ (
39
+ $rmd-theme-light : false ,
40
+ // I am bad at colors and chose 2 random ones from https://flatuicolors.com/palette/defo
41
+ // probably looks terrible so wouldn't recommend copying this example
42
+ $rmd-theme-primary : #3498db ,
43
+ $rmd-theme-secondary : #d35400 ,
44
+ // make buttons bigger
45
+ $rmd-button-text-horizontal-padding : 1 .5rem ,
46
+ $rmd-button-text-border-radius : 0 .25rem ,
47
+ $rmd-button-text-height : 3rem ,
48
+ // add more padding to the base list
49
+ $rmd-list-vertical-padding : 1rem ,
50
+ $rmd-list-dense-vertical-padding : 0 .75rem ,
51
+ // make each list item a bit more dense
52
+ $rmd-list-item-height : 2 .5rem ,
53
+ $rmd-list-item-dense-height : 2rem ,
54
+ $rmd-list-item-medium-height : 3rem ,
55
+ $rmd-list-item-dense-medium-height : 2 .75rem
56
+ );
59
57
```
60
58
61
59
Finally, update the root styles to import the react-md packages and generate the
0 commit comments