Skip to content

Commit 08ff9a6

Browse files
committed
updates for release v3.31.0
1 parent 0e478b9 commit 08ff9a6

File tree

7 files changed

+29
-15
lines changed

7 files changed

+29
-15
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
# Changelog
22

3-
## [v3.30.0] - 2025-007-05
3+
## [v3.31.0] - 2025-09-14
4+
5+
### Added
6+
7+
- Sanzo Wada Color combinations #151 (thanks max-de-rooij)
8+
9+
- add yt colormaps as cmyt_names #149 (thanks @andrew-saydjari)
10+
11+
### Changed
12+
13+
### Removed
14+
15+
###################################################################
16+
17+
## [v3.30.0] - 2025-07-05
418

519
### Added
620

LICENSE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ See https://flagpedia.net/about
9393

9494
The flags from which these color schemes were extracted are public domain.
9595

96-
9796
## feathers
9897

9998
License is MIT

Project.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ColorSchemes"
22
uuid = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
33
authors = ["cormullion", "rafaqz", "gustaphe", "lwabeke", "NHDaly", "stevengj", "t-bltg", "asinghvi17", "davibarreira", "adrhill", "tecosaur", "jarredclloyd"]
4-
version = "3.30.0"
4+
version = "3.31.0"
55

66
[deps]
77
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
@@ -12,10 +12,10 @@ PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
1212
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1313

1414
[compat]
15-
ColorTypes = "0.11, 0.12"
15+
ColorTypes = "0.11, 0.12, 0.12.1"
1616
ColorVectorSpace = "0.10, 0.11"
17-
Colors = "0.12, 0.13"
18-
FixedPointNumbers = "0.8"
17+
Colors = "0.12, 0.13, 0.13.1"
18+
FixedPointNumbers = "0.8, 0.8.5"
1919
PrecompileTools = "1"
2020
julia = "1"
2121

docs/Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[deps]
2-
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
32
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
43
ColorVectorSpace = "c3611d14-8923-5661-9e6a-0046d554d3a4"
54
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"

docs/src/assets/colorschemes-docs.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ html.theme--documenter-dark #documenter .docs-sidebar form.docs-search>input.is-
149149
content: attr(data-hover);
150150
visibility: hidden;
151151
opacity: 0;
152-
width: 500px;
152+
width: 600px;
153153
background-color: black;
154154
color: #fff;
155155
text-align: left;

docs/src/catalogue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ end
1515
1616
function generate_scheme_svg(schemename;
1717
swatchwidth = 800,
18-
swatchheight = 20)
18+
swatchheight = 30)
1919
# create swatch
2020
cols = colorschemes[schemename].colors
2121
l = length(cols)
@@ -275,7 +275,7 @@ using Luxor, ColorSchemes # hide
275275
ColorSchemeCategory("Feathers") # hide
276276
```
277277

278-
# sanzo
278+
# Sanzo Wada
279279
Color combinations derived from "A Dictionary of Color Combinations", a book based on the original 6-volumes of color studies called _Haishoku Soukan_ by [Sanzo Wada](https://en.wikipedia.org/wiki/Sanzo_Wada), a Japanese artist and designer.
280280

281281
```@example catalog

docs/src/index.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ Original version by [cormullion](https://github.com/cormullion).
8080

8181
If you think a new colorscheme would be a great addition for you and for Julians everywhere, you can contribute it as follows:
8282

83-
1 Add a file to the `data/` directory. The file should be a Julia file, with a `.jl` suffix.
83+
1. Add a file to the `data/` directory. The file should be a Julia file, with a `.jl` suffix.
8484

85-
2 Inside the file, define a colorscheme in this format, which calls [loadcolorscheme](@ref):
85+
2. Inside the file, define a colorscheme in this format, which calls [loadcolorscheme](@ref):
8686

8787
```julia
8888
loadcolorscheme(:mynewcolorscheme, [
@@ -97,9 +97,9 @@ loadcolorscheme(:mynewcolorscheme, [
9797

9898
The new name - here `mynewcolorscheme` - should be a valid Julia variable name.
9999

100-
3 If you're adding the new colorscheme to an existing category, it will appear in the catalog document automatically.
100+
3. If you're adding the new colorscheme to an existing category, it will appear in the catalog document automatically.
101101

102-
4 Otherwise, to add a new category to the catalog (which will add all the colorschemes in that category), add this code to `catalogue.md`:
102+
4. Otherwise, to add a new category to the catalog (which will add all the colorschemes in that category), add this code to `catalogue.md`:
103103

104104
```markdown
105105
```@example catalog
@@ -108,7 +108,9 @@ The new name - here `mynewcolorscheme` - should be a valid Julia variable name.
108108
```
109109
```
110110

111-
5 If there's a license file, add it to `data/` as well.
111+
5. If there's a license file, add it to `data/` as well. (This is a courtesy thing rather than a legal thing.)
112+
113+
6. Add your new file to the include list in the function `src/ColorSchemes.jl/loadallschemes` (around line 118).
112114

113115
## Documentation
114116

0 commit comments

Comments
 (0)