Skip to content

Commit

Permalink
Merge branch '568-fix-the-page-title-for-dark-theme' into 'dev'
Browse files Browse the repository at this point in the history
Resolve "Fix the page title for dark theme"

Closes #568

See merge request ergo/rosen-bridge/ui!480
  • Loading branch information
vorujack committed Mar 1, 2025
2 parents 77bd4aa + 171b137 commit f6f00c6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions packages/ui-kit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @rosen-bridge/ui-kit

## 1.9.1

### Patch Changes

- Resolve the issue with the page title in dark theme mode

## 1.9.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@rosen-bridge/ui-kit",
"description": "ui kit for Rosen projects",
"private": true,
"version": "1.9.0",
"version": "1.9.1",
"type": "module",
"files": [
"dist"
Expand Down
4 changes: 2 additions & 2 deletions packages/ui-kit/src/utils/themeOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,12 @@ export const lightThemeOptions: ThemeOptions = {
h1: ({ theme }: { theme: Theme }) =>
theme.palette.mode === 'light'
? {
background: 'linear-gradient(180deg, #28335F 0%, #B15A3F 100%)',
background: `linear-gradient(180deg, ${theme.palette.primary.dark} 0%, ${theme.palette.secondary.dark} 100%)`,
backgroundClip: 'text',
WebkitTextFillColor: 'transparent',
}
: {
color: theme.palette.secondary.light,
color: theme.palette.secondary.dark,
},
body2: ({ theme }: { theme: Theme }) => ({
color: theme.palette.text.secondary,
Expand Down

0 comments on commit f6f00c6

Please sign in to comment.