Commit 231d346 1 parent 4f1c6de commit 231d346 Copy full SHA for 231d346
File tree 1 file changed +4
-13
lines changed
packages/spindle-ui/src/ButtonSwitch
1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 37
37
38
38
- Surface Tertiary (背景色)
39
39
- Text Medium Emphasis (テキスト色)
40
- - Surface Quaternary (ホバー時の背景色)
40
+ - Hover Neutral Button (ホバー時の背景色)
41
41
- Surface Accent Primary (選択時の背景色)
42
42
- Text High Emphasis Inverse (選択時のテキスト色)
43
+ - Hover Contained Button (ホバー時かつ選択時の背景色)
43
44
- Border Row Empasis (中央のボーダー色)
44
45
45
46
### プロパティ
@@ -61,20 +62,10 @@ type Props = {
61
62
62
63
``` html
63
64
<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" >
70
66
選択肢1
71
67
</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" >
78
69
選択肢2
79
70
</button >
80
71
</div >
You can’t perform that action at this time.
0 commit comments