rusackas commented on a change in pull request #14139:
URL: https://github.com/apache/superset/pull/14139#discussion_r614585534



##########
File path: superset-frontend/src/components/Card/index.tsx
##########
@@ -17,23 +17,24 @@
  * under the License.
  */
 import React from 'react';
-import { styled } from '@superset-ui/core';
+import { SupersetTheme } from '@superset-ui/core';

Review comment:
       I don't like using the SupersetTheme directly like this... we can 
`useTheme` if you're set on the `css` method, but I want to maintain support 
for the `theme` provided by the `ThemeProvider` which effectively 
mutates/overrides the `SupersetTheme`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to