You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/05/24 01:10:30 UTC

[GitHub] [superset] stephenLYZ commented on a diff in pull request #20086: fix(css): transparent linear gradient not working in safari

stephenLYZ commented on code in PR #20086:
URL: https://github.com/apache/superset/pull/20086#discussion_r879973624


##########
superset-frontend/packages/superset-ui-core/src/style/index.tsx:
##########
@@ -160,6 +160,7 @@ const defaultTheme = {
   },
   transitionTiming: 0.3,
   gridUnit: 4,
+  transparent: 'rgba(255, 255, 255, 0)',

Review Comment:
   Yeah. The way I've come up with is to convert the theme hex color to rgba via an external method, such as `emotion-rgba`:
   
   ```
   rgba(theme.colors.grayscale.light5, 0)
   ```
   
   



-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org