You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct minor copy and terminology errors in form component documentation. radio.mdx: fix grammar ('as we use pure CSS' instead of 'as we pure CSS') and clarify 'checked radios' instead of 'checked checkboxes'. switch.mdx: clarify wording to describe switches rather than checkboxes for the `.checked-{color}` class.
Copy file name to clipboardExpand all lines: site/src/content/docs/forms/radio.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import { getData } from '@libs/data'
10
10
11
11
## Basic radio
12
12
13
-
Similar to checkboxes, radios are styled with the `.radio` class. However, there's no custom SVG as we pure CSS to style the input and its checked state.
13
+
Similar to checkboxes, radios are styled with the `.radio` class. However, there's no custom SVG as we use pure CSS to style the input and its checked state.
@@ -37,7 +37,7 @@ Add a description or other content after the label. We recommend wrapping the la
37
37
38
38
## Theme colors
39
39
40
-
Modify the appearance of checked checkboxes by adding the `.theme-{color}` class to the `.radio` element. This will set the checked background and border color to the theme color.
40
+
Modify the appearance of checked radios by adding the `.theme-{color}` class to the `.radio` element. This will set the checked background and border color to the theme color.
Copy file name to clipboardExpand all lines: site/src/content/docs/forms/switch.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Wrap the `.switch` in a `.form-field` layout wrapper and add your label. The gri
28
28
29
29
## Theme colors
30
30
31
-
Modify the appearance of checked checkboxes by adding the `.checked-{color}` class to the `.switch` element. This will set the checked background and border color to the theme color.
31
+
Modify the appearance of switches by adding the `.checked-{color}` class to the `.switch` element. This will set the checked background and border color to the theme color.
0 commit comments