mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
4636b4be0d
no issue - copy Spirit styles over (eventually these will live in an addon) - update `ember-cli-build` to output a separate CSS file for Spirit - update `asset-delivery` addon to output Spirit CSS link - add `{{kg-style}}` helper for Spirit class names - update `{{koenig-card}}` and the `{{koenig-card-markdown/html}}` components to use Spirit class names and markup - replace markdown icon with new version from Spirit
14 lines
464 B
Handlebars
14 lines
464 B
Handlebars
{{#if icon}}{{inline-svg icon class=iconClass}}{{/if}}
|
|
|
|
{{yield}}
|
|
|
|
{{#if toolbar}}
|
|
<div class="koenig-card-toolbar koenig-toolbar {{if showToolbar "koenig-toolbar--visible"}}" style={{toolbarStyle}}>
|
|
{{#each toolbar.items as |item|}}
|
|
<button type="button" title={{item.title}} class="koenig-toolbar-btn" onmousedown={{action item.action}}>
|
|
{{inline-svg item.icon}}
|
|
</button>
|
|
{{/each}}
|
|
</div>
|
|
{{/if}}
|