quarto-dev / quarto-dev/quarto-cli
Is it possible to set the callouts background opacity and text color?
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 6k
- Fork
- 458
- Merge medio
- 1g 9h
- PR unite (30g)
- 41
Descrizione
Hi folks!
First of all, thank you for this great system! I've been testing Quadro and I'd like to suggest 2 modifications to the Callouts options, to enable better control when generating a custom dark mode (both HTML and PDF):
-
Add an option to customize the background color opacity for the entire callout and also its title. Reference:
/src/resources/filters/quarto-pre/callout.lua#L302
/src/resources/filters/quarto-pre/callout.lua#L303
/src/resources/filters/quarto-pre/callout.lua#L351 -
Add the coltext to the options and also attribute it to a variable.
If you prefer this suggestion as a PR, please let me know. :)
Thank you,
Sergio
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Start by reading /src/resources/filters/quarto-pre/callout.lua at the referenced lines 302, 303, and 351 to understand the existing callout options and styling. Verify the change by generating both HTML and PDF output with dark-mode callouts, confirming that background opacity and title/text colors can be configured independently.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua
- Ambito
- documentation
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100