Skip to content

Commit 180f347

Browse files
authored
Merge pull request #573 from dxc-technology/component-slider
Fixes on slider specs
2 parents c75e3f2 + 81ab4a2 commit 180f347

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed
-25 Bytes
Binary file not shown.

guidelines/components/slider/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ _Slider component different states example_
4040
2. Total line
4141
3. Ceil label _(Optional)_
4242
4. Value input _(Optional)_
43-
5. Tick mark
43+
5. Tick
4444
6. Thumb
4545
7. Track line
4646

@@ -71,12 +71,12 @@ _Slider Specifications_
7171
| `thumbBackgroundColor` | Thumb | `color-blue-800` | #0067b3 |
7272
| `hoverThumbBackgroundColor` | Thumb:hover | `color-blue-900` | #003c66 |
7373
| `focusThumbBackgroundColor` | Thumb:focus | `color-blue-800` | #0067b3 |
74-
| `activeThumbBackgroundColor` | Thumb:active | `color-blue-900` | #999999 |
75-
| `disabledThumbBackgroundColor` | Thumb:disabled | `color-grey-500` | #bfbfbf |
76-
| `tickMarkBackgroundColor` | Tick Mark | `color-blue-800` | #0067b3 |
77-
| `disabledTickMarkBackgroundColor` | Tick Mark:disabled | `color-grey-500` | #999999 |
74+
| `activeThumbBackgroundColor` | Thumb:active | `color-blue-900` | #003c66 |
75+
| `disabledThumbBackgroundColor` | Thumb:disabled | `color-grey-500` | #999999 |
76+
| `tickMarkBackgroundColor` | Tick | `color-blue-800` | #0067b3 |
77+
| `disabledTickMarkBackgroundColor` | Tick:disabled | `color-grey-500` | #999999 |
7878
| `trackLineColor` | Track line | `color-blue-800` | #0067b3 |
79-
| `disabledTrackLineColor` | Track line:disabled | `color-blue-100` | #e6f4ff |
79+
| `disabledTrackLineColor` | Track line:disabled | `color-blue-500` | #999999 |
8080
| `totalLineColor` | Total line | `color-grey-200` | #e6e6e6 |
8181
| `disabledTotalLineColor` | Total line:disabled | `color-grey-100` | #f2f2f2 |
8282
| `focusColor` | Focus indicator | `color-blue-600` | #0095ff |
@@ -111,10 +111,10 @@ _Slider Specifications_
111111
| `width` | Thumb | - | 12px |
112112
| `height` | Thumb:hover* | - | 14px |
113113
| `width` | Thumb:hover | - | 14px |
114-
| `height` | Tick mark | - | 4px |
115-
| `width` | Tick mark | - | 4px |
114+
| `height` | Tick | - | 4px |
115+
| `width` | Tick | - | 4px |
116116

117-
[*] The thumb element size is 16x16px in the following states: `:hover`, and `:active`.
117+
[*] The thumb element size is 14x14px in the following states: `:hover`, and `:active`.
118118

119119
### Border
120120

@@ -126,9 +126,9 @@ _Slider Specifications_
126126
| `border-width` | Thumb | `border-width-0` | 0 |
127127
| `border-style` | Thumb | `border-style-none` | none |
128128
| `border-radius` | Thumb | `border-radius-full` | 9999px |
129-
| `border-width` | Focus indicator | `border-width-2` | 2px |
130-
| `border-style` | Focus indicator | `border-style-solid` | solid |
131-
| `border-radius` | Focus indicator | `border-radius-full` | 9999px |
129+
| `outline` | Focus indicator | - | auto 1px |
130+
| `outline-offset` | Focus indicator | - | 2px |
131+
132132

133133
## Accessibility
134134

-224 Bytes
Loading
0 Bytes
Loading

0 commit comments

Comments
 (0)