theme ID mod, add description to improvements

This commit is contained in:
ppenguin 2024-08-29 14:33:18 +02:00
parent 30aae50c64
commit db24121d3e
No known key found for this signature in database
GPG key ID: 7E7143B546BB17A7
2 changed files with 12 additions and 9 deletions

View file

@ -14,14 +14,17 @@
#### Improvements 🧹 #### Improvements 🧹
- CLI: - CLI:
- Support `validate` command. [#2415](https://github.com/terrastruct/d2/pull/2415) - 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) - Watch mode ignores backup files (e.g. files created by certain editors like Helix). [#2131](https://github.com/terrastruct/d2/issues/2131)
- Compiler: - 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: - 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):
- 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.
> > > > > > > d19e3b4f2 (theme ID mod, add description to improvements)
#### Bugfixes ⛑️ #### Bugfixes ⛑️
@ -37,8 +40,8 @@
- fixes substitutions in quotes surrounded by text [#2462](https://github.com/terrastruct/d2/pull/2462) - 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) - CLI: fetch and render remote images of mimetype octet-stream correctly [#2370](https://github.com/terrastruct/d2/pull/2370)
- Composition: - Composition:
- spread importing scenarios/steps was not inheriting correctly [#2460](https://github.com/terrastruct/d2/pull/2460) - 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) - 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) - 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) - d2js: handle unicode characters [#2393](https://github.com/terrastruct/d2/pull/2393)

View file

@ -3,7 +3,7 @@ package d2themescatalog
import "oss.terrastruct.com/d2/d2themes" import "oss.terrastruct.com/d2/d2themes"
var DarkFlagshipTerrastruct = d2themes.Theme{ var DarkFlagshipTerrastruct = d2themes.Theme{
ID: 201, ID: 203,
Name: "Dark Flagship Terrastruct", Name: "Dark Flagship Terrastruct",
Colors: d2themes.ColorPalette{ Colors: d2themes.ColorPalette{
Neutrals: d2themes.DarkNeutral, Neutrals: d2themes.DarkNeutral,