Skip to content

Commit

Permalink
fix: use renamed aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
lazd authored and GarthDB committed Jun 17, 2021
1 parent e604447 commit 91f6c04
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion components/assetlist/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ governing permissions and limitations under the License.
background-color: var(--spectrum-millercolumn-item-background-color-hover);
&::before {
/* we cannot achieve rounded corners with outline so we use box-shadow instead */
box-shadow: 0px 0px 0px 2px var(--spectrum-alias-border-color-focus) inset;
box-shadow: 0px 0px 0px 2px var(--spectrum-alias-border-color-key-focus) inset;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/site/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ governing permissions and limitations under the License.
}

.spectrum-CSSExample-oldAPI {
color: var(--spectrum-semantic-negative-color-text-small);
color: var(--spectrum-semantic-negative-text-color-small);
}

.spectrum-CodeBlock {
Expand Down
8 changes: 4 additions & 4 deletions components/table/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ governing permissions and limitations under the License.
background-color: var(--spectrum-table-background-color);

&.is-drop-target {
border-color: var(--spectrum-alias-border-color-focus);
box-shadow: 0 0 0 1px var(--spectrum-alias-border-color-focus);
border-color: var(--spectrum-alias-border-color-key-focus);
box-shadow: 0 0 0 1px var(--spectrum-alias-border-color-key-focus);

&::before {
background-color: var(--spectrum-alias-highlight-selected);
Expand Down Expand Up @@ -134,7 +134,7 @@ tbody.spectrum-Table-body {

&.is-drop-target {
&::before {
box-shadow: inset 0 0 0 2px var(--spectrum-alias-border-color-focus);
box-shadow: inset 0 0 0 2px var(--spectrum-alias-border-color-key-focus);
background-color: var(--spectrum-alias-highlight-selected);
}
}
Expand All @@ -160,7 +160,7 @@ tbody.spectrum-Table-body {
border-color: transparent;

&::before {
box-shadow: inset 0 0 0 2px var(--spectrum-alias-border-color-focus);
box-shadow: inset 0 0 0 2px var(--spectrum-alias-border-color-key-focus);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/textfield/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ governing permissions and limitations under the License.

.spectrum-Textfield {
/* todo: remove with DNA updated */
--spectrum-textfield-m-texticon-validation-icon-color-valid: var(--spectrum-semantic-positive-color-icon);
--spectrum-textfield-m-texticon-validation-icon-color-valid: var(--spectrum-semantic-positive-icon-color);
}

.spectrum-Textfield {
Expand Down
2 changes: 1 addition & 1 deletion components/thumbnail/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ governing permissions and limitations under the License.
--spectrum-thumbnail-border-size-focus: var(--spectrum-alias-border-size-thick);

--spectrum-thumbnail-border-color: var(--spectrum-alias-dropshadow-color);
--spectrum-thumbnail-border-color-focus: var(--spectrum-alias-border-color-focus);
--spectrum-thumbnail-border-color-focus: var(--spectrum-alias-border-color-key-focus);
--spectrum-thumbnail-border-color-selected: var(--spectrum-global-color-blue-500);
}

Expand Down
2 changes: 1 addition & 1 deletion components/treeview/skin.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ governing permissions and limitations under the License.
--spectrum-treeview-item-icon-color: var(--spectrum-alias-icon-color);
--spectrum-treeview-item-icon-color-hover: var(--spectrum-alias-icon-color-hover);
/*--spectrum-treeview-item-icon-color-down: var(--spectrum-alias-icon-color-down);*/ /* not used */
--spectrum-treeview-item-icon-color-focus: var(--spectrum-alias-icon-color-focus);
--spectrum-treeview-item-icon-color-focus: var(--spectrum-alias-icon-color-key-focus);
--spectrum-treeview-item-icon-color-selected: var(--spectrum-alias-icon-color-selected-neutral);
--spectrum-treeview-item-icon-color-disabled: var(--spectrum-alias-icon-color-disabled);

Expand Down

0 comments on commit 91f6c04

Please sign in to comment.