From 66919fbb02c9d9b859eed05e9261ce7178dd0fdb Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 15 Oct 2023 16:08:56 -0400 Subject: [PATCH 1/5] tailwind config: Extend instead of override colors --- tailwind.config.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index 4df4899..e659001 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,13 +2,6 @@ module.exports = { content: ["./**/*.{html,js}"], theme: { - colors: { - 'lavender': '#e5ccff', - 'purple': '#b673eb', - 'deep-purple': '#1b002c', - 'violet': '#5e38be', - 'indigo': '#241d63' - }, fontFamily: { 'sans': ['"Fivo Sans"', 'sans-serif'], 'display': ['"Katahdin Round"', 'sans-serif'], @@ -24,7 +17,15 @@ module.exports = { 'center-top': 'center top', 'center-bottom': 'center bottom', }, - extend: {}, + extend: { + colors: { + 'lavender': '#e5ccff', + 'purple': '#b673eb', + 'deep-purple': '#1b002c', + 'violet': '#5e38be', + 'indigo': '#241d63' + }, + }, }, plugins: [], }; From 6d6108a1d89c703d5043d4c6c245c03385bedd71 Mon Sep 17 00:00:00 2001 From: Zach Date: Sun, 15 Oct 2023 16:10:08 -0400 Subject: [PATCH 2/5] [mobile] Add a dark overlay when navigation menu opens --- index.html | 5 +++-- styles.css | 50 +++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 42 insertions(+), 13 deletions(-) diff --git a/index.html b/index.html index 53fffd5..b5004fc 100644 --- a/index.html +++ b/index.html @@ -9,12 +9,13 @@ -