Skip to content

Latest commit

 

History

History
100 lines (65 loc) · 2.12 KB

File metadata and controls

100 lines (65 loc) · 2.12 KB
marp true
theme marplux-blue
paginate true

marplux

フラット・モダンな Marp テーマ

marplux-blue — アジェンダ再掲スライドまで綺麗に整えます



はじめに


marplux とは

  • ## 見出しごとにアジェンダ再掲スライドを自動挿入
  • 現在地を強調し、済みは is-done、これからは is-upcoming で薄く表示
  • テーマ側はそのクラスを装飾するだけ

スタイルは Marp テーマに委ねる、という設計思想です。


使い方


2 コマンド

marplux agenda examples/deck.md -o dist/deck.md
marp dist/deck.md --theme-set node_modules/marplux/themes -o dist/deck.html

front matter に theme: marplux-blue と書けば、--theme-set で登録した テーマの中からこのデザインが選ばれます。


機能

  • アジェンダ再掲: is-done / is-active / is-upcoming を装飾
  • タイトル: _class: lead
  • セクション扉: _class: section
要素 スタイル
見出し ネイビー + アクセントバー
強調 strong を濃いアクセント色
コード ソフト背景のインライン / ブロック

カラーバリエーション

  • marplux-base — 中立スレート(共有の土台)
  • marplux-blue — フラットブルー(このデッキ)

新しい色は @import 'marplux-base' してパレット変数を差し替えるだけ:

/* @theme marplux-green */
@import 'marplux-base';
:root {
  --c-heading: #14532d;
  --c-accent: #16a34a;
  --c-accent-deep: #15803d;
}

ありがとうございました

marplux + marplux-blue