R-Ladies theme for Quarto remark.js presentation #653
Replies: 3 comments 1 reply
-
Great job with the theme recreation. div.backgrounds >
div.slide-background:first-child >
div.slide-background-content {
background-color: purple;
} |
Beta Was this translation helpful? Give feedback.
-
I don't think there is a CSS rule specific to change that but the answer above (#653 (comment)) can do it. As you can guess from the CSS rule, revealjs as a specific way of managing the background. Otherwise, what RevealJS and Quarto offers is that you can change background color on a per-slide basis using You could then not use a automatic title slide but have your own and add the attributes on it. See https://quarto.org/docs/presentations/revealjs/#title-slide for custom title-slide. To customize the automatic title slide you can use the ---
title: "Slideshow"
author: "author"
format: revealjs
title-slide-attributes:
data-background-color: red
--- This is done through the default Pandoc template. When custom format will be available in Quarto, this could also be an option to have some custom elements to use within the template to fit your theme. Hope it helps |
Beta Was this translation helpful? Give feedback.
-
Hi @lucio-cornejo and @cderv ! Thanks for the suggestions! @lucio-cornejo I was able to change de background color, but did not find how to change the other elements/text that I needed to change in order to proper read the content of the slide. But I'll continue to investigate! Using your suggestions @cderv worked (with this code on YAML:
and this code on the slide that I want to make to change topic (the inverse class on xaringan):
What its awesome (and I only found out now) is that when we use a dark background color, reveal uses a class on the slide called Ps: in my attempt to make a slide like the inverse slide on xaringan, I did not find a built-in class to center horizontally the elements. So I did what we can in brazil a "gambiarra" and created this class to do it:
I made it to use it for now, but I think this is a simple thing that could be nice to have it built-in :) but with a nicer naming 😆 I was short on ideas. I'll continue to try to improve it, because my goal is (in the future) to have a template that people could simply use the Anyways, thank you both for the help. I think now looks more like the original slides from Alison.. 🙏 |
Beta Was this translation helpful? Give feedback.
-
Hi!
Today I started to use Quarto presentations, and I I'm trying to change the style to have a similar theme as the rladies theme in xaringan (made by @apreshill 💜 ), so we can use in future presentations on the meetups.
The original xaringan theme is here: https://www.apreshill.com/slides/rladies-demo-slides.html
This is a first attempt to change the style of the presentation in order to have an R-Ladies theme for Quarto:
https://beatrizmilz.github.io/quarto-rladies-theme/
This is my first time using
.scss
and the code is based on what I found on the docs. I did not figure out how to change the background for the title slide.If anyone has more ideas to improve it, I appreciate it!
Thanks 😄
Beta Was this translation helpful? Give feedback.
All reactions