Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comments for elevation level #82

Merged
merged 1 commit into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/blueDarkTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,15 @@ export const MD3BluiDarkTheme = {
inversePrimary: BLUIColors.primary[40],
elevation: {
level0: 'transparent',
// level1 is the same as surfaceContainerLowest in design files
level1: BLUIColors.neutral[4],
// level2 is the same as surfaceContainerLow in design files
level2: BLUIColors.neutral[10],
// level3 is the same as surfaceContainer in design files
level3: BLUIColors.neutral[12],
// level4 is the same as surfaceContainerHigh in design files
level4: BLUIColors.neutral[17],
// level5 is the same as surfaceContainerHighest in design files
level5: BLUIColors.neutral[20],
},
// surfaceDisabled is the same as disabledContainer in design files
Expand Down
5 changes: 5 additions & 0 deletions src/blueTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,15 @@ export const MD3BluiLightTheme = {
inversePrimary: BLUIColors.primary[80],
elevation: {
level0: 'transparent',
// level1 is the same as surfaceContainerLowest in design files
level1: BLUIColors.primary[100],
// level2 is the same as surfaceContainerLow in design files
level2: BLUIColors.neutral[97],
// level3 is the same as surfaceContainer in design files
level3: BLUIColors.neutral[94],
// level4 is the same as surfaceContainerHigh in design files
level4: BLUIColors.neutral[92],
// level5 is the same as surfaceContainerHighest in design files
level5: BLUIColors.neutral[90],
},
// surfaceDisabled is the same as disabledContainer in design files
Expand Down