mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
add a style guide section, add existing colors
This commit is contained in:
parent
5207aedf80
commit
beb38babd9
11 changed files with 180 additions and 5 deletions
19
_includes/component.html
Normal file
19
_includes/component.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<article class="component">
|
||||
<header class="component__header">
|
||||
<h3 id="guide-{{ entry.title | slugify }}">{{ entry.title }}</h3>
|
||||
{% if entry.usage %}<p><strong>Usage:</strong> {{ entry.usage }}</p>{% endif %}
|
||||
</header>
|
||||
|
||||
<div class="component__content">
|
||||
<div class="component__rendered">
|
||||
{{ entry.content }}
|
||||
</div>
|
||||
<div class="component__code">
|
||||
|
||||
{% highlight html %}
|
||||
{{ entry.content }}
|
||||
{% endhighlight %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue