Added
$theme
variable (via_theme.scss
file) added to allow for theme overrides (such as for Menulog)- Ability to switch to Menulog theme by setting
$theme: 'ml'
.
Changed
- Breaking change: Using new
@justeat/f-utils
package for utility functions/mixins instead ofkickoff/utils.scss
. - Breaking change: Moved and renamed text utility classes.
text-center
->u-text-center
text-centre
->u-text-centre
text-left
->u-text-left
text-right
->u-text-right
text-highlight
->u-text-highlight
text-indent
->u-text-indent
- Breaking change: The following components have now been made optional, and are included by referencing the appropriate mixin:
badge
,contentHeader
,contentTitle
,fullScreenPopOver
,listing
,overflowCarousel
,pageBanner
,rating
. - Updated variable names across component files to be a bit more consistent with one another.
- Updated comments across SCSS files for better consistency.
Removed
- Breaking change: Mixins, Functions and helpers (such as breakpoints and code-highlighting) all moved to
@justeat/f-utils
module. - Breaking change: A number of button types have been removed that aren't needed as yet in global. These include
o-btnToggle
,o-btn--progress
,o-btn--roundedIcon
,o-btn--rounded
,o-btn--transparent
, o-btn--smalland
o-btn-group`.