Skip to content

Commit

Permalink
Merge pull request #386 from marp-team/default-theme-image-transparency
Browse files Browse the repository at this point in the history
Make image background transparent in default theme
  • Loading branch information
yhatt authored Sep 8, 2024
2 parents d3a5972 + 53d998d commit 7734f41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
- Support for CSS nesting (`cssNesting` constructor option)
- Use simpler CSS minification when `minifyCSS` option is enabled ([#381](https://github.com/marp-team/marp-core/pull/381))
- Relax HTML allowlist: Allowed a lot of HTML elements and attributes by default ([#301](https://github.com/marp-team/marp-core/issues/301), [#383](https://github.com/marp-team/marp-core/pull/383))
- Make the image background transparent in `default` theme ([#196](https://github.com/marp-team/marp-core/issues/196), [#371](https://github.com/marp-team/marp-core/issues/371), [#386](https://github.com/marp-team/marp-core/pull/386))
* Upgrade development Node.js to v20 LTS ([#359](https://github.com/marp-team/marp-core/pull/359))
* Upgrade dependent packages to the latest version ([#380](https://github.com/marp-team/marp-core/pull/380))
Expand Down
4 changes: 4 additions & 0 deletions themes/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ hr {
padding-top: 0.25em;
}

img {
background-color: transparent;
}

pre {
/* stylelint-disable-next-line custom-property-pattern */
border: 1px solid var(--borderColor-default);
Expand Down

0 comments on commit 7734f41

Please sign in to comment.