Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions ColorSchemes/data/historical.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
loadcolorscheme(:byrne,
[
colorant"#d52a22", #red
colorant"#0f638f", #blue
colorant"#fbc22b", #yellow
colorant"#000000", #black
],
"Historical",
"Oliver Byrne, Euclid, geometry, red, blue, yellow, black"
)
1 change: 1 addition & 0 deletions ColorSchemes/src/ColorSchemes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ function loadallschemes()
include(joinpath(datadir, "catppuccin_scheme.jl"))
include(joinpath(datadir, "sanzo.jl"))
include(joinpath(datadir, "ltc.jl"))
include(joinpath(datadir, "historical.jl"))

# create them as constants...
for key in keys(colorschemes)
Expand Down
10 changes: 10 additions & 0 deletions docs/src/catalogue.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,13 @@ the drawings and life of Pablo Picasso and other artists.
using Luxor, ColorSchemes # hide
ColorSchemeCategory("ltc") # hide
```

# Historical

Historical color schemes from notable works and historical sources.

```@example catalog
using Luxor, ColorSchemes # hide
ColorSchemeCategory("historical") # hide
```

Loading