mistercrunch commented on code in PR #34253:
URL: https://github.com/apache/superset/pull/34253#discussion_r2223744583


##########
superset-frontend/packages/superset-ui-core/src/components/Button/index.tsx:
##########
@@ -134,6 +133,11 @@ export function Button(props: ButtonProps) {
         '& > span > :first-of-type': {
           marginRight: firstChildMargin,
         },
+        ':not(:hover)': effectiveButtonStyle === 'secondary' && {
+          // Increase contrast for secondary buttons
+          backgroundColor: 
`${tinycolor(theme.colorPrimaryBg).darken(2).toHexString()} !important`,

Review Comment:
   ideally here we use `colorPrimary.*` instead of darken/lighten



-- 
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: [email protected]

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