From 95db03e9b9cd1c6116f178fcd9b668f3f8ee2d5a Mon Sep 17 00:00:00 2001 From: Nate Ferrero Date: Wed, 17 Jul 2024 11:11:43 -0400 Subject: [PATCH] fix(react): update CSS text color variable name --- .changeset/unlucky-snails-clean.md | 5 +++++ packages/react/src/components/style.scss | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .changeset/unlucky-snails-clean.md diff --git a/.changeset/unlucky-snails-clean.md b/.changeset/unlucky-snails-clean.md new file mode 100644 index 00000000..2799ad69 --- /dev/null +++ b/.changeset/unlucky-snails-clean.md @@ -0,0 +1,5 @@ +--- +'@flatfile/react': minor +--- + +Replaced CSS text color variable name to be consistent with other variable names, --ff-color-text is now --ff-text-color diff --git a/packages/react/src/components/style.scss b/packages/react/src/components/style.scss index c2f2d666..bd1380b7 100644 --- a/packages/react/src/components/style.scss +++ b/packages/react/src/components/style.scss @@ -13,11 +13,10 @@ --color-pigeon-200: #e8edf4; --color-pigeon-100: #f6f8fc; --color-pigeon-primary: var(--color-pigeon-800); - --ff-color-text: var(--color-pigeon-primary); + --ff-text-color: var(--color-pigeon-primary); --ff-text-font: var(--ff-brand-font-sans-serif); --ff-primary-color: #4c48ef; --ff-secondary-color: #616a7d; - --ff-text-color: #090b2b; --ff-dialog-border-radius: 4px; --ff-border-radius: 5px; --ff-bg-fade: rgba(0, 0, 0, 0.2); @@ -40,7 +39,7 @@ } .flatfile_iframe-wrapper { - color: var(ff-color-text); + color: var(--ff-text-color); font-family: var(--ff-text-font); font-size: var(--size-base); line-height: 1.5; @@ -122,7 +121,7 @@ } .flatfile_secondary { border: 1px solid var(--color-pigeon-300, #d7dee8); - color: var(--ff-color-text, #404857); + color: var(--ff-text-color, #404857); &:hover { background-color: var(--color-pigeon-200, #e8edf4); @@ -142,7 +141,7 @@ font-size: 1.225em; font-weight: 600; margin-bottom: 0.4em; - color: var(--ff-color-text); + color: var(--ff-text-color); } .flatfile_inner-shell { box-sizing: border-box;