Skip to content

Commit a55449b

Browse files
authored
docs: Content set and tabs update (#824)
1 parent eb74cb8 commit a55449b

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

elements/pfe-content-set/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,12 @@ in the markup, or the first tab if `selected-index` is not provided.
137137
- default (no extra attributes)
138138
- Accordion: On the heading, there is a caret pointing to the right, on the left edge. When expanded, a border appears around the whole content set and the caret points downward.
139139
- Tabs: A border appears which includes the active tab and excludes the inactive tabs. There is a colored indicator on the active tab, and a monochromatic indicator on the inactive tabs.
140-
- `pfe-variant="primary"`
141-
- Accordion: A tint appears behind every other heading, to achieve a zebra striping pattern across the stack of headings. Carets and borders from the default style still apply.
142-
- Tabs: Borders are removed, only an indicator appears under the active heading.
143-
- `pfe-variant="secondary"`
144-
- Accordion: Headings are on a dark background, text color is reversed.
145-
- Tabs: Headings are encased in a block. The active heading is solid, with a caret pointing downward towards the content. Other headings have a border with no fill.
140+
- `pfe-variant="wind"`
141+
- Accordion: No effect.
142+
- Tabs: Borders are removed, only an accent colored indicator appears under the active heading.
143+
- `pfe-variant="earth"`
144+
- Accordion: No effect.
145+
- Tabs: Headings are encased in a block. The active heading has an accent colored border on one side.
146146
- `vertical`
147147
- Accordion: No effect.
148148
- Tabs: Headings stack on the left, content pane is shown on the right.

elements/pfe-tabs/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Usage
44

5-
```
5+
```html
66
<pfe-tabs>
77
<pfe-tab role="heading" slot="tab">Tab 1</pfe-tab>
88
<pfe-tab-panel role="region" slot="panel">
@@ -38,6 +38,17 @@ Add the heading for your tab here.
3838
Add the content for your tab panel here.
3939

4040
## Attributes
41+
**`pfe-variant`** (observed)
42+
43+
Possible values are:
44+
- `wind`: Borders are removed, only an accent colored indicator appears under the active heading.
45+
- `earth`: Headings are encased in a block. The active heading has an accent colored border on one side.
46+
47+
```html
48+
<pfe-tabs pfe-variant="wind">
49+
...
50+
</pfe-tabs>
51+
```
4152

4253
**`vertical`** (observed)
4354

0 commit comments

Comments
 (0)