Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(react): update CSS text color variable name #161

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/unlucky-snails-clean.md
Original file line number Diff line number Diff line change
@@ -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
9 changes: 4 additions & 5 deletions packages/react/src/components/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
Expand Down Expand Up @@ -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);
Expand All @@ -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;
Expand Down
Loading