Commit graph

174 commits

Author SHA1 Message Date
Vojtěch Fošnár
66dc978418
resolved merge conflict 2023-01-15 21:36:43 +01:00
Gavin Nishizawa
7e2d722f50
cf one required seed 2023-01-13 19:20:05 -08:00
Gavin Nishizawa
413acead61
move cf closer to match non-sketch positions 2023-01-13 19:15:24 -08:00
Gavin Nishizawa
967dd21c27
move cf one line away from circle 2023-01-13 18:29:11 -08:00
Gavin Nishizawa
a56db93723
bigger cf one circle 2023-01-13 18:20:22 -08:00
Gavin Nishizawa
b49fbc75e3
update sketch arrowheads test 2023-01-13 18:16:53 -08:00
Gavin Nishizawa
005ceec44f
refactor source/target adjustment and pass to sketch arrowheads 2023-01-13 18:13:28 -08:00
Gavin Nishizawa
a599875931
update tests 2023-01-13 18:13:28 -08:00
Gavin Nishizawa
ebdc3b029c
fixed precision floats from rough 2023-01-13 18:13:28 -08:00
Gavin Nishizawa
88c72c96f4
update tests 2023-01-13 18:13:28 -08:00
Gavin Nishizawa
224af99efd
add sketch versions of arrowheads 2023-01-13 18:13:28 -08:00
Gavin Nishizawa
62d153f798
update tests 2023-01-13 18:13:28 -08:00
Gavin Nishizawa
af2a032a9e
render sketch arrowheads separately 2023-01-13 18:13:28 -08:00
Gavin Nishizawa
033a005eea
add arrowheads sketch test 2023-01-13 18:13:14 -08:00
Alexander Wang
b9c4678302
tooltip 2023-01-13 08:16:18 -08:00
Vojtěch Fošnár
5b32cf58b6
fix typos 2023-01-13 13:12:18 +01:00
Alexander Wang
a6b34634cd
refactor 2023-01-12 11:22:53 -08:00
Alexander Wang
48c9cc7929
sketch 2023-01-12 11:20:18 -08:00
Alexander Wang
60523f0446
works 2023-01-12 11:06:36 -08:00
Alexander Wang
9c1e7eeb73
test 2023-01-12 10:51:26 -08:00
Alexander Wang
cc0a048757
test 2023-01-12 10:29:13 -08:00
Vojtěch Fošnár
19c53d5185
added missing colors conversion 2023-01-12 11:19:34 +01:00
Vojtěch Fošnár
2f9aad07f4
Merge branch 'terrastruct:master' into master 2023-01-12 08:51:41 +00:00
Alexander Wang
6c852cf792
fallback lexer if none found 2023-01-11 23:53:02 -08:00
Vojtěch Fošnár
11bc734586
added sketch overlay tests 2023-01-11 22:46:03 +01:00
Vojtěch Fošnár
63a0c1e2b1
vary sketch overlay color depending on the background and small refactoring 2023-01-11 22:18:14 +01:00
Vojtěch Fošnár
3160f88e5c
removed useless TODOs 2023-01-10 11:34:42 +01:00
Vojtěch Fošnár
41fd673eeb
added theming support to LaTeX and markdown 2023-01-10 00:17:56 +01:00
Vojtěch Fošnár
84e8c25e37
implemented (limited) darkening of theme colors and fixed rendering of the 3D box 2023-01-09 22:50:17 +01:00
Vojtěch Fošnár
a972b5b0ee
removed --sketch_bg and added --dark_theme option 2023-01-09 22:16:22 +01:00
Vojtěch Fošnár
a81ab2d73e
support for prefers-color-scheme 2023-01-09 19:16:28 +01:00
Vojtěch Fošnár
0919cc160e
make Latex use N1 (Text) color 2023-01-07 11:27:00 +01:00
Vojtěch Fošnár
8f903d72e1
add --sketch_bg option 2023-01-07 10:46:37 +01:00
Vojtěch Fošnár
2d775c4d9c
Merge branch 'terrastruct:master' into master 2023-01-06 23:08:47 +00:00
Alexander Wang
2a80a45bf6
update tests 2023-01-06 12:30:16 -08:00
Vojtěch Fošnár
34d15da5ba
make bgColor and fgColor variables instead of hardcoded values for generated SVGs 2023-01-06 19:32:56 +01:00
Bernard Xie
35c1a1633f
add script to tests 2023-01-03 16:42:39 -08:00
Bernard Xie
510e7be593
Add comment 2023-01-03 15:32:31 -08:00
Bernard Xie
dfd66232fc
add d2-svg id on generation 2023-01-03 15:01:21 -08:00
Bernard Xie
070b50a6e2
add check to only run script on root svg 2023-01-03 14:44:36 -08:00
Bernard Xie
643aa13de9
add fit to screen to exported svg 2023-01-03 11:27:15 -08:00
Alexander Wang
be6c3a1eff
Merge pull request #578 from martinjirku/d2-384-crows-feet-arrowhead
d2renderer: #384 The arrowhead crow feet variants
2023-01-01 13:47:28 -08:00
harryjrk
e3047b6aba
fix curved connections issues 2023-01-01 11:35:21 +01:00
Alexander Wang
405fdbe57f
don't add appendix seperator without appendix 2022-12-31 12:17:05 -08:00
harryjrk
2bff170c6f
rename crow foot to shorter name, add tests 2022-12-31 19:03:40 +01:00
harryjrk
847b712101
add next.MD message, replace falltrough with comma 2022-12-31 19:03:40 +01:00
harryjrk
8891227045
Add the crow feet variants to arrowheads
Introduce new styles for arrowhead:
  - crows-feet-many-required
  - crows-feet-many-optional
  - crows-feet-one-required
  - crows-feet-one-optional
2022-12-31 19:03:39 +01:00
Alexander Wang
e8a897530c
update tests 2022-12-30 21:00:34 -08:00
Alexander Wang
510c10227e
fix bounding boxes 2022-12-30 20:49:49 -08:00
Alexander Wang
8708bceef0
Merge pull request #563 from alixander/layout-configs
Pass layout configs
2022-12-30 14:31:05 -08:00