Skip to content

Commit cf44e69

Browse files
authored
fix(card): rename misnamed instance of background color mod (#2417)
The custom mod property for the background color was named incorrectly in one of the declarations. It already exists and is used by the rest of the file with the correct name, so this is more of a bug fix than an overall renaming.
1 parent 3a49432 commit cf44e69

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

components/card/index.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,16 @@ governing permissions and limitations under the License.
137137
--highcontrast-card-border-color,
138138
var(--mod-card-border-color, var(--spectrum-card-border-color))
139139
);
140+
/* @deprecation --mod-spectrum-card-background-color has been renamed to
141+
--mod-card-background-color. The fallback will be removed in a future version. */
140142
background-color: var(
141143
--highcontrast-card-background-color,
142144
var(
143-
--mod-spectrum-card-background-color,
144-
var(--spectrum-card-background-color)
145+
--mod-card-background-color,
146+
var(
147+
--mod-spectrum-card-background-color,
148+
var(--spectrum-card-background-color)
149+
)
145150
)
146151
);
147152

0 commit comments

Comments
 (0)