Commit graph

125 commits

Author SHA1 Message Date
Vojtěch Fošnár
af2be1232f
resolved conflicts, updated tests 2023-01-27 22:30:44 +01:00
Vojtěch Fošnár
462bd1e23d
resolve conflicts 2023-01-27 21:08:01 +01:00
OneRain2333
c0821de872 rebase and bug fix 2023-01-24 17:29:38 +08:00
OneRain2333
ca08c8937d update constant 2023-01-24 16:25:29 +08:00
OneRain2333
21b84a3908 Use constant to define offset of double-bordered shape 2023-01-24 16:24:32 +08:00
OneRain2333
9302a14e02 fix typo 2023-01-24 16:24:32 +08:00
OneRain2333
9a1fed3077 update d2svg.go 2023-01-24 16:24:26 +08:00
OneRain2333
9a070a52f9 Add double bordered rect, oval, square 2023-01-24 16:21:25 +08:00
OneRain2333
344718dad3 Remove double circle shape 2023-01-24 16:21:25 +08:00
OneRain2333
9575c768dc Make to be a style attribute and remove shape 2023-01-24 16:21:25 +08:00
OneRain2333
c75e540840 update renderDoubleOval function 2023-01-24 16:21:25 +08:00
OneRain2333
a64d87eb61 Implement the sketch of double circle 2023-01-24 16:21:25 +08:00
OneRain2333
8bb86250fb Add double circle shape 2023-01-24 16:21:25 +08:00
Alexander Wang
a1bebb8b23
Merge pull request #634 from Paracelsus-Rose/master
d2renderer: #579 Circle Arrowhead
2023-01-19 17:56:36 -08:00
Alexander Wang
2966d393ae
fix bounding box for multiple 2023-01-19 12:39:12 -08:00
Alexander Wang
2d17947a44
account for 3d offset in bounding box 2023-01-19 11:51:30 -08:00
Paracelsus-Rose
fd43527da0
Merge branch 'master' of github.com:terrastruct/d2 into terrastruct-master 2023-01-19 14:38:24 -05:00
Paracelsus-Rose
100927e7dc
Seems right. Thanks Gavin. 2023-01-19 14:19:29 -05:00
Alexander Wang
74b54f3f8a
update 2023-01-19 00:52:10 -08:00
Alexander Wang
d832fdd6af
fix 2023-01-19 00:46:30 -08:00
Alexander Wang
7651aedb8c
fix opacity for labels 2023-01-19 00:26:00 -08:00
Vojtěch Fošnár
0803d129a2
updated sketch test, fixed improper arrowhead rendering, made markdown background transparent 2023-01-16 22:19:19 +01:00
Vojtěch Fošnár
cfdf59b6b6
arrowheads respect background color in sketch mode 2023-01-16 15:15:01 +01:00
Vojtěch Fošnár
49291e2734
fix animations 2023-01-16 12:15:59 +01:00
Vojtěch Fošnár
66dc978418
resolved merge conflict 2023-01-15 21:36:43 +01:00
Paracelsus-Rose
3b90f3502d
Numbers copied from TS but not working 2023-01-15 14:55:12 -05:00
Paracelsus-Rose
5cfc71f271
Tried making values equal to TS project. 2023-01-15 01:36:58 -05:00
Gavin Nishizawa
005ceec44f
refactor source/target adjustment and pass to sketch arrowheads 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
af2a032a9e
render sketch arrowheads separately 2023-01-13 18:13:28 -08:00
Alexander Wang
b9c4678302
tooltip 2023-01-13 08:16:18 -08: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
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
63a0c1e2b1
vary sketch overlay color depending on the background and small refactoring 2023-01-11 22:18:14 +01:00
Paracelsus-Rose
75c0dee349
Circles Rendering closer to border. Still not perfect. 2023-01-10 19:16:02 -05:00
Paracelsus-Rose
f21226bfa7
Removed Offset and refactored 2023-01-10 15:30:20 -05:00
Paracelsus-Rose
fc15982b93
Requested Changes 2023-01-10 12:48:54 -05:00
Paracelsus-Rose
d46ce55c2f
Update d2svg.go 2023-01-10 12:08:26 -05:00
Vojtěch Fošnár
3160f88e5c
removed useless TODOs 2023-01-10 11:34:42 +01:00
Paracelsus-Rose
2c59b1c163
Formatting 2023-01-09 23:48:26 -05:00
Paracelsus-Rose
b0d3b9d3fd
Init 2023-01-09 22:44:45 -05: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