Add semantic colours to showcase

This commit is contained in:
brabli
2026-05-08 12:48:45 +01:00
parent a89f687c00
commit e711a295c2
+4 -1
View File
@@ -11,6 +11,9 @@
colors: { colors: {
accent: '#7c3aed', accent: '#7c3aed',
primary: '#0f172a', primary: '#0f172a',
danger: '#cc0000',
warning: '#df5010',
success: '#00d00a',
}, },
fontSize: { fontSize: {
'2xs': ['0.625rem', '0.875rem'], '2xs': ['0.625rem', '0.875rem'],
@@ -28,7 +31,7 @@
<h2 class="text-lg font-semibold mb-3">Solid</h2> <h2 class="text-lg font-semibold mb-3">Solid</h2>
<div class="flex flex-wrap gap-2"> <div class="flex flex-wrap gap-2">
{% for colour in colours %} {% for colour in colours %}
<twig:Pcm:Badge colour="{{ colour }}">{{ colour }}</twig:Pcm:Badge> <twig:Pcm:Badge colour="{{ colour }}" :label="colour" />
{% endfor %} {% endfor %}
</div> </div>
</section> </section>