Skip to content

Commit

Permalink
Better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
roblevintennis committed Sep 16, 2020
1 parent acc0f2c commit 39766c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions showcase/src/partials/Colors.vue
Expand Up @@ -82,9 +82,9 @@
</div>
<pre v-highlightjs><code class="css">
/**
* You should override these by simply defining them in your top-level stylesheet.
* Simply use the same name you see below less the `-default`. For example, to
* override `--agnosticui-default-primary` define `--agnosticui-primary`.
* You should override these by simply defining them less the `-default` in
* your top-level stylesheet. For example, to override `--agnosticui-default-primary`
* simply define `--agnosticui-primary` and that will take precedence.
*
* Under the hood, when AgnosticUI applies one of these it does something like:
* margin-left: var(--agnosticui-primary, var(--agnosticui-default-primary));
Expand All @@ -110,7 +110,7 @@ the override naming convention of removing the `-default` part: */
:root {
--my-even-more-gaudy-primary: hotpink;
--agnosticui-primary: var(--my-even-more-gaudy-primary);
...and so on
/* note the -default part is removed above */
}
</code></pre>
</section>
Expand Down

0 comments on commit 39766c5

Please sign in to comment.