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

Theme (Header) - update next background #936

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 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
### 📈 Features/Enhancements
- Rename the aliased theme files ([#863](https://github.com/opensearch-project/oui/pull/863))
- Fix `autofill` text color in dark themes ([#871](https://github.com/opensearch-project/oui/pull/871))
- [Header] Update background color in next theme ([#936](https://github.com/opensearch-project/oui/pull/936))
- Set link to use semi bold font weight ([#961](https://github.com/opensearch-project/oui/pull/961))


### 🐛 Bug Fixes

- Fix blurry text in breadcrumbs by avoiding skewing text ([#959](https://github.com/opensearch-project/oui/pull/959))
Expand Down
5 changes: 3 additions & 2 deletions src/themes/oui-next/global_styling/variables/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
*/

// Themeable colors
$ouiHeaderBackgroundColor: $ouiColorEmptyShade !default;
$ouiHeaderDarkBackgroundColor: lightOrDarkTheme(shade($ouiColorDarkestShade, 28%), shade($ouiColorLightestShade, 50%)) !default;
$ouiHeaderBackgroundColor: $ouiPageBackgroundColor !default;
// Always use the dark theme value of $ouiPageBackgroundColor for the dark header background
$ouiHeaderDarkBackgroundColor: #172430 !default;
$ouiHeaderBorderColor: $ouiBorderColor !default;
$ouiHeaderBreadcrumbColor: $ouiColorDarkestShade !default;

Expand Down
Loading