diff --git a/packages/shared/components/filling-role-selector/FillingRoleSelector.stories.tsx b/packages/shared/components/filling-role-selector/FillingRoleSelector.stories.tsx index d566eabdd6..723003c39c 100644 --- a/packages/shared/components/filling-role-selector/FillingRoleSelector.stories.tsx +++ b/packages/shared/components/filling-role-selector/FillingRoleSelector.stories.tsx @@ -29,6 +29,7 @@ import { Meta, StoryObj } from "@storybook/react"; import { FillingRoleSelector } from "./FillingRoleSelector"; import { FillingRoleSelectorProps } from "./FillingRoleSelector.types"; +import { globalColors } from "../../themes"; const meta = { title: "Components/FillingRoleSelector", @@ -43,13 +44,13 @@ type Story = StoryObj; export default meta; const mockRoles = [ - { id: "3", name: "Director", order: 3, color: "#BB85E7" }, - { id: "2", name: "Accountant", order: 2, color: "#70D3B0" }, + { id: "3", name: "Director", order: 3, color: globalColors.secondPurple }, + { id: "2", name: "Accountant", order: 2, color: globalColors.secondGreen }, { id: "1", name: "Employee", order: 1, - color: "#FBCC86", + color: globalColors.favoritesStatus, everyone: "@Everyone", }, ]; diff --git a/packages/shared/components/media-viewer/sub-components/ViewerToolbar/ViewerToolbar.styled.ts b/packages/shared/components/media-viewer/sub-components/ViewerToolbar/ViewerToolbar.styled.ts index 49ea86999c..ffafaef355 100644 --- a/packages/shared/components/media-viewer/sub-components/ViewerToolbar/ViewerToolbar.styled.ts +++ b/packages/shared/components/media-viewer/sub-components/ViewerToolbar/ViewerToolbar.styled.ts @@ -84,7 +84,7 @@ export const ToolbarItem = styled.li<{ ${(props) => props.$percent !== 25 ? `fill: ${globalColors.white};` - : "fill: #BEBEBE;"} + : `fill: ${globalColors.gray};`} } } diff --git a/packages/shared/components/snackbar/SnackbarAction.styled.ts b/packages/shared/components/snackbar/SnackbarAction.styled.ts index a0be7eea5b..d8352ceb4d 100644 --- a/packages/shared/components/snackbar/SnackbarAction.styled.ts +++ b/packages/shared/components/snackbar/SnackbarAction.styled.ts @@ -29,12 +29,13 @@ import styled from "styled-components"; import CrossReactSvg from "PUBLIC_DIR/images/cross.react.svg"; import { commonIconsStyles } from "../../utils"; +import { globalColors } from "../../themes"; const StyledCrossIcon = styled(CrossReactSvg)` ${commonIconsStyles} path { - fill: #999976; + fill: ${globalColors.gray}; } `; diff --git a/packages/shared/constants/index.ts b/packages/shared/constants/index.ts index b8b02f43ea..6a0abf4994 100644 --- a/packages/shared/constants/index.ts +++ b/packages/shared/constants/index.ts @@ -125,7 +125,7 @@ export const PROVIDERS_DATA = Object.freeze({ twitter: { label: "twitter", icon: ShareTwitterReactSvgUrl, - iconOptions: { color: "#2AA3EF" }, + iconOptions: { color: globalColors.twitterColor }, }, linkedin: { label: "linkedin", diff --git a/packages/shared/themes/globalColors.ts b/packages/shared/themes/globalColors.ts index a44de5b247..3302dd66a8 100644 --- a/packages/shared/themes/globalColors.ts +++ b/packages/shared/themes/globalColors.ts @@ -109,6 +109,7 @@ export const globalColors = { windowsColor: "#4C83CD", linuxColor: "#F4BB40", androidColor: "#A8D548", + twitterColor: "#2AA3EF", // tickColor: "#20D21F",