Skip to content

Commit

Permalink
chore(demo-theme): change text to textColor
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonailea committed Jul 9, 2024
1 parent 49e36d3 commit 7ce3142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/calcite-components/src/demos/_assets/demo-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const defaultTheme = {
shadowColor: "black",
shadowValues: "0 1px 2px 0 1",
space: "24px",
text: "green",
textColor: "green",
zIndex: "9999",
};

Expand Down Expand Up @@ -57,7 +57,7 @@ export class DemoTheme extends HTMLElement {
tokensList.forEach((token) => {
let value = "";
if (textIconColorRegex.test(token)) {
value = this._theme.text;
value = this._theme.textColor;
} else if (backgroundBorderRegex.test(token)) {
value = this._theme.background;
} else if (shadowRegex.test(token)) {
Expand Down

0 comments on commit 7ce3142

Please sign in to comment.