From 1da1f49ef2bcb1fe2822b9d02fe8fbad3710d8a9 Mon Sep 17 00:00:00 2001 From: Ava Gaiety W Date: Mon, 25 Mar 2024 13:36:16 -0500 Subject: [PATCH] contrast improvements --- .eleventy.js | 7 ++++--- _includes/base-footer.html | 6 +++--- _includes/base-header.html | 4 ++-- _includes/content.njk | 14 +++++++------- img/site/stars-light.gif | Bin 18339 -> 18339 bytes img/site/stars-med.gif | Bin 0 -> 18339 bytes styles.css | 4 ++-- work/deque.md | 9 +++++++++ 8 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 img/site/stars-med.gif create mode 100644 work/deque.md diff --git a/.eleventy.js b/.eleventy.js index 09a5467..c1b2978 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -22,13 +22,14 @@ const markdownClassMapping = { h4: ['text-xl', 'mt-2', 'text-text'], h5: ['text-lg', 'mt-2', 'text-text'], h6: ['mt-2', 'text-text'], - blockquote: ['border-l-2', 'border-lavender', 'px-4', 'pt-4', 'pb-px', 'my-8', 'bg-base'], + blockquote: ['border-l-2', 'border-lavender', 'px-4', 'pt-4', 'pb-px', 'my-8', 'bg-mantle'], a: ['link'], s: ['text-red'], p: ['mb-4', 'text-text', 'leading-7'], - strong: ['font-normal', 'text-yellow'], + strong: ['font-normal', 'text-peach', 'dark:text-yellow'], em: ['italic', 'text-green'], - img: ['max-w-full', 'rounded-lg', 'max-h-600px'], + img: ['max-w-full', 'rounded-lg', 'max-h-600px', 'contrast-more:contrast-50'], // (contrast-more-50 here undoes the content contrast boost elsewhere) + video: ['max-w-full', 'rounded-lg', 'max-h-600px', 'contrast-more:contrast-50'], // (contrast-more-50 here undoes the content contrast boost elsewhere) ul: ['list-disc', 'ml-4', 'text-subtext0'], li: ['text-subtext0'], }; diff --git a/_includes/base-footer.html b/_includes/base-footer.html index a07856e..5978393 100644 --- a/_includes/base-footer.html +++ b/_includes/base-footer.html @@ -1,9 +1,9 @@
-
+
{%- for navItem in links -%} - -