Commit graph

42 commits

Author SHA1 Message Date
Alexander Wang
305c72d239
implement classes 2023-04-07 09:57:51 -07:00
Alexander Wang
ab25a7a8ab
fix origami theme 2023-03-29 21:05:42 -07:00
Alexander Wang
e98c34a34c
origami theme 2023-03-29 20:01:52 -07:00
Alexander Wang
4c8c2b1ab5
define new theme 2023-03-15 17:54:34 -07:00
Alexander Wang
1f6a361b3f
implement pattern 2023-03-13 23:01:33 -07:00
donglixiaoche
e88c60fe55
fix: default border-radius for BaseConnection 2023-03-01 08:09:39 +08:00
donglixiaoche
2dd120294f
fix: default elk border-radius 2023-03-01 08:09:38 +08:00
donglixiaoche
84905ded9e
feat: elk border-radius 2023-03-01 08:09:38 +08:00
Anmol Sethi
f64b5c010d
IsContainerOnly -> IsFolderOnly 2023-02-27 14:39:09 -08:00
Anmol Sethi
78b09f5007
BoardContainer -> IsContainerOnly
As discussed on slack.
2023-02-27 14:39:08 -08:00
Anmol Sethi
e4fac7840f
cli: Improve multiboard output
- Boards with subboards are now selfcontained folders with index.svg/png as
  the root board render.
- Boards that are only containers of other boards are not rendered. For example a
  scenario with no modifications and only steps only has its steps
  rendered.
- Boards with sibling boards of another type are rendered under a
  subdirectory indicating their type to separate them. For example a
  board with layers and scenarios has its layers rendered into subfolder
  layers and scenarios into subfolder scenarios.

cc @berniexie see BoardContainer field on d2target.Board for the field
you were looking for to skip renders for PDFs too.
2023-02-27 13:50:03 -08:00
Alexander Wang
87eae1b616
implement background styles 2023-02-26 16:23:51 -08:00
Vojtěch Fošnár
00be0de277
Merge branch 'terrastruct:master' into master 2023-02-21 08:56:05 +01:00
Alexander Wang
f7a5689280
fix 2023-02-20 14:18:55 -08:00
Vojtěch Fošnár
6a89beaeb1
merge updates 2023-02-19 12:32:44 +01:00
Alexander Wang
8736a16f8f
cleanup 2023-02-09 14:16:20 -08:00
Alexander Wang
ad24108446
label fill 2023-02-09 14:14:31 -08:00
Alexander Wang
ea58e1139b
update back font size 2023-02-06 13:12:43 -08:00
Alexander Wang
812957bf23
Tests, changleog 2023-02-06 01:15:18 -08:00
Alexander Wang
0341fd6f3e
update tests 2023-02-06 01:10:52 -08:00
Gavin Nishizawa
1567de64e1
don't set obj.LabelDimensions with padding 2023-02-03 13:53:24 -08:00
Vojtěch Fošnár
af2be1232f
resolved conflicts, updated tests 2023-01-27 22:30:44 +01:00
Anmol Sethi
2d36513e2c
Merge remote-tracking branch 'upstream/master' into scenarios-a407 2023-01-27 10:51:33 -08:00
Anmol Sethi
caef5a5a8f
cli: Add support for rendering layers/scenarios/steps 2023-01-27 10:41:25 -08:00
OneRain2333
9575c768dc Make to be a style attribute and remove shape 2023-01-24 16:21:25 +08:00
Vojtěch Fošnár
a81ab2d73e
support for prefers-color-scheme 2023-01-09 19:16:28 +01:00
Alexander Wang
4cc7dde896
text font sizes and bold, italic, underline 2022-12-25 21:49:26 -08:00
Alexander Wang
64d7d5f1b6
apply themes to tables and classes 2022-12-24 15:56:22 -08:00
Alexander Wang
3a9a784342
wip 2022-12-21 23:13:52 -08:00
Alexander Wang
07fb1a3d86
implement sketch 2022-12-21 20:55:27 -08:00
Gavin Nishizawa
1a3511d632
apply stroke and fill to markdown 2022-12-17 21:32:59 -08:00
Gavin Nishizawa
412713e2b7
render connection label background according to style.fill 2022-12-16 15:46:14 -08:00
Alexander Wang
d90eb355d3
prs 2022-12-05 14:30:40 -08:00
Alexander Wang
1b99604359
fix nested sequence diagram shape 2022-12-05 13:53:09 -08:00
Alexander Wang
159e2016a9
blend groups 2022-12-05 12:09:32 -08:00
Alexander Wang
5deb9b2d7d
blend groups 2022-12-05 11:22:16 -08:00
Alexander Wang
e0d91d3c15
fix bolding 2022-12-05 10:46:06 -08:00
Júlio César Batista
684b72eb5a
Change sorting order to be multi level 2022-11-30 11:22:43 -08:00
Júlio César Batista
a5943d505b
Rename to maxObjectZIndex 2022-11-29 21:41:32 -08:00
Júlio César Batista
0fc1294ae6
Rename RenderPriority -> ZIndex 2022-11-29 21:41:32 -08:00
Júlio César Batista
e7b72b4365
Add RenderPriority to objects and edges 2022-11-29 21:40:50 -08:00
Alexander Wang
524c089a74 oss
Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2022-11-03 06:54:49 -07:00