Skip to content

Commit

Permalink
Merge pull request #28 from marp-team/custom-color-heading-on-default…
Browse files Browse the repository at this point in the history
…-theme

Apply color directive to heading of default theme
  • Loading branch information
yhatt authored Sep 2, 2018
2 parents e5b3a55 + 622ca50 commit eebaaf9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Support HTML whitelisting ([#26](https://github.com/marp-team/marp-core/pull/26))
- Use [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) instead of rollup-plugin-uglify ([#27](https://github.com/marp-team/marp-core/pull/27))
- Apply color directive to heading of default theme ([#28](https://github.com/marp-team/marp-core/pull/28))

## v0.0.4 - 2018-08-29

Expand Down
11 changes: 11 additions & 0 deletions themes/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,15 @@ section {
}
}
}

&[data-color] {
h1,
h2,
h3,
h4,
h5,
h6 {
color: currentColor;
}
}
}

0 comments on commit eebaaf9

Please sign in to comment.