...
intl-whitelabel-app
TASK 5—Change graphql queries and run apollo generate
path:
intl-whitelabel-app/workspaces/frontend/src/queries/sanity/fragments/hero.graphql
TASK 6–Create feature flag
TASK 7–Create color constants (tokens)
path:
intl-whitelabel-app/workspaces/frontend/src/styles/constants/primitives.ts
Background colors:
Burger King:
path:
intl-whitelabel-app/workspaces/frontend/src/styles/constants/design-tokens.bk.ts
Brown (default option)
There is already the color:
$bbqBrown: 'rgb(80,35,20)'
Red
There is already the color:
$fieryRed: 'rgb(214,35,0)'
Green
There is already the color:
$crunchyGreen: 'rgb(25,135,55)'
Orange
There is already the color:
$flamingOrange: 'rgb(255,135,50)'
Yellow
There is already the color:
$meltyYellow: 'rgb(255,170,0)'
Popeyes:
path:
intl-whitelabel-app/workspaces/frontend/src/styles/constants/design-tokens.plk.ts
Orange (default option)
There are already the colors:
$popeyesOrange: 'rgb(255,125,0)'
and$burntOrange: 'rgb(242,86,0)'
Purple
There is already the color:
$nolaPurple: 'rgb(145,25,135)'
, but we will create the second purple color:'rgba(88, 16, 82)'
Firehouse Subs:
path:
intl-whitelabel-app/workspaces/frontend/src/styles/constants/design-tokens.fhs.ts
Red (default option)
We will create the color red:
'rgba(196, 0, 0)'
Yellow
We will create the color red:
'rgba(255, 205, 120)'
Burger King: https://www.figma.com/file/RtD0UFtwuwXx14lbLCAPlr/Burger-King?node-id=2818%3A74806&t=6vGuil8CU4c3vOzP-1 - Connect your Figma account
Popeyes: https://www.figma.com/file/sfH3mHXoEUfHbm5qMul0Vn/Popeyes?node-id=1782%3A68295&t=zNRPSr8NnlQB10C0-1 - Connect your Figma account
Firehouse Subs: https://www.figma.com/file/99e6no9JN7fxiFdjWHRXC7/Firehouse-Subs?node-id=208%3A105586&t=DNksX5RjI3ZEfBeU-1 - Connect your Figma account
TASK 8—Apply changes to full background
Burger King:
Brown(default option)
Elements over this background should be displayed in their reversed (light color) version
Red
Elements over this background should be displayed in their reversed (light color) version
Green
Elements over this background should be displayed in their reversed (light color) version
Orange
Yellow
Popeyes:
Orange (default option)
Elements over this background should be displayed in their reversed (light color) version
Purple
Elements over this background should be displayed in their reversed (light color) version
Firehouse Subs:
Red (default option)
Elements over this background should be displayed in their reversed (light color) version
Yellow
If the
Reversed
toggle was on when deprecated it should now point and default to the newBackground Color
toggle defaulting to theon
state in the respective colors:Burger King
Brown
Popeyes
Orange
Firehouse Subs
Red
TASK 9—Apply changes to Split Background
By turning the
Split Background
toggle on the background color area should be reducedThe Heading and Sub-Heading should be displayed over the colored background
The CTAs should be displayed below the colored background area
The background color of the bottom portion should not be configurable
...