-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
…ns (#316) * v5.0.0-beta.0 – Initial v5 work to move all styles into optional mixins * v5.0.0-beta.0 – Fixing initial changes after testing importing the legacy styles
* Add optional loading indicator component * Prevent Prettier ruining files * Added line breaks back to file after format * Added change to changelog
* v5.0.0-beta.6 - more color vars transitioned + o-link styles changes * v5.0.0-beta.6 - code style Co-authored-by: Maryia Radchuk <maryia.radchuk@just-eat.com>
…e vars to pie-design-tokens (#327) Co-authored-by: Maryia Radchuk <maryia.radchuk@just-eat.com>
…tomise the colours of the spinner. (#328) * v5.0.0 - Extending the loadingIndicator mixin to specify colours. * v5.0.0-beta.8 - Adding mixin to be able to customise the colours of the spinner of the loading indicator. Co-authored-by: Sacha Zvetelman <sacha.zvetelman@justeattakeaway.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, and haven't noticed any issues whilst using the beta version on menu.
One thing to mention, to future-proof us a little, could we consider removing the $spacing
variables x0.5
& x1.5
as they aren't using valid syntax in dart-sass
(we're using the deprecated node-sass
npm package currently)? Where people are using those variables they can replace it with something like spacing() * 0.5
if they need to use the fraction values?
If not in v5 possibly in v6?
@DamianMullins Yeh – funnily enough, I think we hit this when trying to upgrade one of our dependencies in the component repo, so I think that'll happen pretty shortly 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I updated fozzie to use pie design tokens I didn't use aliases as much as I could so all my comments here are to fix this. This will be fixed in the next PR so doesn't block this one.
border-radius: 3px; | ||
} | ||
mark { | ||
background: $color-yellow-10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
background: $color-yellow-10; | |
background: $color-support-warning-02; |
$breadcrumb-text-color : $color-grey-50; | ||
$breadcrumb-text-weight : $font-weight-bold; | ||
$breadcrumb-link-color : $color-grey; | ||
$breadcrumb-link-color--hover : $color-grey-50; | ||
$breadcrumb-icon-fillColor : $color-black; | ||
$breadcrumb--compact-background : rgba($color-black, 0.2); | ||
|
||
$breadcrumb--transparent-text-color : $color-white; | ||
$breadcrumb--transparent-icon-fillColor : $color-white; | ||
$breadcrumb--transparent-link-color : $color-white; | ||
|
||
$breadcrumb--pill-text-color : $color-white; | ||
$breadcrumb--pill-link-color--hover : $color-white; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$breadcrumb-text-color : $color-grey-50; | |
$breadcrumb-text-weight : $font-weight-bold; | |
$breadcrumb-link-color : $color-grey; | |
$breadcrumb-link-color--hover : $color-grey-50; | |
$breadcrumb-icon-fillColor : $color-black; | |
$breadcrumb--compact-background : rgba($color-black, 0.2); | |
$breadcrumb--transparent-text-color : $color-white; | |
$breadcrumb--transparent-icon-fillColor : $color-white; | |
$breadcrumb--transparent-link-color : $color-white; | |
$breadcrumb--pill-text-color : $color-white; | |
$breadcrumb--pill-link-color--hover : $color-white; | |
$breadcrumb-text-color : $color-content-subdued; | |
$breadcrumb-text-weight : $font-weight-bold; | |
$breadcrumb-link-color : $color-content-interactive-tertiary; | |
$breadcrumb-link-color--hover : darken($color-content-interactive-tertiary, $color-hover-01); | |
$breadcrumb-icon-fillColor : $color-content-subdued; | |
$breadcrumb--compact-background : $color-overlay; | |
$breadcrumb--transparent-text-color : $color-content-link-light; | |
$breadcrumb--transparent-icon-fillColor : $color-content-link-light; | |
$breadcrumb--transparent-link-color : $color-content-link-light; | |
$breadcrumb--pill-text-color : $color-content-link-inverse; | |
$breadcrumb--pill-link-color--hover : $color-content-link-inverse; |
*/ | ||
|
||
.c-breadcrumb--pill { | ||
background-color: rgba($color-black, 0.5); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
background-color: rgba($color-black, 0.5); | |
background-color: $color-overlay; |
$card-bgColor--active : $color-white; | ||
$card-bgColor--disabled : $color-grey-20; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$card-bgColor--active : $color-white; | |
$card-bgColor--disabled : $color-grey-20; | |
$card-bgColor--active : $color-container-default; | |
$card-bgColor--disabled : $color-disabled-01; |
$card-borderColor : $color-border-strong; | ||
$card-section-margin : spacing(x4); | ||
$card-section-margin--large : spacing(x8); | ||
$card-section-highlight-backgroundColor : $color-orange-10; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$card-section-highlight-backgroundColor : $color-orange-10; | |
$card-section-highlight-backgroundColor : $color-support-brand-02; |
&:hover, &:focus { | ||
color: $color-link-hover; | ||
&:active { | ||
color: darken($color-content-link, $color-active-02); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
color: darken($color-content-link, $color-active-02); | |
color: darken($color-content-link, $color-active-01); |
|
||
$list-bullet-color: $orange; | ||
$list-bullet-color: $color-orange; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$list-bullet-color: $color-orange; | |
$list-bullet-color: $color-dark-content-brand; |
$table-bgColor--accent : $color-grey-10 !global; // Background color used for `.table-striped`. | ||
$table-border--color : $color-grey-10 !global; // Border color for table and cell borders. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$table-bgColor--accent : $color-grey-10 !global; // Background color used for `.table-striped`. | |
$table-border--color : $color-grey-10 !global; // Border color for table and cell borders. | |
$table-bgColor--accent : $color-background-default !global; // Background color used for `.table-striped`. | |
$table-border--color : $color-background-default !global; // Border color for table and cell borders. |
$table-bgColor--accent : $color-grey-10 !global; // Background color used for `.table-striped`. | ||
$table-border--color : $color-grey-10 !global; // Border color for table and cell borders. | ||
$table-border--width : 2px !global; // Border width for table border. | ||
$table-innerBorder--color : $color-grey-40 !global; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$table-innerBorder--color : $color-grey-40 !global; | |
$table-innerBorder--color : $color-border-strong !global; |
@include bordered(); | ||
} | ||
.u-lightenBg { | ||
background-color: $color-white; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
background-color: $color-white; | |
background-color: $color-container-default; |
v5.0.0
August 23, 2021
Main changes:
pie-design-tokens
repo instead offozzie-colour-palette
.$includeBaseFramework
and$includeMinimalFramework
. Check out the_templates.scss
file to see what styles are included when these are set to true.Changed
pie-design-tokens
repo instead offozzie-colour-palette
.Removed
/settings/glyphs
moved into badges, as it is the only place it is used./images
as not used.kickoff-grid
dependency brought into fozzie, to remove external dependency (making it easier to change if needed).$font-weight-bold
was removed as it now comes straight frompie-design-tokens
.** Full list of changes (including all colour variable changes) can be found in beta release CHANGELOGs (see full CHANGELOG entries) **
UI Review Checks