Select Color: ship only RAL CLASSIC as a built-in colour book

SIKKENS 4041 is no longer built in; it can still be loaded from an .acb
file in a colour book folder.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013rGmDUNr1hUf4zo1X3dak8
This commit is contained in:
Claude committed 2026-10-14 19:10:33 +00:00
1 parent 451b0f5d78
commit a1cae55955
3 files changed
+5 -2112

No files matched your search

+2 -3
View File
@@ -6,8 +6,7 @@ carries its source and licence in its header comment.
| File | Book | Source and licence |
|---|---|---|
| `ral-classic.acb` | RAL CLASSIC, 216 approximate sRGB values | Adapted from Wikipedia, "List of RAL colours"; CC BY-SA 4.0 |
| `sikkens-4041.acb` | SIKKENS 4041, 1,624 colours | Open Colour Systems Collection 2.0, © 2015 dtp studio oldenburg (freieFarbe e.V.); CC BY-ND 4.0. Converted from the GIMP palette: same names, values and order, only the file format changed |
Values are approximate screen representations, not colour-binding
references. RAL is a registered trademark of RAL gGmbH and Sikkens of
AkzoNobel; these files are not affiliated with or endorsed by either.
references. RAL is a registered trademark of RAL gGmbH; this file is not
affiliated with or endorsed by RAL gGmbH.
File diff suppressed because it is too large. Load diff
+3 -8
View File
@@ -57,15 +57,10 @@ impl ColorBook {
}
}
/// The colour books that ship with the program; their licences are in the
/// files' header comments.
/// The colour book that ships with the program; its licence is in the
/// file's header comment.
pub fn builtin() -> impl Iterator<Item = ColorBook> {
[
include_str!("../../../assets/color_books/ral-classic.acb"),
include_str!("../../../assets/color_books/sikkens-4041.acb"),
]
.into_iter()
.filter_map(|text| parse(text).ok())
parse(include_str!("../../../assets/color_books/ral-classic.acb")).into_iter()
}
/// Read an `.acb` file's text.