52 Commits

Author SHA1 Message Date
1d91b50c32 Set is_safe html to true 2023-06-27 11:33:38 +01:00
9248b51908 Try explicitly loading arguments 2023-06-27 11:30:19 +01:00
abfff194f5 Merge default options into user options 2023-06-27 10:32:08 +01:00
6cf1deb136 Pass in default array 2023-06-27 10:30:20 +01:00
173c08b0d0 Use constants for default values 2023-06-27 10:27:28 +01:00
e97ef857ef Further refactoring 2023-06-27 10:03:22 +01:00
dbd4ccb35d Further refactoring 2023-06-27 10:01:35 +01:00
4142c24e00 Extract method 2023-06-27 09:55:42 +01:00
8b698bb3fd Use references to edit string in place 2023-06-27 09:51:26 +01:00
3b6a85c3b3 Remove stroke current color 2023-06-27 09:36:32 +01:00
f9e35368c0 Add return docblock type 2023-06-27 09:19:33 +01:00
6d63e2f29b Add comment 2023-06-27 09:15:13 +01:00
brabli
7b76f8f01f Add commented out code for future work 2023-06-26 21:48:08 +01:00
brabli
4ce873d15c Move braces to newline 2023-06-26 21:47:46 +01:00
brabli
fdab83bd28 Add config to set default values 2023-06-26 21:30:55 +01:00
brabli
e3d3818b10 Inline method call 2023-06-26 21:30:41 +01:00
brabli
90a354f822 Change function to be pcm_icon instead of icon 2023-06-26 21:30:07 +01:00
Brabli
6ad58d9cfc Change method name 2023-05-31 12:19:55 +01:00
Brabli
850ba765a2 Add constant, adjust text 2023-05-31 11:56:46 +01:00
Brabli
493f0c275b Split extension into extension and runtime classes to match how the maker bundle creates twig extensions 2023-05-31 11:51:36 +01:00
Brabli
08d906260a Move exceptions to own folder 2023-05-31 11:50:32 +01:00
Brabli
b2e76dd1b3 Remove validation from extension class 2023-05-31 11:38:51 +01:00
Brabli
eec11801b0 Fix config tree issues 2023-05-31 11:38:32 +01:00
Brabli
633e4a284e Replace 'palletes' with 'colours' which is a bit more intuitive and is also spelt correctly. 2023-05-30 17:18:33 +01:00
2b1c7b9c12 Remove directory arg checks, add braces where missing on conditionals 2023-05-25 14:16:38 +01:00
e7c0465fdb Add validation to directory key 2023-05-25 14:13:03 +01:00
Brabli
87a6204f25 Add 'classes' option to add extra classes 2023-01-03 10:58:16 +00:00
Brabli
9195df9028 Refactoring 2022-08-31 12:13:59 +01:00
Brabli
03212310fd Throw exception if option is not recognised 2022-08-29 23:32:12 +01:00
Brabli
b28a6f69f9 Make sure required keys exist in pallete arrays 2022-08-29 23:17:00 +01:00
Brabli
a4344687d4 Add cursor pointer class on hover 2022-08-29 20:29:04 +01:00
Brabli
7a3366c2da Add group hover 2022-08-29 20:12:55 +01:00
Brabli
78a321137e Get hover colours added 2022-08-29 20:08:27 +01:00
Brabli
5e3756773e Get tests passing 2022-08-29 20:01:39 +01:00
Brabli
6553d0d32f Change method name 2022-08-29 19:43:18 +01:00
Brabli
e12eceed26 Adjust comment spacing 2022-08-29 19:41:54 +01:00
Brabli
27dfa0af2e Test for black fill and stroke style removal 2022-08-29 19:31:27 +01:00
Brabli
562f841fd3 Add colour classes 2022-08-14 22:09:12 +01:00
Brabli
10c252ea6d Test for palletes not existing 2022-08-14 21:37:19 +01:00
Brabli
2ac5d686bb Stuff 2022-08-14 21:12:32 +01:00
Brabli
c75369e0fa Remove fill and stroke attributes where their value was black 2022-08-14 19:41:31 +01:00
Brabli
9a95804f3c Validate args 2022-08-14 18:53:20 +01:00
Brabli
55c61558c7 Adjust tests to bit boot kernel 2022-08-14 18:31:32 +01:00
Brabli
a668ed2b84 Changes 2022-08-14 17:52:03 +01:00
Brabli
6ef7d16c07 Formatting 2022-08-14 16:02:24 +01:00
Brabli
8149b9494d Sort of get config to work 2022-08-14 15:16:00 +01:00
Brabli
03b705cf5f Test size 2022-08-06 20:00:00 +01:00
Brabli
d833ae95de Remove uses, rename method 2022-08-06 17:25:24 +01:00
Brabli
a0522a6700 Start writing unit tests 2022-07-24 17:13:11 +01:00
Brabli
b5b51132f3 Add start of IconExtension class 2022-07-23 19:53:26 +01:00