From d006f8647c7e9e70d69166ee4b5f42db63da67df Mon Sep 17 00:00:00 2001 From: Jules Date: Thu, 7 Mar 2024 21:29:19 -0800 Subject: [PATCH] #61 fixes broken css variables --- assets/css/atoms-molecules/base.css | 2 +- assets/css/atoms-molecules/typography.css | 2 +- assets/css/index.css | 1 - assets/js/components/_tokens.js | 236 +--------------------- 4 files changed, 5 insertions(+), 236 deletions(-) diff --git a/assets/css/atoms-molecules/base.css b/assets/css/atoms-molecules/base.css index 99ce307fc..24be63df6 100644 --- a/assets/css/atoms-molecules/base.css +++ b/assets/css/atoms-molecules/base.css @@ -6,7 +6,7 @@ @custom-media --reduce-motion (prefers-reduced-motion: reduce); html { - background-color: var(--color-neutral-05); + background-color: var(--color-neutral-50); } body { diff --git a/assets/css/atoms-molecules/typography.css b/assets/css/atoms-molecules/typography.css index b0d49ca2d..c8f485ef0 100644 --- a/assets/css/atoms-molecules/typography.css +++ b/assets/css/atoms-molecules/typography.css @@ -37,7 +37,7 @@ h5.wp-block-heading { /* Pull Quote: GB block styles */ .wp-block-pullquote { - @apply bg-blue-100 my-lg; + @apply bg-neutral-300 my-lg; p { @apply blockquote p-2xl text-high-contrast; } diff --git a/assets/css/index.css b/assets/css/index.css index badaccc64..62262b469 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -21,7 +21,6 @@ @import "../../views/organisms/header/display/header.css"; @import "../../views/organisms/footer/display/footer.css"; @import "../../views/organisms/blocks/accordion/display/accordion.css"; -@import "../../views/organisms/blocks/people-cards/display/people-cards.css"; @import "organisms/wp-blocks.css"; @import "../../views/molecules/pagination/pagination.css"; @import "../../views/organisms/blocks/banner/display/banner.css"; diff --git a/assets/js/components/_tokens.js b/assets/js/components/_tokens.js index 1620837ab..3ab2c1504 100644 --- a/assets/js/components/_tokens.js +++ b/assets/js/components/_tokens.js @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Mon, 02 Oct 2023 21:23:41 GMT + * Generated on Fri, 08 Mar 2024 04:59:00 GMT */ module.exports = { @@ -984,11 +984,11 @@ module.exports = { ] }, "3xs": { - "value": ".125px", + "value": ".125rem", "filePath": "tokens/src/spacer.tokens.json", "isSource": true, "original": { - "value": ".125px" + "value": ".125rem" }, "name": "Spacer3xs", "attributes": { @@ -1432,236 +1432,6 @@ module.exports = { "sans" ] } - }, - "size": { - "2xs": { - "value": "0.625rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "0.625rem" - }, - "name": "FontSize2xs", - "attributes": { - "category": "font", - "type": "size", - "item": "2xs" - }, - "path": [ - "font", - "size", - "2xs" - ] - }, - "xs": { - "value": "0.75rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "0.75rem" - }, - "name": "FontSizeXs", - "attributes": { - "category": "font", - "type": "size", - "item": "xs" - }, - "path": [ - "font", - "size", - "xs" - ] - }, - "sm": { - "value": "0.875rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "0.875rem" - }, - "name": "FontSizeSm", - "attributes": { - "category": "font", - "type": "size", - "item": "sm" - }, - "path": [ - "font", - "size", - "sm" - ] - }, - "base": { - "value": "1rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "1rem" - }, - "name": "FontSizeBase", - "attributes": { - "category": "font", - "type": "size", - "item": "base" - }, - "path": [ - "font", - "size", - "base" - ] - }, - "md": { - "value": "1.125rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "1.125rem" - }, - "name": "FontSizeMd", - "attributes": { - "category": "font", - "type": "size", - "item": "md" - }, - "path": [ - "font", - "size", - "md" - ] - }, - "lg": { - "value": "1.25rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "1.25rem" - }, - "name": "FontSizeLg", - "attributes": { - "category": "font", - "type": "size", - "item": "lg" - }, - "path": [ - "font", - "size", - "lg" - ] - }, - "xl": { - "value": "1.375rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "1.375rem" - }, - "name": "FontSizeXl", - "attributes": { - "category": "font", - "type": "size", - "item": "xl" - }, - "path": [ - "font", - "size", - "xl" - ] - }, - "2xl": { - "value": "1.4375rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "1.4375rem" - }, - "name": "FontSize2xl", - "attributes": { - "category": "font", - "type": "size", - "item": "2xl" - }, - "path": [ - "font", - "size", - "2xl" - ] - }, - "3xl": { - "value": "1.875rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "1.875rem" - }, - "name": "FontSize3xl", - "attributes": { - "category": "font", - "type": "size", - "item": "3xl" - }, - "path": [ - "font", - "size", - "3xl" - ] - }, - "4xl": { - "value": "2.5rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "2.5rem" - }, - "name": "FontSize4xl", - "attributes": { - "category": "font", - "type": "size", - "item": "4xl" - }, - "path": [ - "font", - "size", - "4xl" - ] - }, - "5xl": { - "value": "2.8125rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "2.8125rem" - }, - "name": "FontSize5xl", - "attributes": { - "category": "font", - "type": "size", - "item": "5xl" - }, - "path": [ - "font", - "size", - "5xl" - ] - }, - "6xl": { - "value": "3.75rem", - "filePath": "tokens/src/typography.tokens.json", - "isSource": true, - "original": { - "value": "3.75rem" - }, - "name": "FontSize6xl", - "attributes": { - "category": "font", - "type": "size", - "item": "6xl" - }, - "path": [ - "font", - "size", - "6xl" - ] - } } }, "lh": {