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

Added 3 new color variants #77

Merged
merged 4 commits into from
Dec 29, 2023
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@brightlayer-ui/react-native-themes",
"author": "Brightlayer UI <[email protected]>",
"license": "BSD-3-Clause",
"version": "7.0.0-alpha.3",
"version": "7.0.0-alpha.4",
"description": "React Native themes for Brightlayer UI applications",
"main": "./dist/index.js",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions src/blueDarkTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,11 @@ export const MD3BluiDarkTheme = {
neutralOutlinedContainerOutline: BLUIColors.neutralVariant[60],
// Text and icons against Neutral outlined container
onNeutralOutlinedContainer: BLUIColors.neutralVariant[70],
// Standout fill text field color against surface
textFieldContainer: Color(BLUIColors.neutral[80]).alpha(0.2).rgb().string(),
// Progress bar track on status color against filled surface
progressBarTrackOnStatusFilledContainer: Color(BLUIColors.primary[0]).alpha(0.25).rgb().string(),
// Text outline color variant
mapTextOutline: Color(BLUIColors.primary[0]).alpha(0.7).rgb().string(),
},
};
6 changes: 6 additions & 0 deletions src/blueTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,11 @@ export const MD3BluiLightTheme = {
neutralOutlinedContainerOutline: BLUIColors.neutralVariant[50],
// Text and icons against Neutral outlined container
onNeutralOutlinedContainer: BLUIColors.neutralVariant[30],
// Standout fill text field color against surface
textFieldContainer: Color(BLUIColors.neutral[80]).alpha(0.4).rgb().string(),
// Progress bar track on status color against filled surface
progressBarTrackOnStatusFilledContainer: Color(BLUIColors.primary[0]).alpha(0.25).rgb().string(),
// Text outline color variant
mapTextOutline: Color(BLUIColors.primary[100]).alpha(0.7).rgb().string(),
},
};
3 changes: 3 additions & 0 deletions src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ export type ExtendedTheme = Omit<MD3Theme, 'colors'> & {
onNeutralShadedContainer: string;
neutralOutlinedContainerOutline: string;
onNeutralOutlinedContainer: string;
textFieldContainer: string;
progressBarTrackOnStatusFilledContainer: string;
mapTextOutline: string;
};
};

Expand Down