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

7
.gitignore vendored
View file

@ -8,4 +8,9 @@ out
d2
# 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

@ -14,14 +14,14 @@
#### Improvements 🧹
- CLI:
- Support `validate` command. [#2415](https://github.com/terrastruct/d2/pull/2415)
- Watch mode ignores backup files (e.g. files created by certain editors like Helix). [#2131](https://github.com/terrastruct/d2/issues/2131)
- Support `validate` command. [#2415](https://github.com/terrastruct/d2/pull/2415)
- Watch mode ignores backup files (e.g. files created by certain editors like Helix). [#2131](https://github.com/terrastruct/d2/issues/2131)
- Compiler:
- `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:
- 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:
- horizontal padding added for connection labels [#2461](https://github.com/terrastruct/d2/pull/2461)
- 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: - horizontal padding added for connection labels [#2461](https://github.com/terrastruct/d2/pull/2461)
- Themes [#2065](https://github.com/terrastruct/d2/pull/2065):
#### Bugfixes ⛑️
@ -37,8 +37,8 @@
- fixes substitutions in quotes surrounded by text [#2462](https://github.com/terrastruct/d2/pull/2462)
- CLI: fetch and render remote images of mimetype octet-stream correctly [#2370](https://github.com/terrastruct/d2/pull/2370)
- Composition:
- spread importing scenarios/steps was not inheriting correctly [#2460](https://github.com/terrastruct/d2/pull/2460)
- imported fields were not merging with current fields/edges [#2464](https://github.com/terrastruct/d2/pull/2464)
- spread importing scenarios/steps was not inheriting correctly [#2460](https://github.com/terrastruct/d2/pull/2460)
- imported fields were not merging with current fields/edges [#2464](https://github.com/terrastruct/d2/pull/2464)
- Markdown: fixes nested var substitutions not working [#2456](https://github.com/terrastruct/d2/pull/2456)
- d2js: handle unicode characters [#2393](https://github.com/terrastruct/d2/pull/2393)

View file

@ -31,6 +31,7 @@ var LightCatalog = []d2themes.Theme{
var DarkCatalog = []d2themes.Theme{
DarkMauve,
DarkFlagshipTerrastruct,
DarkBerryBlue,
}
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",
},
}