chore: remove en-GB spelling
This commit is contained in:
parent
37e8bd8336
commit
f086ae53c0
1 changed files with 6 additions and 6 deletions
10
docs/Sass.md
10
docs/Sass.md
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue