From 5c5fd1cff44c815875fe0ad5f8a7705642ed0fc7 Mon Sep 17 00:00:00 2001 From: Peter Zimon Date: Thu, 18 Nov 2021 17:38:28 +0100 Subject: [PATCH] Added NFT icon to card menu --- ghost/admin/app/styles/components/koenig.css | 10 +++++----- ghost/admin/lib/koenig-editor/addon/options/cards.js | 2 +- .../public/icons/koenig/kg-card-type-nft.svg | 5 +++++ 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 ghost/admin/lib/koenig-editor/public/icons/koenig/kg-card-type-nft.svg diff --git a/ghost/admin/app/styles/components/koenig.css b/ghost/admin/app/styles/components/koenig.css index 3bf76f59e7..4c74b16018 100644 --- a/ghost/admin/app/styles/components/koenig.css +++ b/ghost/admin/app/styles/components/koenig.css @@ -1644,7 +1644,7 @@ button.emoji-picker__category-button.active { max-width: 512px; border: 1px solid var(--whitegrey); border-radius: 5px; - color: #222 !important; + color: #15171A !important; background: #fff; border-radius: 5px; } @@ -1676,13 +1676,13 @@ button.emoji-picker__category-button.active { align-items: flex-start; } -.kg-nft-title h4 { +.kg-nft-title { font-size: 1.9rem; font-weight: 700; line-height: 1.3em; min-width: unset; max-width: unset; - color: #222; + color: #15171A !important; } .kg-nft-opensea-logo { @@ -1693,13 +1693,13 @@ button.emoji-picker__category-button.active { .kg-nft-creator { margin-top: 2px; - color: #ababab; + color: #626D79; line-height: 1.4em; } .kg-nft-creator span { font-weight: 500; - color: #222; + color: #15171A; } .kg-nft-card div + p { diff --git a/ghost/admin/lib/koenig-editor/addon/options/cards.js b/ghost/admin/lib/koenig-editor/addon/options/cards.js index ef60db0c79..dabc62705f 100644 --- a/ghost/admin/lib/koenig-editor/addon/options/cards.js +++ b/ghost/admin/lib/koenig-editor/addon/options/cards.js @@ -265,7 +265,7 @@ export const CARD_MENU = [ }, { label: 'NFT', - icon: 'koenig/kg-card-type-other', + icon: 'koenig/kg-card-type-nft', desc: '/nft [opensea url]', iconClass: 'kg-card-type-native', matches: ['nft', 'opensea'], diff --git a/ghost/admin/lib/koenig-editor/public/icons/koenig/kg-card-type-nft.svg b/ghost/admin/lib/koenig-editor/public/icons/koenig/kg-card-type-nft.svg new file mode 100644 index 0000000000..5427767e11 --- /dev/null +++ b/ghost/admin/lib/koenig-editor/public/icons/koenig/kg-card-type-nft.svg @@ -0,0 +1,5 @@ + + + + +