Skip to content

Commit a75526b

Browse files
committed
[Toolkit] Prepare registry
1 parent 384e116 commit a75526b

File tree

9 files changed

+42
-0
lines changed

9 files changed

+42
-0
lines changed

src/Toolkit/bin/build-registry.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env php
2+
<?php
3+
4+
// ...
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<twig:Button variant="outline">
2+
3+
</twig:Button>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<button {{ attributes.without('class') }}
2+
class="{{ (' ' ~ attributes.render('class'))|tailwind_merge }}"
3+
>
4+
{% block content %}Button{% endblock %}
5+
</button>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div {{ attributes.without('class') }}
2+
class="{{ (' ' ~ attributes.render('class'))|tailwind_merge }}"
3+
>
4+
{% block content %}Button{% endblock %}
5+
</div>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<button {{ attributes.without('class') }}
2+
class="{{ (' ' ~ attributes.render('class'))|tailwind_merge }}"
3+
>
4+
{% block content %}Button{% endblock %}
5+
</button>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div {{ attributes.without('class') }}
2+
class="{{ (' ' ~ attributes.render('class'))|tailwind_merge }}"
3+
>
4+
{% block content %}{% endblock %}
5+
</div>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<nav {{ attributes.without('class') }}
2+
class="{{ (' ' ~ attributes.render('class'))|tailwind_merge }}"
3+
>
4+
{% block content %}{% endblock %}
5+
</nav>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<table {{ attributes.without('class') }}
2+
class="{{ (' ' ~ attributes.render('class'))|tailwind_merge }}"
3+
>
4+
{% block content %}{% endblock %}
5+
</table>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<tr {{ attributes.without('class') }}
2+
class="{{ (' ' ~ attributes.render('class'))|tailwind_merge }}"
3+
>
4+
{% block content %}Button{% endblock %}
5+
</tr>

0 commit comments

Comments
 (0)