Commit Graph

62 Commits

Author SHA1 Message Date
brabli b994b83fdb Update border colour 2026-04-30 16:35:15 +01:00
brabli 1bd216f4a5 Remove glossy from outline badges 2026-04-30 15:52:20 +01:00
brabli d0a84f135d Remove unneeded service 2026-04-30 15:28:01 +01:00
brabli fd6bf6ad4f Update badge logic 2026-04-30 15:20:24 +01:00
brabli 78afab2450 Update colours 2026-04-30 15:20:16 +01:00
brabli df76af9cdf Create badgeable trait 2026-04-30 14:40:45 +01:00
brabli 25d5441184 Rename sheen to glossy 2026-04-30 14:40:39 +01:00
brabli 93258abd38 Update logic 2026-04-30 12:17:08 +01:00
brabli 1b9751324b Remove conditional 2026-04-29 17:07:00 +01:00
brabli c84f2b0973 Add icon param 2026-04-29 17:05:12 +01:00
brabli 4ecf0f2feb Update method sig 2026-04-29 16:15:18 +01:00
brabli 80d24dc948 Add get badge icon method 2026-04-29 16:09:37 +01:00
brabli 14fd9ca2ec Tweak error message 2025-11-13 16:36:58 +00:00
brabli 93c4dd1e64 Add accent badge colour 2025-11-13 16:34:58 +00:00
brabli bcd97f20a3 Add zinc badge colour 2025-11-13 16:30:11 +00:00
brabli 9c1c0c1ba1 Add new colours 2025-11-13 16:26:35 +00:00
brabli 62e279e0c9 Use new badge colour enum name 2025-02-26 11:36:55 +00:00
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 b25bbfd33c Set label property 2025-02-26 10:46:04 +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 fc9161b2d8 Autoformat 2025-02-26 09:49:10 +00:00
brabli e35251b790 Fix black badge text colour 2024-09-18 16:28:33 +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 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 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 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 b5a13455fd Use Tailwind merger 2024-08-08 14:49:11 +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 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