From 530074f176a780a26cd7c3591fd3035feb610e63 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 29 Oct 2020 00:46:52 +0000 Subject: [PATCH] Override gray colours Override the default Tailwind `gray` colours, and update anywhere that the originals were used. References #27 --- .../custom/opdavies/assets/css/components/table.pcss | 2 +- .../custom/opdavies/assets/css/custom-base.pcss | 2 +- web/themes/custom/opdavies/tailwind.config.js | 12 +++++++++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/web/themes/custom/opdavies/assets/css/components/table.pcss b/web/themes/custom/opdavies/assets/css/components/table.pcss index 24c8bc1..d3c6f59 100644 --- a/web/themes/custom/opdavies/assets/css/components/table.pcss +++ b/web/themes/custom/opdavies/assets/css/components/table.pcss @@ -7,7 +7,7 @@ th, td { - @apply px-4 py-2 border border-solid border-gray-300 + @apply px-4 py-2 border border-solid border-gray-200 } } diff --git a/web/themes/custom/opdavies/assets/css/custom-base.pcss b/web/themes/custom/opdavies/assets/css/custom-base.pcss index 9e0d2a8..12d4e01 100644 --- a/web/themes/custom/opdavies/assets/css/custom-base.pcss +++ b/web/themes/custom/opdavies/assets/css/custom-base.pcss @@ -19,7 +19,7 @@ a { } blockquote { - @apply pl-5 border-l-4 border-gray-300 italic + @apply pl-5 border-l-4 border-gray-200 italic } iframe { diff --git a/web/themes/custom/opdavies/tailwind.config.js b/web/themes/custom/opdavies/tailwind.config.js index b3ee019..d261d64 100644 --- a/web/themes/custom/opdavies/tailwind.config.js +++ b/web/themes/custom/opdavies/tailwind.config.js @@ -59,7 +59,17 @@ module.exports = { }), extend: { colors: { - inherit: 'inherit' + inherit: 'inherit', + + gray: { + 50: "#f9f9f9", + 100: "#f5f5f5", + 200: "#aaa", + 700: "#36393e", + 750: "#2e3136", + 800: "#1e2125", + 900: "#18171b", + } }, fontFamily: { mono: [