When attempting to define a custom variable for a filter using themes, the css variable is created correctly but you cannot use the stitches variable in your code. It does not work
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
The calendar icon in the input box should be white when using the dark theme and black when using the light theme.
The snippet below provides the expected behaviour using css variables:
Bug report
Describe the bug
When attempting to define a custom variable for a filter using themes, the css variable is created correctly but you cannot use the stitches variable in your code. It does not work
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Link to sandbox: https://codesandbox.io/s/spring-meadow-5rxzd?file=/src/App.js
Expected behavior
The calendar icon in the input box should be white when using the dark theme and black when using the light theme. The snippet below provides the expected behaviour using css variables:
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.