Commit Graph

24 Commits

Author SHA1 Message Date
817ec35b02
bahaghari/lib: add floor and ceil for math subset
Even though they're already available from the builtins, we still want
the library subset to feel consistent.
2024-05-30 14:42:29 +08:00
14049db2e4
bahaghari/lib: add more functions to math subset 2024-05-29 22:56:33 +08:00
c15ec954c0
bahaghari/lib: init colors.rgb subset 2024-05-21 20:42:08 +08:00
f882c30209
bahaghari/lib: add isNumber and scale 2024-05-21 20:27:12 +08:00
3e3dbcfbbe
bahaghari/tests/lib: add more test cases for hex subset 2024-05-21 20:23:35 +08:00
66b35ea2c6
bahaghari: update library arguments
It makes it confusing sometimes. Not worth keeping the design.
2024-03-02 18:10:21 +08:00
b25ed0989d
bahaghari/lib: update Tinted Theming subset 2024-03-02 18:00:40 +08:00
9d122c32c0
bahaghari/lib: update percentage
Also reordered the arguments to make it more "functional".
2024-03-02 17:18:15 +08:00
fc2f27eea8
bahaghari/lib: add clamp 2024-03-02 12:58:48 +08:00
0b7b3ffd7d
bahaghari/lib: add grow' and isWithinRange
Also updated the order of the arguments to make it more usable in
functional programming paradigm or whatever.
2024-03-02 12:54:59 +08:00
878dddea77
bahaghari/lib: init math subset
In preparation for implementing the colorspace library subset.
2024-02-29 22:06:33 +08:00
e5083302b2
bahaghari: reformat codebase 2024-02-29 16:12:21 +08:00
b84d07ac0c
bahaghari/lib: update hex subset with generateBaseDigitType 2024-02-28 18:43:20 +08:00
29d4bb657a
bahaghari/lib: init generateBaseDigitType 2024-02-28 18:39:00 +08:00
103988226b
bahaghari/lib: add pow and generateConversionTable 2024-02-28 10:43:37 +08:00
15a43cd1e5
chore: reformat codebase 2024-02-25 18:20:13 +08:00
126fececf3
bahaghari/tests: fix 2024-02-25 17:22:53 +08:00
df345c8b51
bahaghari/tests/lib: add tests for tinted-theming subset 2024-02-25 17:12:49 +08:00
9a7314f28c
bahaghari/tests/lib: update hex unit tests 2024-02-24 21:39:59 +08:00
8cb22268af
bahaghari/lib: init hex.pad 2024-02-24 21:36:51 +08:00
fe4f1d1ae9
bahaghari/lib: init isHexString 2024-02-24 21:34:03 +08:00
b7ac964082
bahaghari/tests/lib: init hex subset 2024-02-24 19:09:28 +08:00
e8bdb850bc
bahaghari/lib: init generateGlyphSet 2024-02-24 18:59:25 +08:00
d0f57db0aa
bahaghari/tests/lib: init 2024-02-24 18:48:07 +08:00