Skip to content

Commit

Permalink
rename turquoise -> aqua
Browse files Browse the repository at this point in the history
  • Loading branch information
CiaranMn committed Aug 25, 2023
1 parent 8079741 commit 1ca38d8
Show file tree
Hide file tree
Showing 21 changed files with 54 additions and 58 deletions.
4 changes: 2 additions & 2 deletions apps/hash-frontend/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
10 changes: 5 additions & 5 deletions apps/hashdotdev/src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const DesktopNav: FunctionComponent = () => {
openInNew
endIcon={<FontAwesomeIcon icon={faArrowUpRightFromSquare} />}
sx={{
color: ({ palette }) => palette.turquoise[100],
color: ({ palette }) => palette.aqua[100],
background: "rgba(255, 255, 255, 0.80)",
}}
>
Expand Down Expand Up @@ -282,18 +282,18 @@ export const Navbar: FunctionComponent = () => {
[`.${buttonClasses.root}.nav-link`]: {
color: isWhiteBackground
? theme.palette.gray[70]
: theme.palette.turquoise[100],
: theme.palette.aqua[100],
[`> .${buttonClasses.startIcon} svg`]: {
color: isWhiteBackground
? theme.palette.gray[70]
: theme.palette.turquoise[100],
: theme.palette.aqua[100],
},
"&:hover:not(.active)": {
color: isWhiteBackground
? theme.palette.gray[90]
: theme.palette.common.black,
borderColor: isWhiteBackground
? theme.palette.turquoise[30]
? theme.palette.aqua[30]
: "transparent",
background: isWhiteBackground
? "transparent"
Expand All @@ -309,7 +309,7 @@ export const Navbar: FunctionComponent = () => {
[`> .${buttonClasses.startIcon} svg`]: {
color: isWhiteBackground
? theme.palette.teal[90]
: theme.palette.turquoise[100],
: theme.palette.aqua[100],
},
},
},
Expand Down
22 changes: 11 additions & 11 deletions apps/hashdotdev/src/pages/blog/shared/blue-styled-divider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ export const BlueStylishDivider: FunctionComponent<StackProps> = (props) => {
const size = 12;

const boxDefinitions: { color: string; opacity?: number }[] = [
{ color: palette.turquoise[90] },
{ color: palette.turquoise[70] },
{ color: palette.turquoise[80] },
{ color: palette.turquoise[70] },
{ color: palette.turquoise[40] },
{ color: palette.turquoise[50], opacity: 0.5 },
{ color: palette.turquoise[40], opacity: 0.5 },
{ color: palette.aqua[90] },
{ color: palette.aqua[70] },
{ color: palette.aqua[80] },
{ color: palette.aqua[70] },
{ color: palette.aqua[40] },
{ color: palette.aqua[50], opacity: 0.5 },
{ color: palette.aqua[40], opacity: 0.5 },
{ color: "#9EE9E4", opacity: 0.5 },
{ color: palette.turquoise[40], opacity: 0.2 },
{ color: palette.turquoise[40], opacity: 0.2 },
{ color: palette.turquoise[40] },
{ color: palette.turquoise[40], opacity: 0.2 },
{ color: palette.aqua[40], opacity: 0.2 },
{ color: palette.aqua[40], opacity: 0.2 },
{ color: palette.aqua[40] },
{ color: palette.aqua[40], opacity: 0.2 },
];

return (
Expand Down
2 changes: 1 addition & 1 deletion apps/hashdotdev/src/theme/palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const customColors = {
90: "#0C7792",
100: "#04313C",
},
turquoise: {
aqua: {
10: "#F2FAFD",
20: "#DEF4FD",
30: "#BFE7F9",
Expand Down
2 changes: 1 addition & 1 deletion apps/hashdotdev/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ declare module "@mui/material/styles" {
white: string;
black: string;
teal: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
purple: PaletteValue & {
600: string;
};
Expand Down
4 changes: 2 additions & 2 deletions blocks/address/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions blocks/ai-chat/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -225,7 +225,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions blocks/ai-image/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions blocks/ai-text/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions blocks/faq/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -225,7 +225,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions blocks/how-to/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions blocks/kanban-board/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions blocks/shuffle/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions blocks/table/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions libs/@hashintel/block-design-system/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
6 changes: 1 addition & 5 deletions libs/@hashintel/design-system/src/selector-autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,7 @@ const TypeListSelectorDropdown = ({ children, ...props }: PaperProps) => {
) : variant === "entity" ? (
<Chip color="teal" label={variant.toUpperCase()} sx={{ ml: 1.5 }} />
) : variant === "link type" ? (
<Chip
color="turquoise"
label={variant.toUpperCase()}
sx={{ ml: 1.5 }}
/>
<Chip color="aqua" label={variant.toUpperCase()} sx={{ ml: 1.5 }} />
) : (
<Chip
color="purple"
Expand Down
2 changes: 1 addition & 1 deletion libs/@hashintel/design-system/src/theme/palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const customColors = {
90: "#0C7792",
100: "#04313C",
},
turquoise: {
aqua: {
10: "#F2FAFD",
20: "#DEF4FD",
30: "#BFE7F9",
Expand Down
4 changes: 2 additions & 2 deletions libs/@hashintel/design-system/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
4 changes: 2 additions & 2 deletions libs/@hashintel/query-editor/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ const chipColors = {
backgroundColor: theme.palette.purple[20],
hoveredButtonColor: theme.palette.purple[50],
},
turquoise: {
textColor: theme.palette.turquoise[70],
backgroundColor: theme.palette.turquoise[20],
hoveredButtonColor: theme.palette.turquoise[50],
aqua: {
textColor: theme.palette.aqua[70],
backgroundColor: theme.palette.aqua[20],
hoveredButtonColor: theme.palette.aqua[50],
},
};

Expand Down Expand Up @@ -127,12 +127,12 @@ export const expectedValuesOptions: ExpectedValueOptionMap = {
mixedArray: {
title: "Mixed Array",
icon: faList.icon,
colors: chipColors.turquoise,
colors: chipColors.aqua,
},
arrayArray: {
title: "Array of Arrays",
icon: faListTree,
colors: chipColors.turquoise,
colors: chipColors.aqua,
},
};

Expand Down
4 changes: 2 additions & 2 deletions libs/@hashintel/type-editor/theme-override.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare module "@mui/material/styles" {
pink: PaletteValue;
teal: PaletteValue;
green: PaletteValue;
turquoise: PaletteValue;
aqua: PaletteValue;
navy: PaletteValue;
white: string;
black: string;
Expand Down Expand Up @@ -226,7 +226,7 @@ declare module "@mui/material/Chip" {
teal: true;
green: true;
navy: true;
turquoise: true;
aqua: true;
// Disable defaults
default: false;
primary: false;
Expand Down

0 comments on commit 1ca38d8

Please sign in to comment.