This commit is contained in:
ppenguin 2025-04-02 19:54:34 +02:00 committed by GitHub
commit a945ef2b79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 40 additions and 9 deletions

5
.gitignore vendored
View file

@ -9,3 +9,8 @@ d2
# https://github.com/golang/go/blob/8b67cf0bc6ad657fddcbaaa10729d0086f08f9a9/src/cmd/go/internal/test/test.go#L415-L416 # https://github.com/golang/go/blob/8b67cf0bc6ad657fddcbaaa10729d0086f08f9a9/src/cmd/go/internal/test/test.go#L415-L416
e2etests.test e2etests.test
# ignores for direnv/devenv
.devenv*
.direnv/
devenv.*

View file

@ -20,8 +20,8 @@
- `link`s can be set to root path, e.g. `/xyz`. [#2357](https://github.com/terrastruct/d2/issues/2357) - `link`s can be set to root path, e.g. `/xyz`. [#2357](https://github.com/terrastruct/d2/issues/2357)
- Parser: - Parser:
- impose max key length. It's almost certainly a mistake if an ID gets too long, e.g. missing quotes [#2465](https://github.com/terrastruct/d2/pull/2465) - impose max key length. It's almost certainly a mistake if an ID gets too long, e.g. missing quotes [#2465](https://github.com/terrastruct/d2/pull/2465)
- Render: - # Render: - horizontal padding added for connection labels [#2461](https://github.com/terrastruct/d2/pull/2461)
- horizontal padding added for connection labels [#2461](https://github.com/terrastruct/d2/pull/2461) - Themes [#2065](https://github.com/terrastruct/d2/pull/2065):
#### Bugfixes ⛑️ #### Bugfixes ⛑️

View file

@ -31,6 +31,7 @@ var LightCatalog = []d2themes.Theme{
var DarkCatalog = []d2themes.Theme{ var DarkCatalog = []d2themes.Theme{
DarkMauve, DarkMauve,
DarkFlagshipTerrastruct, DarkFlagshipTerrastruct,
DarkBerryBlue,
} }
func Find(id int64) d2themes.Theme { func Find(id int64) d2themes.Theme {

View file

@ -0,0 +1,25 @@
package d2themescatalog
import "oss.terrastruct.com/d2/d2themes"
var DarkBerryBlue = d2themes.Theme{
ID: 202,
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",
},
}