Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 4d45f03

Browse files
peterzimonkevinansfield
authored andcommitted
Koenig - Minor design refinements
refs TryGhost/Ghost#9724 - fixed Card menu plus icon's rounded edges - decreased link toolbar appearance delay - changing 'H'/'h' toolbar mapping to 'H2'/'H3' and harmonized title font size
1 parent 84059cd commit 4d45f03

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

app/styles/layouts/editor.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@
356356
margin-bottom: 2vw;
357357
border: none;
358358
color: var(--darkgrey);
359-
font-size: 3.6rem;
359+
font-size: 3.8rem;
360360
line-height: 1.333em;
361361
font-weight: 700;
362362
letter-spacing: 0.04rem;

lib/koenig-editor/addon/components/koenig-link-toolbar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const TOOLBAR_MARGIN = 8;
1414
const TOOLBAR_PADDING = 12;
1515

1616
// ms to wait before showing the tooltip
17-
const DELAY = 200;
17+
const DELAY = 120;
1818

1919
export default Component.extend({
2020
layout,

lib/koenig-editor/addon/templates/components/koenig-toolbar.hbs

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@
2525
type="button"
2626
title="Heading One"
2727
class="dib dim-lite link h10 w9 nudge-top--1"
28-
{{action "toggleHeaderSection" "h1"}}
28+
{{action "toggleHeaderSection" "h2"}}
2929
>
30-
{{svg-jar "koenig/kg-heading-1" class=(concat (if activeSectionTagNames.isH1 "fill-blue-l2" "fill-white") " w4 h4")}}
30+
{{svg-jar "koenig/kg-heading-1" class=(concat (if activeSectionTagNames.isH2 "fill-blue-l2" "fill-white") " w4 h4")}}
3131
</button>
3232
</li>
3333
<li class="ma0 lh-solid">
3434
<button
3535
type="button"
3636
title="Heading Two"
3737
class="dib dim-lite link h10 w9 nudge-top--1"
38-
{{action "toggleHeaderSection" "h2"}}
38+
{{action "toggleHeaderSection" "h3"}}
3939
>
40-
{{svg-jar "koenig/kg-heading-2" class=(concat (if activeSectionTagNames.isH2 "fill-blue-l2" "fill-white") " w4 h4")}}
40+
{{svg-jar "koenig/kg-heading-2" class=(concat (if activeSectionTagNames.isH3 "fill-blue-l2" "fill-white") " w4 h4")}}
4141
</button>
4242
</li>
4343
{{/unless}}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"eslint": "4.19.1",
101101
"eslint-plugin-ghost": "0.0.25",
102102
"fs-extra": "4.0.3",
103-
"ghost-spirit": "0.0.33",
103+
"ghost-spirit": "0.0.34",
104104
"glob": "7.1.2",
105105
"google-caja-bower": "https://github.com/acburdine/google-caja-bower#ghost",
106106
"grunt": "1.0.3",

public/assets/icons/plus.svg

+1-1
Loading

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -5241,9 +5241,9 @@ ghost-ignition@^2.7.0:
52415241
prettyjson "^1.1.3"
52425242
uuid "^3.0.0"
52435243

5244-
5245-
version "0.0.33"
5246-
resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.33.tgz#9ccaed6f1da064a8f1e8d8e3613779273359d864"
5244+
5245+
version "0.0.34"
5246+
resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.34.tgz#a553bf4784aadea394a6713ef0413911176d8c6d"
52475247
dependencies:
52485248
autoprefixer "8.2.0"
52495249
bluebird "^3.4.6"

0 commit comments

Comments
 (0)