We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac0070 commit 6dcaa4bCopy full SHA for 6dcaa4b
packages/client/layoutHelper.ts
@@ -10,7 +10,7 @@ export function resolveAssetUrl(url: string) {
10
}
11
12
export function handleBackground(background?: string, dim = false): CSSProperties {
13
- const isColor = background && background[0] === '#' && background.startsWith('rgb')
+ const isColor = background && (background[0] === '#' || background.startsWith('rgb'))
14
15
const style = {
16
background: isColor
0 commit comments