Skip to content

Instantly share code, notes, and snippets.

@iktakahiro
Last active September 12, 2016 02:29
Show Gist options
  • Select an option

  • Save iktakahiro/df28b56a8d9f7629c49b8ca37d0b1dfc to your computer and use it in GitHub Desktop.

Select an option

Save iktakahiro/df28b56a8d9f7629c49b8ca37d0b1dfc to your computer and use it in GitHub Desktop.
Markdown プレゼン作成ツール Marp スタイルカスタマイズガイド ref: http://qiita.com/iktakahiro/items/76e1389ecc8b2a76d6b3
npm install -g appdmg
npm install
sass/themes/
├── _markdown.sass
├── _slide.sass
├── default.sass
└── gaia.sass
sass/themes/
├── _markdown.sass
├── _slide.sass
├── default.sass
├── gaia.sass
└── original.sass
$bg-color: #3F51B5
$text-color: #fff
$highlight-color: #FF9800
themes: [
{
label: '&Default'
enabled: @window?
type: if @window? then 'radio' else 'normal'
checked: !@states?.theme || @states.theme == 'default'
click: => @window.mdsWindow.send 'setTheme', 'default' unless @window.mdsWindow.freeze
}
{
label: '&Gaia'
enabled: @window?
type: if @window? then 'radio' else 'normal'
checked: @states.theme == 'gaia'
click: => @window.mdsWindow.send 'setTheme', 'gaia' unless @window.mdsWindow.freeze
}
// Your awesome theme!!
{
label: '&Original'
enabled: @window?
type: if @window? then 'radio' else 'normal'
checked: @states.theme == 'original'
click: => @window.mdsWindow.send 'setTheme', 'original' unless @window.mdsWindow.freeze
}
]
return if basename in ['default', 'gaia', 'original'] then "css/themes/#{basename}.css" else null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment