Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 8e67830

Browse files
doc: slides code theming
1 parent c45db27 commit 8e67830

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

doc/slides/slides.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ The following theming options will affect this component if set on its host or p
7676
| --slide-padding-end | 32px | Padding right of the all slide |
7777
| --slide-padding-bottom | 16px | Padding bottom of the all slide |
7878
| --slide-padding-start | 32px | Padding left of the all slide |
79-
| --slide-padding-start | 32px | Modify slotted ul and ol padding-inline-start |
8079

8180
## Slide: Content
8281

@@ -142,7 +141,6 @@ The following theming options will affect this component if set on its host or p
142141
| --slide-padding-end | 32px | Padding right of the all slide |
143142
| --slide-padding-bottom | 16px | Padding bottom of the all slide |
144143
| --slide-padding-start | 32px | Padding left of the all slide |
145-
| --slide-padding-start | 32px | Modify slotted ul and ol padding-inline-start |
146144

147145
## Slide: Split
148146

@@ -248,4 +246,21 @@ The attribute `src-file` is for this component mandatory. Other attributes are o
248246
</deckgo-slide-code>
249247
```
250248

249+
### Theming
250+
251+
The following theming options will affect this component if set on its host or parent.
252+
253+
| CSS4 variable | Default | Note |
254+
| -------------------------- |:-----------------:|:-----------------:|
255+
| --background | | |
256+
| --color | | |
257+
| --code-color | | The color of the displayed code |
258+
| --code-font-size | | The size of the font for the code |
259+
| --slide-padding-top | 16px | Padding top of the all slide |
260+
| --slide-padding-end | 32px | Padding right of the all slide |
261+
| --slide-padding-bottom | 16px | Padding bottom of the all slide |
262+
| --slide-padding-start | 32px | Padding left of the all slide |
263+
| --code-margin-bottom | 64px | Padding bottom of the code scroller |
264+
| --zoom-code | 1 | If you wish to manually zoom the code |
265+
251266
[DeckDeckGo]: https://deckdeckgo.com

0 commit comments

Comments
 (0)