Skip to content

Commit 231d346

Browse files
committed
feat(spindle-ui): update design-doc of ButtonSwitch
1 parent 4f1c6de commit 231d346

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

packages/spindle-ui/src/ButtonSwitch/design-doc.md

+4-13
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@
3737

3838
- Surface Tertiary (背景色)
3939
- Text Medium Emphasis (テキスト色)
40-
- Surface Quaternary (ホバー時の背景色)
40+
- Hover Neutral Button (ホバー時の背景色)
4141
- Surface Accent Primary (選択時の背景色)
4242
- Text High Emphasis Inverse (選択時のテキスト色)
43+
- Hover Contained Button (ホバー時かつ選択時の背景色)
4344
- Border Row Empasis (中央のボーダー色)
4445

4546
### プロパティ
@@ -61,20 +62,10 @@ type Props = {
6162

6263
```html
6364
<div class="spui-ButtonSwitch" role="group">
64-
<button
65-
type="button"
66-
aria-pressed="true"
67-
class="spui-ButtonSwitch--button"
68-
data-value="option1"
69-
>
65+
<button type="button" aria-pressed="true" class="spui-ButtonSwitch-button">
7066
選択肢1
7167
</button>
72-
<button
73-
type="button"
74-
aria-pressed="false"
75-
class="spui-ButtonSwitch--button"
76-
data-value="option2"
77-
>
68+
<button type="button" aria-pressed="false" class="spui-ButtonSwitch-button">
7869
選択肢2
7970
</button>
8071
</div>

0 commit comments

Comments
 (0)