Skip to content

Commit

Permalink
add coverage to demo-theme helper for spacing, fill and outline CSS c…
Browse files Browse the repository at this point in the history
…omponent props
  • Loading branch information
jcfranco committed Jul 10, 2024
1 parent 0233757 commit 48a2665
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 @@ -56,10 +56,10 @@ export class DemoTheme extends HTMLElement {
updateTheme(newValue: string): void {
if (typeof newValue === "string") {
const textIconColorRegex = new RegExp(/(text|icon)-color/);
const backgroundBorderRegex = new RegExp(/(background|border)-color/);
const backgroundBorderRegex = new RegExp(/(background|border|fill|outline)-color/);
const cornerRegex = new RegExp(/corner-radius/);
const zIndexRegex = new RegExp(/z-index/);
const spaceRegex = new RegExp(/space/);
const spaceRegex = new RegExp(/spac(e|ing)/);
const shadowRegex = new RegExp(/shadow(-color)*/);

const theme = {};
Expand Down

0 comments on commit 48a2665

Please sign in to comment.