mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
fix(console): align the preview background color with the ui page (#2641)
This commit is contained in:
parent
6441a38c13
commit
9e08808569
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ const Preview = ({ signInExperience, className }: Props) => {
|
||||||
style={conditional(
|
style={conditional(
|
||||||
platform === 'desktopWeb' && {
|
platform === 'desktopWeb' && {
|
||||||
// Set background color to match iframe's background color on both dark and light mode.
|
// Set background color to match iframe's background color on both dark and light mode.
|
||||||
backgroundColor: mode === AppearanceMode.DarkMode ? '#2A2C31' : '#e5e1ec',
|
backgroundColor: mode === AppearanceMode.DarkMode ? '#000' : '#e5e1ec',
|
||||||
}
|
}
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue