Skip to content
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
8 changes: 4 additions & 4 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@emotion/react": "11.14.0",
"@floating-ui/react": "0.27.18",
"@hookform/resolvers": "2.9.11",
"@meemoo/react-components": "6.0.5",
"@meemoo/react-components": "6.0.6",
"@studiohyperdrive/pagination": "1.0.0",
"@tanstack/react-query": "5.99.0",
"@viaa/avo2-components": "7.0.0",
Expand Down
50 changes: 50 additions & 0 deletions ui/src/react-admin/modules/content-page/const/get-color-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,46 @@ const blackWhiteGradientOption = () => ({
]),
value: GradientColor.BlackWhite,
});
const oldPinkOption = () => ({
label: tText('modules/content-page/const/content-block___oud-roze', {}, [App.HET_ARCHIEF]),
value: Color.OldPink,
});
const lavenderOption = () => ({
label: tText('modules/content-page/const/content-block___lavendel', {}, [App.HET_ARCHIEF]),
value: Color.Lavender,
});
const lilaOption = () => ({
label: tText('modules/content-page/const/content-block___lila', {}, [App.HET_ARCHIEF]),
value: Color.Lila,
});
const blossomPinkOption = () => ({
label: tText('modules/content-page/const/content-block___bloesem-roze', {}, [App.HET_ARCHIEF]),
value: Color.BlossomPink,
});
const coralOption = () => ({
label: tText('modules/content-page/const/content-block___koraal-oranje', {}, [App.HET_ARCHIEF]),
value: Color.Coral,
});
const lightBlueOption = () => ({
label: tText('modules/content-page/const/content-block___poederblauw', {}, [App.HET_ARCHIEF]),
value: Color.LightBlue,
});
const sageOption = () => ({
label: tText('modules/content-page/const/content-block___salie-groen', {}, [App.HET_ARCHIEF]),
value: Color.Sage,
});
const pistachioOption = () => ({
label: tText('modules/content-page/const/content-block___pistache-groen', {}, [App.HET_ARCHIEF]),
value: Color.Pistachio,
});
const sandBeigeOption = () => ({
label: tText('modules/content-page/const/content-block___zand-beige', {}, [App.HET_ARCHIEF]),
value: Color.SandBeige,
});
const mustardOption = () => ({
label: tText('modules/content-page/const/content-block___honing-geel', {}, [App.HET_ARCHIEF]),
value: Color.Mustard,
});

//
export const GET_BACKGROUND_COLOR_OPTIONS_AVO: () => SelectOption<Color>[] = () => [
Expand All @@ -102,6 +142,16 @@ export const GET_BACKGROUND_COLOR_OPTIONS_ARCHIEF: () => SelectOption<
skyBlueOption(),
meemooLogoOption(),
blackWhiteGradientOption(),
oldPinkOption(),
lavenderOption(),
lilaOption(),
blossomPinkOption(),
coralOption(),
lightBlueOption(),
sageOption(),
pistachioOption(),
sandBeigeOption(),
mustardOption(),
];

export const GET_AVO_HERO_BACKGROUND_COLOR_OPTIONS: () => SelectOption<Color>[] = () => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,18 @@ export enum Color {
Zinc = '#ADADAD',
SkyBlue = '#C3DDE6',
Juniper = '#678588',

// Tertiary colors
OldPink = '#9B6072',
Lavender = '#A293AF',
Lila = '#c6c2e0',
BlossomPink = '#E694B3',
Coral = '#E89B88',
LightBlue = '#BDDEE7',
Sage = '#91A9A7',
Pistachio = '#B8BE9A',
SandBeige = '#EDD6C4',
Mustard = '#EFCA6A',
}

export enum GradientColor {
Expand Down