0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

fix(console): align the preview background color with the ui page (#2641)

This commit is contained in:
Xiao Yijun 2022-12-13 13:03:50 +08:00 committed by GitHub
parent 6441a38c13
commit 9e08808569
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,7 +194,7 @@ const Preview = ({ signInExperience, className }: Props) => {
style={conditional(
platform === 'desktopWeb' && {
// 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',
}
)}
>