Skip to content

Commit b189a73

Browse files
MinThaMiemansona
andauthored
Update docs/concepts/table-of-contents.md
Co-authored-by: Chris Manson <[email protected]>
1 parent add121d commit b189a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/concepts/table-of-contents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Table of Contents
22

33
Instead of providing a component we provide this concept for our table of contents. You can see the concept below.
4-
Every item in the list is either a `toc-heading`, giving it heading styling, or an `toc-item`. The `anchor`-tags wrapped in a `toc-item` will get specific styling. On the main level, not wrapped in a `sub-table-of contents`, they will be the brand-color. When they are wrapped in a `sub-table-of-contents`, they will have an "active" indicator and a hover state, this will also indent them from the main level.
4+
Every item in the list is either a `toc-heading`, giving it heading styling, or an `toc-item`. The `anchor`-tags wrapped in a `toc-item` will get specific styling. On the main level, not wrapped in a `sub-table-of-contents`, they will be the brand-color. When they are wrapped in a `sub-table-of-contents`, they will have an "active" indicator and a hover state, this will also indent them from the main level.
55

66
```html
77
<ul class="table-of-contents">

0 commit comments

Comments
 (0)