From f52e1156d0fc66b389d8ee7ea9788fdea27a547b Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Sun, 19 Aug 2018 00:55:04 +0900 Subject: [PATCH 1/2] Apply customized color in heading of default theme --- themes/default.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/themes/default.scss b/themes/default.scss index 691c6586..dd05379e 100644 --- a/themes/default.scss +++ b/themes/default.scss @@ -189,4 +189,15 @@ section { } } } + + &[data-color] { + h1, + h2, + h3, + h4, + h5, + h6 { + color: currentColor; + } + } } From 622ca50a307013f2090a791fb8721b0251178dad Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Sun, 2 Sep 2018 18:55:16 +0900 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0eb776f9..2d91897c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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