136 Commits

Author SHA1 Message Date
Laurenz
25b5bd1175 Fully untyped model 2023-03-07 15:17:13 +01:00
Laurenz
6ab7760822 Split up model module 2023-03-01 16:33:28 +01:00
Laurenz
e218226655 Merge some modules 2022-10-17 20:04:22 +02:00
Laurenz
fc574b3945 New Str type with methods 2022-07-26 23:27:44 +02:00
Laurenz
ef866b0cd1 Move casting into separate module 2022-07-26 23:16:03 +02:00
Laurenz
7a6c2cce77 Make radius configuration unconfusing 2022-06-14 17:17:54 +02:00
Laurenz
c81e2a5f56 Many fixes 2022-06-14 13:53:02 +02:00
Laurenz
ccb4753e24 Find optionally takes function instead of value 2022-05-30 10:33:51 +02:00
Laurenz
a9869c212f Locatable groups 2022-05-26 13:49:44 +02:00
Martin Haug
99cb655832 Intra-document links 2022-05-27 12:56:20 +02:00
Laurenz
64f8f981c2 Fix Cast implementation of LayoutNode 2022-05-12 11:42:09 +02:00
Laurenz
1927cc86da Set, show, wrap in code blocks 2022-05-09 00:03:57 +02:00
Laurenz
bfaf5447a7 Cast content from string 2022-05-06 10:05:11 +02:00
Laurenz
e674fd7e90 New raw theme & nicer debug representation 2022-05-04 22:14:57 +02:00
Laurenz
507c5fc925 Text replacement show rules 2022-05-04 00:14:31 +02:00
Laurenz
d59109e8ff Support recursive show rules 2022-05-03 15:58:15 +02:00
Martin Haug
9b4397cdab Tests for the new shape API 2022-05-02 18:25:53 +02:00
Martin Haug
7b6f3a0ab9 A new Cast implementation for Sides
Reinstate circle
2022-05-02 16:35:11 +02:00
Laurenz
f9e115daf5 New block spacing model 2022-04-30 14:12:28 +02:00
Laurenz
8fbb11fc05 Extract model module 2022-04-24 15:47:42 +02:00
Laurenz
e4ee14e54f Extract methods into separate module 2022-04-24 15:27:06 +02:00
Laurenz
29eb13ca62 Sum color and length into stroke 2022-04-09 12:02:35 +02:00
Laurenz
712c00ecb7 Em units 2022-04-08 15:45:14 +02:00
Laurenz
e1d7edb7c1 Property resolving 2022-04-08 14:48:02 +02:00
Laurenz
4bb6240b40 Make Relative generic 2022-04-07 18:04:29 +02:00
Laurenz
1192132dc0 Rename length-related types
`Fractional` => `Fraction`
`Relative` => `Ratio`
`Linear` => `Relative`
2022-04-07 16:19:51 +02:00
Laurenz
3d52387eea Rework style chains 2022-04-07 11:07:00 +02:00
Laurenz
23d108c8e0 Font fallback 2022-04-03 13:55:58 +02:00
Laurenz
beca01c826 Methods 2022-03-18 23:43:58 +01:00
Laurenz
288a926fea Knuth-Plass and MicroType 2022-03-14 20:52:32 +01:00
Laurenz
2890a156d2 Remove classes and improve naming 2022-03-12 14:24:24 +01:00
Laurenz
5ac7eb3860 Rename template to content 2022-03-11 23:36:06 +01:00
Laurenz
5ce2a006b6 Consistent block naming 2022-03-11 12:22:27 +01:00
Laurenz
2bf32c51bc Remove layout cache 2022-02-22 12:42:02 +01:00
Laurenz
e01970b20a Basic show rules 2022-02-18 16:57:53 +01:00
Laurenz
261f387535 Accept closures for heading styling 2022-02-17 18:12:13 +01:00
Laurenz
3d965ae6a4 Change default parameter of Cast 2022-02-17 14:31:02 +01:00
Laurenz
91e45458e3 Make values hashable 2022-02-17 12:50:54 +01:00
Laurenz
c7a9bac992 Better debug implementations for numeric types 2022-02-17 12:14:50 +01:00
Laurenz
624471db61 Proper error messages for shorthands 2022-02-10 10:29:17 +01:00
Laurenz
e089b6ea40 Set rules for everything 2022-02-09 12:34:19 +01:00
Laurenz
a7b403fd74 Rename Node to Template 2022-02-02 16:02:23 +01:00
Laurenz
6a6753cb69 Better function representation 2022-02-01 12:26:13 +01:00
Laurenz
20b1a38414 Switch from Rc to Arc 2022-01-31 16:47:00 +01:00
Laurenz
24d513d891 Enable for loop over captured args 2022-01-29 21:36:25 +01:00
Laurenz
e74ae6ce70 Make all nodes into classes 2022-01-08 00:20:48 +01:00
Laurenz
2a3d0f4b39 Set Rules Episode VII: The Set Awakens 2021-12-15 20:27:41 +01:00
Laurenz
ae38be9097 Set Rules Episode IV: A New Fold 2021-12-15 11:11:57 +01:00
Laurenz
fe21c4d399 Set Rules Episode III: Revenge of the packer 2021-12-09 13:42:52 +01:00
Laurenz
26bdc1f0f6 Set Rules Episode I: The Phantom Style 2021-12-05 12:54:03 +01:00