Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions guidelines/components/file-input/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ _File input design specifications_
| :---------------------------- | :-------------------------- | :-------------------------- | :------------ |
| `dropBorderColor` | Drag and drop area | `color-black` | #000000 |
| `fileItemBorderColor` | File item | `color-grey-300` | #cccccc |
| `fileItemIconColor` | File item | `color-black` | #000000 |
| `deleteFileItemColor` | File item | `color-black` | #000000 |
| `fileNameFontColor` | File name | `color-black` | #000000 |
| `filePreviewBackgroundColor` | File preview | `color-color-grey-100` | #f2f2f2 |
| `filePreviewIconColor` | File preview icon | `color-black` | #000000 |
Expand All @@ -123,19 +123,21 @@ _File input design specifications_

| Component token | Element | Core token | Value |
| :-------------------------------------- | :-------------------------- | :-------------------------- | :------------ |
| `disabledLabelFontColor` | Label:disabled | `color-grey-500` | #999999 |
| `disabledHelperTextFontColor` | Helper text:disabled | `color-grey-500` | #999999 |
| `disabledDropLabelFontColor` | Drop label:disabled | `color-grey-500` | #999999 |
| `focusDropBorderColor` | Dnd border:focus | `color-blue-600` | #0095ff |
| `disabledDropBorderColor` | Dnd border:disabled | `color-grey-500` | #999999 |
| `dragoverDropBackgroundColor` | Dnd fill:dragover | `color-blue-50` | #f5fbff |
| `hoverFileItemIconBackgroundColor` | File item icon:hover | `color-grey-100` | #f2f2f2 |
| `focusFileItemIconBackgroundColor` | File item icon:focus | `color-blue-600` | #0095ff |
| `activeFileItemIconBackgroundColor` | File item icon:active | `color-grey-300` | #cccccc |
| `errorFileItemBorderColor` | File item container:error | `color-red-700` | #d0011b |
| `errorFileItemBackgroundColor` | File item container:error | `color-red-50` | #fff5f6 |
| `errorFilePreviewBackgroundColor` | File item preview:error | `color-red-200` | #ffccd3 |
| `errorMessageFontColor` | File item:error | `color-red-700` | #d0011b |
| `disabledLabelFontColor` | Label:disabled | `color-grey-500` | #999999 |
| `disabledHelperTextFontColor` | Helper text:disabled | `color-grey-500` | #999999 |
| `disabledDropLabelFontColor` | Drop label:disabled | `color-grey-500` | #999999 |
| `focusDropBorderColor` | Dnd border:focus | `color-blue-600` | #0095ff |
| `disabledDropBorderColor` | Dnd border:disabled | `color-grey-500` | #999999 |
| `dragoverDropBackgroundColor` | Dnd fill:dragover | `color-blue-50` | #f5fbff |
| `hoverDeleteFileItemBackgroundColor` | File item icon:hover | `color-grey-a-100` | #0000000d |
| `focusDeleteFileItemBackgroundColor` | File item icon:focus | `color-blue-600` | #0095ff |
| `activeDeleteFileItemBackgroundColor` | File item icon:active | `color-grey-a-300` | #00000033 |
| `errorFileItemBorderColor` | File item container:error | `color-red-700` | #d0011b |
| `errorFileItemBackgroundColor` | File item container:error | `color-red-50` | #fff5f6 |
| `errorFilePreviewBackgroundColor` | File item preview:error | `color-red-200` | #ffccd3 |
| `errorMessageFontColor` | File item:error | `color-red-700` | #d0011b |




### Typography
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const FileInputSpecsPage = () => {
</tr>
<tr>
<td>
<Code>fileItemIconColor</Code>
<Code>deleteFileItemColor</Code>
</td>
<td>File item</td>
<td>
Expand Down Expand Up @@ -287,17 +287,17 @@ const FileInputSpecsPage = () => {
</tr>
<tr>
<td>
<Code>hoverFileItemIconBackgroundColor</Code>
<Code>hoverDeleteFileItemBackgroundColor</Code>
</td>
<td>File item icon:hover</td>
<td>
<Code>color-grey-100</Code>
<Code>color-grey-a-100</Code>
</td>
<td>#f2f2f2</td>
<td>#0000000d</td>
</tr>
<tr>
<td>
<Code>focusFileItemIconBackgroundColor</Code>
<Code>focusDeleteFileItemBackgroundColor</Code>
</td>
<td>File item icon:focus</td>
<td>
Expand All @@ -307,13 +307,13 @@ const FileInputSpecsPage = () => {
</tr>
<tr>
<td>
<Code>activeFileItemIconBackgroundColor</Code>
<Code>activeDeleteFileItemBackgroundColor</Code>
</td>
<td>File item icon:active</td>
<td>
<Code>color-grey-300</Code>
<Code>color-grey-a-300</Code>
</td>
<td>#cccccc</td>
<td>#00000033</td>
</tr>
<tr>
<td>
Expand Down