Skip to content

Commit

Permalink
Update colors.nim (nim-lang#19274)
Browse files Browse the repository at this point in the history
* Update colors.nim

Added `lightgray` alias to `lightgrey` and `...grey`aliases for the rest of the gray colors.
Added color `rebeccapurple`.
Fixed the incorrect values for the `PaleVioletRed` and `MediumPurple` colors.
This module should now be matching the CSS colors.
I used the seq[tuple] syntax for defining the names.

* Document colors changes.
  • Loading branch information
MichalMarsalek authored and PMunch committed Mar 28, 2022
1 parent 30d74d6 commit 54c505e
Show file tree
Hide file tree
Showing 2 changed files with 164 additions and 145 deletions.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
`experimental:flexibleOptionalParams`.

- `std/sharedstrings` module is removed.
- Constants `colors.colPaleVioletRed` and `colors.colMediumPurple` changed to match the CSS color standard.

## Standard library additions and changes

- `macros.parseExpr` and `macros.parseStmt` now accept an optional
filename argument for more informative errors.
- Module `colors` expanded with missing colors from the CSS color standard.

## `std/smtp`

Expand Down
Loading

0 comments on commit 54c505e

Please sign in to comment.