chore: remove en-GB spelling

This commit is contained in:
winston 2023-04-30 22:50:21 +02:00
parent 37e8bd8336
commit f086ae53c0
No known key found for this signature in database
GPG key ID: 3786770EDBC2B481

View file

@ -29,7 +29,7 @@ Output:
## Import the single-map file ## Import the single-map file
Another way to create all four flavours, in a single file, from a single file, Another way to create all four flavors, in a single file, from a single file,
is to use `_catppuccin.scss`. is to use `_catppuccin.scss`.
**NB**: Due to web safe colors being predefined in CSS, colors like `red`, `green`, `blue` will **not** be generated with this method, **when they are not** explicitly cast as a string. To ensure proper generation, wrap your values with `'`. **NB**: Due to web safe colors being predefined in CSS, colors like `red`, `green`, `blue` will **not** be generated with this method, **when they are not** explicitly cast as a string. To ensure proper generation, wrap your values with `'`.
@ -47,11 +47,11 @@ Input:
// sass is also part of the npm package: // sass is also part of the npm package:
// @use "~@catppuccin/palette/scss/catppuccin"; // @use "~@catppuccin/palette/scss/catppuccin";
@each $flavour, $colour in catppuccin.$palette { @each $flavor, $color in catppuccin.$palette {
.my-#{flavour}-class { .my-#{flavor}-class {
// you need surround the catppuccin color names with quotes // you need surround the catppuccin color names with quotes
background: map-get($colour, 'base'); background: map-get($color, 'base');
color: map-get($colour, 'blue'); color: map-get($color, 'blue');
} }
} }
``` ```