From 1e44dafe979992a43f9a4a7a9c1cd86dfa37ff06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Peixoto?= Date: Wed, 27 Jan 2021 22:23:29 +0000 Subject: [PATCH] feat: add visual differentiation between blog post cards and other cards --- .../theme/components/blog/LinkCard.vue | 22 +++++------ .../theme/components/blog/PostHero.vue | 8 +++- .../theme/components/blog/PostMeta.vue | 13 ++++--- .../theme/components/blog/PostTag.vue | 39 ++++++++++++++----- .../theme/components/blog/RegularCard.vue | 6 +-- .../theme/components/blog/VideoCard.vue | 6 +-- .../components/blog/VideoModalContent.vue | 19 ++++----- src/.vuepress/theme/layouts/BlogPost.vue | 2 +- src/.vuepress/theme/tailwind.config.js | 1 + 9 files changed, 68 insertions(+), 48 deletions(-) diff --git a/src/.vuepress/theme/components/blog/LinkCard.vue b/src/.vuepress/theme/components/blog/LinkCard.vue index f7840c52..71202b5d 100644 --- a/src/.vuepress/theme/components/blog/LinkCard.vue +++ b/src/.vuepress/theme/components/blog/LinkCard.vue @@ -1,6 +1,6 @@ diff --git a/src/.vuepress/theme/components/blog/PostTag.vue b/src/.vuepress/theme/components/blog/PostTag.vue index e7a35422..041b236f 100644 --- a/src/.vuepress/theme/components/blog/PostTag.vue +++ b/src/.vuepress/theme/components/blog/PostTag.vue @@ -1,15 +1,14 @@ diff --git a/src/.vuepress/theme/layouts/BlogPost.vue b/src/.vuepress/theme/layouts/BlogPost.vue index a796e6a7..e7a4ef0d 100644 --- a/src/.vuepress/theme/layouts/BlogPost.vue +++ b/src/.vuepress/theme/layouts/BlogPost.vue @@ -46,7 +46,7 @@ export default { mounted() { this.showComments = window.location.hostname === 'blog.ipfs.io' || - window.location.hostname === 'ipfsblog-vuepress.netlify.app' + window.location.hostname === 'ipfs-blog.netlify.app' }, } diff --git a/src/.vuepress/theme/tailwind.config.js b/src/.vuepress/theme/tailwind.config.js index 7ca7f75d..ba857bf9 100644 --- a/src/.vuepress/theme/tailwind.config.js +++ b/src/.vuepress/theme/tailwind.config.js @@ -68,6 +68,7 @@ const theme = { deepBlue: '#002256', plBlack: '#16161F', blueGreen: '#3e9096', + aquaMuted: '#9ad4db', gray: { dark: '#707175', default: '#d1d1d6',