Skip to content

Commit

Permalink
remove color
Browse files Browse the repository at this point in the history
  • Loading branch information
ryotaro612 committed Feb 26, 2025
1 parent 51b6e44 commit 5e7e208
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 60 deletions.
25 changes: 0 additions & 25 deletions dist/components/constants/color.css

This file was deleted.

1 change: 0 additions & 1 deletion dist/components/foundation.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import url('./constants/color.css');
@import url('./constants/radius.css');
@import url('./constants/space.css');

Expand Down
2 changes: 1 addition & 1 deletion dist/components/text-field/error-message/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
font-weight: var(--font-weight-normal);
font-size: 14px;
line-height: 21;
color: var(--ui-semantic-text-error);
color: #c92812;
}

.none {
Expand Down
20 changes: 10 additions & 10 deletions dist/components/text-field/x-large/input/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@
width: 100%;
box-sizing: border-box;
min-height: 48px;
background: var(--ui-semantic-surface-regular-1);
border: 1px solid var(--ui-semantic-border-semi-strong);
background: #fff;
border: 1px solid #b6b6b6;
border-radius: var(--radius-medium);
padding: var(--spacing-10) var(--spacing-30);
font-weight: var(--font-weight-normal);
font-size: 16px;
line-height: 24;

&::placeholder {
color: var(--ui-semantic-text-placeholder);
color: #0000008a;
}

&[disabled] {
color: var(--ui-semantic-text-semi-weak);
background-color: var(--ui-semantic-surface-disabled);
border-color: var(--border-disabled);
color: #000000ad;
background-color: #0000000d;
border-color: #e5e5e5;

&::placeholder {
color: var(--ui-semantic-text-disabled);
color: #00000059;
}

&:hover {
border-color: var(--border-disabled);
border-color: #e5e5e5;
}
}

&:hover {
border-color: var(--ui-semantic-border-semi-strong-hover);
border-color: #0000008f;
}

&:focus-visible {
Expand All @@ -39,6 +39,6 @@
}

&.error {
border-color: var(--ui-semantic-border-error);
border-color: #db351f;
}
}
18 changes: 0 additions & 18 deletions src/components/constants/color.css

This file was deleted.

1 change: 0 additions & 1 deletion src/components/foundation.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import url('./constants/color.css');
@import url('./constants/radius.css');
@import url('./constants/space.css');

Expand Down
2 changes: 1 addition & 1 deletion src/components/text-field/error-message/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
font-weight: var(--font-weight-normal);
font-size: 14px;
line-height: 21;
color: var(--ui-semantic-text-error);
color: #c92812;
}

.none {
Expand Down
6 changes: 3 additions & 3 deletions src/components/text-field/x-large/input/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
line-height: 24;

&::placeholder {
color: var(--ui-semantic-text-placeholder);
color: #0000008a;
}

&[disabled] {
color: #000000ad;
background-color: #0000000d;
border-color: var(--border-disabled);
border-color: #e5e5e5;

&::placeholder {
color: #00000059;
}

&:hover {
border-color: var(--border-disabled);
border-color: #e5e5e5;
}
}

Expand Down

0 comments on commit 5e7e208

Please sign in to comment.