Skip to content

Commit e2ee923

Browse files
Filchaichontat
authored andcommitted
type the observable10 color scheme (observablehq#1954)
* type the observable10 color scheme * order, fix comment
1 parent f6b7839 commit e2ee923

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/scales.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ type ColorSchemeCase =
2828
| "Accent"
2929
| "Category10"
3030
| "Dark2"
31+
| "Observable10"
3132
| "Paired"
3233
| "Pastel1"
3334
| "Pastel2"
@@ -82,13 +83,14 @@ type ColorSchemeCase =
8283
* - *Accent* - eight colors
8384
* - *Category10* - ten colors
8485
* - *Dark2* - eight colors
86+
* - *Observable10* (default) - ten colors
8587
* - *Paired* - twelve paired colors
8688
* - *Pastel1* - nine colors
8789
* - *Pastel2* - eight colors
8890
* - *Set1* - nine colors
8991
* - *Set2* - eight colors
9092
* - *Set3* - twelve colors
91-
* - *Tableau10* (default) - ten colors
93+
* - *Tableau10* - ten colors
9294
*
9395
* For diverging data, one of:
9496
*

0 commit comments

Comments
 (0)