-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hey there,
Using Linaria and the code below:
import { css } from '@linaria/core';
import { createVar } from 'css-variable';
const myColor = createVar({ value: 'rebeccapurple' });
export const foo = css`
background-color: ${myColor};
`;I get the following error message:
Argument of type 'CSSVariable' is not assignable to parameter of type 'string | number | CSSProperties | StyledMeta'.
Type 'CSSVariable' is not assignable to type 'CSSProperties'.
Index signature for type 'string' is missing in type 'CSSVariable'.
Metadata
Metadata
Assignees
Labels
No labels