You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: docs/content/content-themes.html
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ <h2>Theming the content area</h2>
33
33
</code>
34
34
35
35
<h2>Theming collapsible blocks</h2>
36
-
<p>To set the color of the collapsible header, add the <code>data-theme</code> attribute to the collapsible container. The icon and body are not currently themable through data attributes, but can be styled directly with custom css.</p>
36
+
<p>To set the color of the collapsible header, add the <code>data-theme</code> attribute to the collapsible container. The icons can be set with the <code>data-collapsed-icon</code> attribute for the collapsed state and the <code>data-expanded-icon</code> attribute for the expanded state of a collapsible. The body is themable through the data attribute <code>data-content-theme</code>.</p>
@@ -109,6 +109,19 @@ <h3>I'm a themed collapsible with a themed content</h3>
109
109
<p>I have <code> data-content-theme</code> attribute set manually on my container to set the color to match the content block I'm in. </p>
110
110
</div>
111
111
</div><!-- /themed container -->
112
+
<p>Swatch <strong>"b"</strong> on content & collapsible, using different icons</p>
113
+
<divclass="ui-body ui-body-b">
114
+
<h1>H1 Heading</h1>
115
+
<p>This is a paragraph that contains <strong>strong</strong>, <em>emphasized</em> and <ahref="index.html">linked</a> text. Here is more text so you can see how HTML markup works in content. Here is more text so you can see how HTML markup works in content.</p>
0 commit comments