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

Commit baff216

Browse files
feat(#21): allow feature to add an extra background layer
1 parent 4f9a912 commit baff216

File tree

6 files changed

+150
-66
lines changed

6 files changed

+150
-66
lines changed

doc/components/components.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ This component offers the following options which could be set using attributes:
3737
| alt | string | | And alt information could be provided for accessibility reason. |
3838
| fullscreen | number | false | If set to true, the gif width and height will be related to the slide width and height respectively will be fullscreen. |
3939

40+
### Theming
41+
42+
The following theming options will affect this component if set on its host or parent.
43+
44+
| CSS4 variable | Default | Note |
45+
| -------------------------- |:-----------------:|:-----------------:|
46+
| --width | | The width of the gif |
47+
| --height | | The height of the gif |
48+
| --background | | The background of the `header` and `footer` over the gif |
49+
| --color | | The color of the `header` and `footer` over the gif|
50+
| --padding | | The padding of the `header` and `footer` over the gif |
51+
| --zIndex | 2 | The z-index of the slide |
52+
4053
### Note
4154

4255
Of course, as other images added to a presentation build with [DeckDeckGo], gifs are lazy loaded too.

0 commit comments

Comments
 (0)