From eaca8addf34f474b500618bd7814d2aaf394e373 Mon Sep 17 00:00:00 2001 From: Martina Date: Wed, 7 Jul 2021 14:44:13 -0700 Subject: [PATCH] converted colors to new scheme --- components/core/ApplicationHeader.js | 2 +- components/core/ApplicationLayout.js | 6 +++--- components/core/Link/LinkCard.js | 6 +++--- components/core/Link/LinkLoading.js | 2 +- components/sidebars/ModalAddFileToBucket.js | 8 ++++---- components/system/ThemeProvider.js | 1 + components/system/components/Input.js | 6 +++--- components/system/components/Loaders.js | 2 +- components/system/components/RadioGroup.js | 6 +++--- 9 files changed, 20 insertions(+), 19 deletions(-) diff --git a/components/core/ApplicationHeader.js b/components/core/ApplicationHeader.js index 7b8f3e9a..ff7a04a3 100644 --- a/components/core/ApplicationHeader.js +++ b/components/core/ApplicationHeader.js @@ -115,7 +115,7 @@ const STYLES_BACKGROUND = css` `; const STYLES_UPLOAD_BUTTON = css` - background-color: ${Constants.system.bgGrayLight}; + background-color: ${Constants.semantic.bgGrayLight}; border-radius: 8px; width: 24px; height: 24px; diff --git a/components/core/ApplicationLayout.js b/components/core/ApplicationLayout.js index 4e759e4c..caec7e68 100644 --- a/components/core/ApplicationLayout.js +++ b/components/core/ApplicationLayout.js @@ -137,20 +137,20 @@ const STYLES_BLOCK = css` justify-content: center; transition: 200ms ease all; cursor: pointer; - color: ${Constants.system.textGray}; + color: ${Constants.semantic.textGray}; `; const STYLES_DISMISS = css` ${Styles.ICON_CONTAINER} - color: ${Constants.system.textGray}; + color: ${Constants.semantic.textGray}; :focus { outline: none; } :hover { - color: ${Constants.system.brand}; + color: ${Constants.system.blue}; } `; diff --git a/components/core/Link/LinkCard.js b/components/core/Link/LinkCard.js index 0d9ab9ac..5e769765 100644 --- a/components/core/Link/LinkCard.js +++ b/components/core/Link/LinkCard.js @@ -21,7 +21,7 @@ const STYLES_CARD = css` border-radius: 8px; overflow: hidden; box-shadow: ${Constants.shadow.large}; - background-color: ${Constants.system.bgGrayLight}; + background-color: ${Constants.semantic.bgGrayLight}; `; const STYLES_IMAGE_CONTAINER = css` @@ -56,7 +56,7 @@ const STYLES_BODY = css` -webkit-line-clamp: 3; /* number of lines to show */ -webkit-box-orient: vertical; margin-bottom: 8px; - color: ${Constants.system.textGrayDark}; + color: ${Constants.semantic.textGrayDark}; `; export default function LinkCard({ file }) { @@ -77,7 +77,7 @@ export default function LinkCard({ file }) {
{body}
- + diff --git a/components/core/Link/LinkLoading.js b/components/core/Link/LinkLoading.js index baffbb9d..23ebca9d 100644 --- a/components/core/Link/LinkLoading.js +++ b/components/core/Link/LinkLoading.js @@ -36,7 +36,7 @@ export default function LinkLoading({ file }) { ) : (