0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Koenig - Night Shift support

refs https://github.com/TryGhost/Ghost/issues/9623
- bump `ghost-spirit` dependency to include dark mode support
- import Spirit's dark mode file in `app-dark.css`
This commit is contained in:
Zimo 2018-06-06 14:32:41 +02:00 committed by Kevin Ansfield
parent 669e25e4e3
commit 474ccaf51a
5 changed files with 25 additions and 6 deletions

View file

@ -4,7 +4,7 @@
includes normalize v7 so must come first to avoid clobbering
our old non-Spirit classes
*/
@import "spirit/spirit-product.css";
@import "spirit/spirit-product-dark.css";
/* Patterns: Groups of Styles
/* ---------------------------------------------------------- */

View file

@ -54,10 +54,10 @@
<input
value={{payload.caption}}
type="text"
class="miw-100 tc bn form-text"
class="miw-100 tc bn form-text bg-transparent"
name="caption"
oninput={{action "updateCaption" value="target.value"}}
placeholder="Type caption for image (optional)">
</figcaption>
{{/if}}
{{/koenig-card}}
{{/koenig-card}}

View file

@ -1,5 +1,5 @@
{{#if showToolbar}}
<ul class="bg-darkgrey-d1 inline-flex pa0 ma0 list br3 shadow-2 items-center relative white f-small fw3 tracked-2 nudge-top--1">
<ul class="kg-link-toolbar bg-darkgrey-d1 inline-flex pa0 ma0 list br3 shadow-2 items-center relative white f-small fw3 tracked-2 nudge-top--1">
<li class="mw70 ma0 truncate">
<a href="{{url}}" class="dib dim-lite pa3 pr1 link white" target="_blank" rel="noopener noreferrer">{{url}}</a>
</li>

View file

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

View file

@ -5338,7 +5338,26 @@ ghost-ignition@^2.7.0:
prettyjson "^1.1.3"
uuid "^3.0.0"
ghost-spirit@0.0.20, ghost-spirit@>=0.0.18:
ghost-spirit@0.0.21:
version "0.0.21"
resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.21.tgz#19eca18d3d0be3fe1b20d8add16db23e4a3040ff"
dependencies:
autoprefixer "8.2.0"
bluebird "^3.4.6"
connect-slashes "^1.3.1"
cssnano "^4.0.0-rc.2"
express "^4.14.0"
express-hbs "^1.0.2"
ghost-ignition "^2.7.0"
gulp-postcss "7.0.1"
lodash "^4.15.0"
postcss-color-mod-function "2.4.2"
postcss-custom-media "6.0.0"
postcss-custom-properties "7.0.0"
postcss-easy-import "3.0.0"
postcss-prefix-selector "1.6.0"
ghost-spirit@>=0.0.18:
version "0.0.20"
resolved "https://registry.yarnpkg.com/ghost-spirit/-/ghost-spirit-0.0.20.tgz#fb837d7bf2513155244648074f1ee497fda6f6e4"
dependencies: