Commit Graph

56 Commits

Author SHA1 Message Date
brabli 2a7230298e Add label attribute 2025-02-26 10:41:07 +00:00
brabli ebc73e1b24 Update docblock 2025-02-26 09:55:28 +00:00
brabli 6883382420 Pass in attributes to badge template 2025-02-26 09:49:21 +00:00
brabli fc9161b2d8 Autoformat 2025-02-26 09:49:10 +00:00
brabli 623fc60af2 Replace makefile with justfile 2025-02-26 09:47:03 +00:00
brabli 38e4c814e0 Add changelog 0.1.1 2024-09-18 16:28:44 +01:00
brabli e35251b790 Fix black badge text colour 2024-09-18 16:28:33 +01:00
brabli 13d27ece00 Work on readme 0.1.0 2024-08-09 10:42:40 +01:00
bg 4842472dbc Remove config test file 2024-08-08 17:09:43 +01:00
bg c09ee1c53d Change empty string to null 2024-08-08 17:01:18 +01:00
bg e6b027c166 Update docblock 2024-08-08 16:59:41 +01:00
bg 203ece5985 Adjust error message, shorten parameter name 2024-08-08 16:50:35 +01:00
bg 3522415659 Adjust error message, swap classes in conditional around 2024-08-08 16:49:16 +01:00
bg 977a7d65a6 Only allow either colour or object, add outline parameter 2024-08-08 16:45:07 +01:00
bg fd9c946c94 Remove badge bundle 2024-08-08 16:44:37 +01:00
bg 7799670262 Remove badge bundle 2024-08-08 16:44:32 +01:00
bg bb6fe43cfe Remove property, update error message 2024-08-08 16:01:48 +01:00
bg e6daf6d6b2 Throw if no instance or colour is provided 2024-08-08 15:58:27 +01:00
bg 4d110418fa Use correct class 2024-08-08 15:53:45 +01:00
bg 8aa714a380 Maybe have colour override working 2024-08-08 15:52:45 +01:00
bg face976cd0 Fix type error 2024-08-08 15:37:07 +01:00
bg 694e8a1a8c Test adding colour parameter to override object colour 2024-08-08 15:34:25 +01:00
bg cfd85be32b Add text center to default base classes 2024-08-08 15:28:14 +01:00
bg f7de14da41 Import class 2024-08-08 15:20:14 +01:00
bg fca6f807c9 Try different config arrangement 2024-08-08 15:17:30 +01:00
bg 5180048980 Configure badge outline args 2024-08-08 15:16:28 +01:00
bg 8ae419bc59 Register BadgeOutline 2024-08-08 15:14:10 +01:00
bg 7da28adf6c Add badge outline 2024-08-08 15:11:49 +01:00
bg 255d76daa3 Move template location 2024-08-08 15:11:39 +01:00
bg ab9502f1a0 Remove hardcoded base classes 2024-08-08 15:07:11 +01:00
bg 846f20a3ab Import config definition 2024-08-08 15:00:34 +01:00
bg c51affda94 Try pass in config as an arg 2024-08-08 14:58:59 +01:00
bg adb81e634e Add constructor 2024-08-08 14:58:38 +01:00
bg 1021b62f35 Make service private 2024-08-08 14:58:28 +01:00
bg def65b0017 Define basic config 2024-08-08 14:58:20 +01:00
bg b5a13455fd Use Tailwind merger 2024-08-08 14:49:11 +01:00
bg 940b3fec00 Install Tailwind merger 2024-08-08 14:49:05 +01:00
bg ff8f7b9f79 Work on badge logic 2024-08-08 14:35:07 +01:00
bg 36f3267fc6 Add actual badge classes to bundle 2024-08-08 14:15:09 +01:00
bg 8d85e6fa44 Update template to test 2024-08-08 12:48:02 +01:00
bg 73a2837d6e Add property to test 2024-08-08 12:47:55 +01:00
bg 4c234b3ec3 Remove explicit bundle config, re add template path, specify new name for badge component 2024-08-08 12:44:10 +01:00
bg 193a8c4899 Test removing template path 2024-08-08 12:40:11 +01:00
bg c3d4793eae Explicitly set name 2024-08-08 12:37:37 +01:00
bg 3ceb508921 Tag badge component 2024-08-08 12:33:55 +01:00
bg 70bc58b67f Fix directory name 2024-08-08 12:11:47 +01:00
bg b01a9531fe Change template 2024-08-08 12:05:24 +01:00
bg bdfceeeb02 Update template prefix 2024-08-08 11:52:30 +01:00
bg 9031a1bb91 Move file 2024-08-08 11:49:59 +01:00
bg 2613db4bd5 Add config 2024-08-08 11:35:43 +01:00