Skip to content

Commit

Permalink
fix: typo (surfaceContainerHight -> surfaceContainerHigh)
Browse files Browse the repository at this point in the history
  • Loading branch information
pchmn committed Jul 11, 2023
1 parent 56bd781 commit 1a64d09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ExpoMaterial3Theme.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export type Material3Scheme = SystemScheme & {
surfaceContainer: string;
surfaceContainerLow: string;
surfaceContainerLowest: string;
surfaceContainerHight: string;
surfaceContainerHigh: string;
surfaceContainerHighest: string;
surfaceBright: string;
surfaceDim: string;
Expand Down
2 changes: 1 addition & 1 deletion src/utils/createMaterial3Theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function generateMissingFields(scheme: SystemScheme, palettes: Palettes, colorSc
surfaceContainer: color(palettes.neutral.tone(colorScheme === 'dark' ? 12 : 94)).hex(),
surfaceContainerLow: color(palettes.neutral.tone(colorScheme === 'dark' ? 10 : 96)).hex(),
surfaceContainerLowest: color(palettes.neutral.tone(colorScheme === 'dark' ? 4 : 100)).hex(),
surfaceContainerHight: color(palettes.neutral.tone(colorScheme === 'dark' ? 17 : 92)).hex(),
surfaceContainerHigh: color(palettes.neutral.tone(colorScheme === 'dark' ? 17 : 92)).hex(),
surfaceContainerHighest: color(palettes.neutral.tone(colorScheme === 'dark' ? 22 : 90)).hex(),
surfaceBright: color(palettes.neutral.tone(colorScheme === 'dark' ? 24 : 98)).hex(),
surfaceDim: color(palettes.neutral.tone(colorScheme === 'dark' ? 6 : 87)).hex(),
Expand Down

0 comments on commit 1a64d09

Please sign in to comment.