Skip to content

Commit

Permalink
chore: apply correct labels
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Dec 15, 2024
1 parent 47c3550 commit d8a0a6b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/VibrantColors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ const VibrantColors = ({img}: VibrantColorsProps) => {

return (
<div className={styles.colors}>
<button className={styles.swatch} style={{"--bg-color": colors.DarkMuted ?? "", "--color": getLightOrDark(colors.DarkMuted)}}>Placeholder</button>
<button className={styles.swatch} style={{"--bg-color": colors.DarkVibrant ?? "", "--color": getLightOrDark(colors.DarkVibrant)}}>Placeholder</button>
<button className={styles.swatch} style={{"--bg-color": colors.LightMuted ?? "", "--color": getLightOrDark(colors.LightMuted)}}>Placeholder</button>
<button className={styles.swatch} style={{"--bg-color": colors.LightVibrant ?? "", "--color": getLightOrDark(colors.LightVibrant)}}>Placeholder</button>
<button className={styles.swatch} style={{"--bg-color": colors.Muted ?? "", "--color": getLightOrDark(colors.Muted)}}>Placeholder</button>
<button className={styles.swatch} style={{"--bg-color": colors.Vibrant ?? "", "--color": getLightOrDark(colors.Vibrant)}}>Placeholder</button>
<p className={styles.swatch} style={{"--bg-color": colors.Vibrant ?? "", "--color": getLightOrDark(colors.Vibrant)}}>Vibrant</p>

Check failure on line 50 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Object literal may only specify known properties, and '"--bg-color"' does not exist in type 'Properties<string | number, string & {}>'.

Check failure on line 50 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Argument of type 'string | null' is not assignable to parameter of type 'string'.
<p className={styles.swatch} style={{"--bg-color": colors.DarkVibrant ?? "", "--color": getLightOrDark(colors.DarkVibrant)}}>Dark Vibrant</p>

Check failure on line 51 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Object literal may only specify known properties, and '"--bg-color"' does not exist in type 'Properties<string | number, string & {}>'.

Check failure on line 51 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Argument of type 'string | null' is not assignable to parameter of type 'string'.
<p className={styles.swatch} style={{"--bg-color": colors.LightVibrant ?? "", "--color": getLightOrDark(colors.LightVibrant)}}>Light Vibrant</p>

Check failure on line 52 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Object literal may only specify known properties, and '"--bg-color"' does not exist in type 'Properties<string | number, string & {}>'.

Check failure on line 52 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Argument of type 'string | null' is not assignable to parameter of type 'string'.
<p className={styles.swatch} style={{"--bg-color": colors.Muted ?? "", "--color": getLightOrDark(colors.Muted)}}>Muted</p>

Check failure on line 53 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Object literal may only specify known properties, and '"--bg-color"' does not exist in type 'Properties<string | number, string & {}>'.

Check failure on line 53 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Argument of type 'string | null' is not assignable to parameter of type 'string'.
<p className={styles.swatch} style={{"--bg-color": colors.DarkMuted ?? "", "--color": getLightOrDark(colors.DarkMuted)}}>Dark Muted</p>

Check failure on line 54 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Object literal may only specify known properties, and '"--bg-color"' does not exist in type 'Properties<string | number, string & {}>'.

Check failure on line 54 in src/VibrantColors.tsx

View workflow job for this annotation

GitHub Actions / deploy-docs

Argument of type 'string | null' is not assignable to parameter of type 'string'.
<p className={styles.swatch} style={{"--bg-color": colors.LightMuted ?? "", "--color": getLightOrDark(colors.LightMuted)}}>Light Muted</p>
</div>
)
}
Expand Down

0 comments on commit d8a0a6b

Please sign in to comment.