@@ -176,6 +176,34 @@ Here's a list of all Sass variables (and their default values) used by Reveal th
176176| ` $presentation-slide-text-align ` | left |
177177| ` $presentation-title-slide-text-align ` | center |
178178
179+ ### Callouts
180+
181+ +--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
182+ | Variable | Notes |
183+ +==========================+====================================================================================================================================================================+
184+ | ` $callout-border-width ` | The left border width of callouts. Defaults to ` 0.3rem ` . |
185+ +--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
186+ | ` $callout-border-scale ` | The border color of callouts computed by shifting the callout color by this amount. Defaults to ` 0% ` . |
187+ +--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
188+ | ` $callout-icon-scale ` | The color of the callout icon computed by shifting the callout color by this amount. Defaults to ` 10% ` . |
189+ +--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
190+ | ` $callout-margin-top ` | The amount of top margin on the callout. Defaults to ` 1rem ` . |
191+ +--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
192+ | ` $callout-margin-bottom ` | The amount of bottom margin on the callout. Defaults to ` 1rem ` . |
193+ +--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
194+ | ` $callout-color-<type> ` | The colors for the various types of callouts. Defaults: |
195+ | | |
196+ | | | type | default | |
197+ | | | -------------| -------------------------| |
198+ | | | ` note ` | [ ` #0d6efd ` ] {.color-box} | |
199+ | | | ` tip ` | [ ` #198754 ` ] {.color-box} | |
200+ | | | ` caution ` | [ ` #dc3545 ` ] {.color-box} | |
201+ | | | ` warning ` | [ ` #fd7e14 ` ] {.color-box} | |
202+ | | | ` important ` | [ ` #ffc107 ` ] {.color-box} | |
203+ | | |
204+ | | Note that style for callout is to have left border using type color, and header background to use a variation of this color. |
205+ +--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
206+
179207You'll notice that some of the Sass variables use a ` presentation- ` prefix and some do not. The ` presentation- ` prefixed variables are specific to presentations, whereas the other variables are the same as ones used for standard Quarto [ HTML Themes] ( /docs/output-formats/html-themes.qmd ) .
180208
181209Since all Quarto themes use the same Sass format, you can use a single theme file for both HTML / website documents and presentations.
0 commit comments