Merge pull request #2322 from alixander/consistent-theme-name

code: consistent theme name casing
This commit is contained in:
Alexander Wang 2025-02-02 15:33:14 -08:00 committed by GitHub
commit 20a92859f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 12 additions and 11 deletions

View file

@ -19,6 +19,7 @@
- Links: non-http url scheme links are supported (e.g. `x.link: vscode://file/`) [#2237](https://github.com/terrastruct/d2/issues/2237)
- Compiler: reserved keywords with missing values error instead of silently doing nothing [#2251](https://github.com/terrastruct/d2/pull/2251)
- Render: SVG outputs conform to stricter HTML standards, e.g. no duplicate ids [#2273](https://github.com/terrastruct/d2/issues/2273)
- Themes: theme names are consistently cased [#2322](https://github.com/terrastruct/d2/pull/2322)
#### Bugfixes ⛑️

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var ButteredToast = d2themes.Theme{
ID: 105,
Name: "Buttered toast",
Name: "Buttered Toast",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.WarmNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var ColorblindClear = d2themes.Theme{
ID: 8,
Name: "Colorblind clear",
Name: "Colorblind Clear",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.CoolNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var CoolClassics = d2themes.Theme{
ID: 4,
Name: "Cool classics",
Name: "Cool Classics",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.CoolNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var NeutralDefault = d2themes.Theme{
ID: 0,
Name: "Neutral default",
Name: "Neutral Default",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.CoolNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var EarthTones = d2themes.Theme{
ID: 103,
Name: "Earth tones",
Name: "Earth Tones",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.WarmNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var EvergladeGreen = d2themes.Theme{
ID: 104,
Name: "Everglade green",
Name: "Everglade Green",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.WarmNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var GrapeSoda = d2themes.Theme{
ID: 6,
Name: "Grape soda",
Name: "Grape Soda",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.CoolNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var MixedBerryBlue = d2themes.Theme{
ID: 5,
Name: "Mixed berry blue",
Name: "Mixed Berry Blue",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.CoolNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var OrangeCreamsicle = d2themes.Theme{
ID: 101,
Name: "Orange creamsicle",
Name: "Orange Creamsicle",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.WarmNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var ShirleyTemple = d2themes.Theme{
ID: 102,
Name: "Shirley temple",
Name: "Shirley Temple",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.WarmNeutral,

View file

@ -4,7 +4,7 @@ import "oss.terrastruct.com/d2/d2themes"
var VanillaNitroCola = d2themes.Theme{
ID: 100,
Name: "Vanilla nitro cola",
Name: "Vanilla Nitro Cola",
Colors: d2themes.ColorPalette{
Neutrals: d2themes.WarmNeutral,