Koenig - Minor design refinements

refs https://github.com/TryGhost/Ghost/issues/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
This commit is contained in:
Zimo 2018-08-13 14:54:21 +02:00 committed by Kevin Ansfield
parent 39bcc841a6
commit a7e9697eac
6 changed files with 11 additions and 11 deletions

View File

@ -356,7 +356,7 @@
margin-bottom: 2vw;
border: none;
color: var(--darkgrey);
font-size: 3.6rem;
font-size: 3.8rem;
line-height: 1.333em;
font-weight: 700;
letter-spacing: 0.04rem;

View File

@ -14,7 +14,7 @@ const TOOLBAR_MARGIN = 8;
const TOOLBAR_PADDING = 12;
// ms to wait before showing the tooltip
const DELAY = 200;
const DELAY = 120;
export default Component.extend({
layout,

View File

@ -25,9 +25,9 @@
type="button"
title="Heading One"
class="dib dim-lite link h10 w9 nudge-top--1"
{{action "toggleHeaderSection" "h1"}}
{{action "toggleHeaderSection" "h2"}}
>
{{svg-jar "koenig/kg-heading-1" class=(concat (if activeSectionTagNames.isH1 "fill-blue-l2" "fill-white") " w4 h4")}}
{{svg-jar "koenig/kg-heading-1" class=(concat (if activeSectionTagNames.isH2 "fill-blue-l2" "fill-white") " w4 h4")}}
</button>
</li>
<li class="ma0 lh-solid">
@ -35,9 +35,9 @@
type="button"
title="Heading Two"
class="dib dim-lite link h10 w9 nudge-top--1"
{{action "toggleHeaderSection" "h2"}}
{{action "toggleHeaderSection" "h3"}}
>
{{svg-jar "koenig/kg-heading-2" class=(concat (if activeSectionTagNames.isH2 "fill-blue-l2" "fill-white") " w4 h4")}}
{{svg-jar "koenig/kg-heading-2" class=(concat (if activeSectionTagNames.isH3 "fill-blue-l2" "fill-white") " w4 h4")}}
</button>
</li>
{{/unless}}

View File

@ -100,7 +100,7 @@
"eslint": "4.19.1",
"eslint-plugin-ghost": "0.0.25",
"fs-extra": "4.0.3",
"ghost-spirit": "0.0.33",
"ghost-spirit": "0.0.34",
"glob": "7.1.2",
"google-caja-bower": "https://github.com/acburdine/google-caja-bower#ghost",
"grunt": "1.0.3",

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" fill="none"><path d="M11.5.5v22M22.5 11.5h-22"/></g></svg>
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M12 1.5v21M1.5 12h21" stroke="#343F44" stroke-linecap="round" stroke-linejoin="round"/></g></svg>

Before

Width:  |  Height:  |  Size: 228 B

After

Width:  |  Height:  |  Size: 225 B

View File

@ -5241,9 +5241,9 @@ ghost-ignition@^2.7.0:
prettyjson "^1.1.3"
uuid "^3.0.0"
ghost-spirit@0.0.33:
version "0.0.33"
resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.33.tgz#9ccaed6f1da064a8f1e8d8e3613779273359d864"
ghost-spirit@0.0.34:
version "0.0.34"
resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.34.tgz#a553bf4784aadea394a6713ef0413911176d8c6d"
dependencies:
autoprefixer "8.2.0"
bluebird "^3.4.6"