Commit Graph

62 Commits

Author SHA1 Message Date
brabli f6f3c64f25 Rename badge enum to badgecolour 2025-02-26 11:36:29 +00:00
brabli b7a3f273a3 Organise colours alphabetically, add NAVY colour 2025-02-26 11:33:58 +00:00
brabli 03e2e39185 Update changelog 2025-02-26 11:33:43 +00:00
brabli 9141e21a02 Update readme 2025-02-26 10:59:42 +00:00
brabli b25bbfd33c Set label property 2025-02-26 10:46:04 +00:00
brabli eebd38d17f Update changelog 2025-02-26 10:41:14 +00:00
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