Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@justeat/fozzie-colour-palette
Advanced tools
This module allows projects to import the Just Eat brand colour palette, so that they can always stay up to date with any changes made.
Colours are made available by a number of Sass variables that once the module has been imported can be referenced in a projects Sass files.
If you are using the fozzie gulp build tasks, then Eyeglass is automatically setup ready to use. If not, you can use it in one of the following ways:
Install the fozzie-colour-palette module using NPM or Yarn:
yarn add @justeat/fozzie-colour-palette
Then within your Sass files, you will need to import this module.
@import 'fozzie-colour-palette';
You can then use any of the colour variables contained in the module.
It’s recommended that you hook onto and use the variable abstractions such as $color-text
and $color-link-default
where it makes sense to, rather than directly onto the colour variables. That way your project will require less re-factoring should the colour palette ever get a major overhaul in the future and certain colours get replaced and/or renamed.
The fozzie-colour-palette
allows for the definition of platform specific colour schemes. The colour schemes currently available are:
To apply the default Just Eat colour scheme, simply import this module like so:
@import 'fozzie-colour-palette';
If you are already importing the base fozzie
module there will be no need to import fozzie-colour-palette
as this is baked in by default to that module. The default colour scheme will therefore automatically be setup when importing the base fozzie
module.
To apply the Menulog colour palette, you need to import the default colour scheme, and then call the applyScheme-menulog
mixin, which provides a set of theme overrides.
To do this, define a $theme
variable and set it to 'ml'
. Then conditionally call the Menulog colour scheme mixin:
$theme: 'ml';
@import 'fozzie-colour-palette';
@if ($theme == 'ml') {
@include applyScheme-menulog;
}
If you are using the base fozzie
module, simply setting the $theme: 'ml';
before importing the fozzie
module will automatically take care of this step for you:
$theme: 'ml';
@import 'fozzie'; // this will now load in the fozzie-colour-palette module with Menulog overrides
FAQs
Brand colour palette for projects at Just Eat
The npm package @justeat/fozzie-colour-palette receives a total of 9 weekly downloads. As such, @justeat/fozzie-colour-palette popularity was classified as not popular.
We found that @justeat/fozzie-colour-palette demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 40 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.