Skip to content

Commit

Permalink
feat: support data-background-opacity via background-opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Schmid committed Jun 27, 2019
1 parent d6ad7da commit aeb4fd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/document.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ html lang=(attr :lang, 'en' unless attr? :nolang)
data-background-video=bg_video
data-background-video-loop=(attr 'title-slide-background-video-loop')
data-background-video-muted=(attr 'title-slide-background-video-muted')
data-background-opacity=(attr "background-opacity")
data-background-iframe=(attr 'title-slide-background-iframe')
data-background-color=(attr 'title-slide-background-color')
data-background-repeat=(attr 'title-slide-background-repeat')
Expand Down
2 changes: 2 additions & 0 deletions templates/section.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
data-background-video=(attr "background-video")
data-background-video-loop=((attr? 'background-video-loop') || (option? 'loop'))
data-background-video-muted=((attr? 'background-video-muted') || (option? 'muted'))
data-background-opacity=(attr "background-opacity")
data-state=(attr 'state'))

- unless hide_title
Expand Down Expand Up @@ -79,6 +80,7 @@
data-background-video=(attr "background-video")
data-background-video-loop=((attr? 'background-video-loop') || (option? 'loop'))
data-background-video-muted=((attr? 'background-video-muted') || (option? 'muted'))
data-background-opacity=(attr "background-opacity")
data-state=(attr 'state'))

- unless hide_title
Expand Down

0 comments on commit aeb4fd0

Please sign in to comment.