Skip to content

Commit d721c11

Browse files
committed
Add theming example
1 parent 3a7445e commit d721c11

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

server/documents/usage/theming.html.eco

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ type : 'Usage'
4141
Lead By Example
4242
</h2>
4343
<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>
44+
<h4>Recreating GitHub</h4>
45+
<p>Semantic UI includes an <a target="_blank" href="http://semantic-org.github.io/example-github/">example project</a> 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>To get started click <b>the paint can</b> icon next to the notification button in the top right</p>
4648

4749
<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>
4850

@@ -54,9 +56,15 @@ type : 'Usage'
5456
<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>
5557
<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>
5658
</div>
57-
58-
<a target="_blank" href="https://github.com/Semantic-Org/example-github" class="ui button">View Example</a>
59+
<a target="_blank" href="http://semantic-org.github.io/example-github/" class="ui primary right labeled icon button">
60+
<i class="external link icon"></i>
61+
View Theming Demo
62+
</a>
5963
</div>
64+
65+
<h2 class="ui dividing header">
66+
Using Themes
67+
</h2>
6068
<div class="no example">
6169
<h4>Sitewide Defaults</h4>
6270

0 commit comments

Comments
 (0)