Skip to content

Commit 28ff9c1

Browse files
authored
Remove theme property from container object (#1040)
1 parent e112e38 commit 28ff9c1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/polite-rings-taste.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@cloudfour/patterns': patch
3+
---
4+
5+
Remove unnecessary theme prop from container which would conflict with Timber/WordPress prop of same name

src/objects/container/container.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="o-container{% if class %} {{class}}{% endif %}{% if theme %} t-{{theme}}{% endif %}">
1+
<div class="o-container{% if class %} {{class}}{% endif %}">
22
<div class="o-container__content{% if content_class %} {{content_class}}{% endif %}">
33
{% block content %}{% endblock %}
44
</div>

0 commit comments

Comments
 (0)