Skip to content

Commit 3a7445e

Browse files
committed
Update theming guide
1 parent cb95851 commit 3a7445e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

server/documents/usage/theming.html.eco

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,23 @@ type : 'Usage'
4040
<h2 class="ui dividing header">
4141
Lead By Example
4242
</h2>
43+
<div class="no example">
44+
<h4>Retheming GitHub</h4>
45+
<p>Semantic UI includes an example project designed to showcase theming. This project includes examples of creating a packaged theme, using component css overrides, and managing your themes with <code>theme.config</code>.</p>
46+
47+
<p>The example project includes two html files, <code>index.html</code> is designed to swap themes using a sidebar, and uses precompiled css. <code>static.html</code> uses files outputted by Semantic UI and can be used alongside our <a href="/introduction/build-tools.html">gulp pipeline</a> to try modifying themes hands on.</p>
48+
49+
<p>Some special things to note:</p>
50+
51+
<div class="ui large bulleted list">
52+
<div class="item"><a target="_blank" href="https://github.com/Semantic-Org/example-github/blob/master/semantic/src/themes/github/globals/site.variables">Using site.variables</a> to modify page container sizes, default fonts, and colors</div>
53+
<div class="item"><a target="_blank" href="https://github.com/Semantic-Org/example-github/blob/master/semantic/src/themes/github/collections/menu.overrides">Using overrides</a> with variables to add GitHub's specially formatted tab style</div>
54+
<div class="item">Combining multiple individual component themes together in one <a target="_blank" href="https://github.com/Semantic-Org/example-github/blob/master/semantic/src/theme.config">theme.config</a></div>
55+
<div class="item">Using a <a target="_blank" href="https://github.com/Semantic-Org/example-github/blob/master/semantic/src/themes/github/elements/icon.overrides">custom icon font</a>, and <a target="_blank" href="https://github.com/Semantic-Org/example-github/blob/master/semantic/src/themes/github/elements/icon.variables">modifying paths</a> to assets.</div>
56+
</div>
57+
58+
<a target="_blank" href="https://github.com/Semantic-Org/example-github" class="ui button">View Example</a>
59+
</div>
4360
<div class="no example">
4461
<h4>Sitewide Defaults</h4>
4562

0 commit comments

Comments
 (0)