From 61f67ed48acee274b1ba5b7341bc1ccb2b1c32b3 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sat, 6 Nov 2021 03:28:58 +0100 Subject: [PATCH] make this a custom color --- home/_includes/cta.html | 2 +- home/_includes/features.html | 2 +- home/_includes/footer.html | 2 +- home/_includes/hero.html | 2 +- home/styles/index.css | 8 -------- home/tailwind.config.js | 9 ++++++++- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/home/_includes/cta.html b/home/_includes/cta.html index 371bbac7..c4814588 100644 --- a/home/_includes/cta.html +++ b/home/_includes/cta.html @@ -5,7 +5,7 @@

{{ include.cta.text }}

{% for item in include.cta.btn %} - + {% endfor %}
{% unless include.no_container %} diff --git a/home/_includes/features.html b/home/_includes/features.html index 4172b86f..0ff837e0 100644 --- a/home/_includes/features.html +++ b/home/_includes/features.html @@ -3,7 +3,7 @@

{{ include.data.header.title }}

-
+

{{ include.data.header.text }}

diff --git a/home/_includes/footer.html b/home/_includes/footer.html index 29b4f56b..c39e26fd 100644 --- a/home/_includes/footer.html +++ b/home/_includes/footer.html @@ -2,7 +2,7 @@
diff --git a/home/styles/index.css b/home/styles/index.css index acbe550f..2f79ef9f 100644 --- a/home/styles/index.css +++ b/home/styles/index.css @@ -28,11 +28,3 @@ @apply text-gray-900 } } - -.bg-primary { - background-color: blueviolet; -} - -.bg-primarylg { - background-color: lightblue; -} diff --git a/home/tailwind.config.js b/home/tailwind.config.js index 3139f181..dc11e725 100644 --- a/home/tailwind.config.js +++ b/home/tailwind.config.js @@ -11,7 +11,14 @@ module.exports = { '{,!(node_modules|_site)/**/}*.{html,md}', ], darkMode: 'media', - theme: {}, + theme: { + extend: { + colors: { + 'primary':'#902eec', + 'secondary':'#f580f5', + } + }, + }, plugins: [ require('@tailwindcss/typography'), ],