diff --git a/ci/release/changelogs/next.md b/ci/release/changelogs/next.md index 5480ca65c9..85e2c6c186 100644 --- a/ci/release/changelogs/next.md +++ b/ci/release/changelogs/next.md @@ -9,6 +9,9 @@ - Sequence diagram: The spacing between self-referential edges and regular edges is uniform [#2043](https://github.com/terrastruct/d2/pull/2043) - Compiler: Error on multi-line labels in `sql_table` shapes [#2057](https://github.com/terrastruct/d2/pull/2057) - Sequence diagram: Image shape actors can use spans and notes [#2056](https://github.com/terrastruct/d2/issues/2056) +- Themes [#2065](https://github.com/terrastruct/d2/pull/2065): + - new theme `Dark Berry Blue` (`205`), intended as dark variant of `Mixed Berry Blue` (`5`). + - changed id of `Dark Flagship Terrastruct` (`203`) to mirror the ID of `Flagship Terrastruct` (`3`), improving theme discoverability. #### Bugfixes ⛑️ diff --git a/d2themes/d2themescatalog/catalog.go b/d2themes/d2themescatalog/catalog.go index 72cf8d10f9..a7da6cb6c8 100644 --- a/d2themes/d2themescatalog/catalog.go +++ b/d2themes/d2themescatalog/catalog.go @@ -30,6 +30,7 @@ var LightCatalog = []d2themes.Theme{ var DarkCatalog = []d2themes.Theme{ DarkMauve, DarkFlagshipTerrastruct, + DarkBerryBlue, } func Find(id int64) d2themes.Theme { diff --git a/d2themes/d2themescatalog/dark_berry_blue.go b/d2themes/d2themescatalog/dark_berry_blue.go new file mode 100644 index 0000000000..fd974205cf --- /dev/null +++ b/d2themes/d2themescatalog/dark_berry_blue.go @@ -0,0 +1,25 @@ +package d2themescatalog + +import "oss.terrastruct.com/d2/d2themes" + +var DarkBerryBlue = d2themes.Theme{ + ID: 205, + Name: "Dark berry blue", + Colors: d2themes.ColorPalette{ + Neutrals: d2themes.DarkNeutral, + + B1: "#E5F3FF", + B2: "#BCDDFB", + B3: "#77AFE3", + B4: "#3363DD", + B5: "#1F46B7", + B6: "#203586", + + AA2: "#DACEFB", + AA4: "#A169D3", + AA5: "#6649B5", + + AB4: "#9F7ED1", + AB5: "#BA69A6", + }, +} diff --git a/d2themes/d2themescatalog/dark_flagship_terrastruct.go b/d2themes/d2themescatalog/dark_flagship_terrastruct.go index 210c37c953..77d13f6d64 100644 --- a/d2themes/d2themescatalog/dark_flagship_terrastruct.go +++ b/d2themes/d2themescatalog/dark_flagship_terrastruct.go @@ -3,7 +3,7 @@ package d2themescatalog import "oss.terrastruct.com/d2/d2themes" var DarkFlagshipTerrastruct = d2themes.Theme{ - ID: 201, + ID: 203, Name: "Dark Flagship Terrastruct", Colors: d2themes.ColorPalette{ Neutrals: d2themes.DarkNeutral,