The Sass Basics articles will help you with these tasks.
- Open
main.R
. - Move
style
to thecenter
class inapp/styles/main.scss
. - Run
rhino::build_sass()
and check that the text is still centered.
- Run
rhino::lint_sass()
. - Run
lint_sass(fix = TRUE)
.
- Add
@use 'base';
to import the_base.scss
module. - Use the variables defined in that module to set
font
andcolor
onbody
.
- Add some background to
body
with thegradient
mixin.