Hello Quarto !
I have read through the docs on presentation slides and now know about them, including theming in Sass.
I made a Sass theme for RLadies group to be added to be a future option for users.
I first tried just having the Sass variables as shown in the table, but had limited success having it work beyond basics in the body{} section after declaring all the variables. So I ended up copying the code from darkly.scss in order for my Quarto presentation to render, otherwise I would get an error about my Sass code not containing at least one layer boundary. My RLadies theme runs in RStudio with no issues at all with animations or anything.
The only changes for an RLadies theme from the darkly theme is:
# changed the purple hex values and added a purple2
$purple: #562457 !default;
$purple2: #b77ef0 !default;
for the body
// Body
$body-bg: $purple !default; // <--- changed
$body-color: $white !default;
@function body-mix($weight) {
@return mix($body-bg, $body-color, $weight);
}
and for the links
// Links
$link-color: $purple2 !default; // <--- changed
Please add this theme to your main themes. Thank you.
Hello Quarto !
I have read through the docs on presentation slides and now know about them, including theming in Sass.
I made a Sass theme for RLadies group to be added to be a future option for users.
I first tried just having the Sass variables as shown in the table, but had limited success having it work beyond basics in the
body{}section after declaring all the variables. So I ended up copying the code fromdarkly.scssin order for my Quarto presentation to render, otherwise I would get an error about my Sasscode not containing at least one layer boundary. My RLadies theme runs in RStudio with no issues at all with animations or anything.The only changes for an RLadies theme from the darkly theme is:
for the body
and for the links
Please add this theme to your main themes. Thank you.