Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created a temporary background transparent blue color for checkboxes #8363

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lucasbordeau
Copy link
Contributor

Created a temporary background transparent blue color for checkboxes

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

Added transparent blue background colors for checkbox hover states in both light and dark themes, with different opacities to maintain visual consistency across modes.

  • Modified hover background in packages/twenty-ui/src/input/components/Checkbox.tsx to use theme.background.transparent.blue instead of theme.color.blue10
  • Added transparent blue with 0.2 opacity in dark theme (BackgroundDark.ts) and 0.08 opacity in light theme (BackgroundLight.ts)
  • Implemented different opacity values (0.2 vs 0.08) to account for contrast differences between dark and light modes

3 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

@@ -22,6 +22,7 @@ export const BACKGROUND_DARK = {
light: RGBA(GRAY_SCALE.gray0, 0.06),
lighter: RGBA(GRAY_SCALE.gray0, 0.03),
danger: RGBA(COLOR.red, 0.08),
blue: RGBA(COLOR.blue, 0.2),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Blue transparency (0.2) is significantly higher than light theme (0.08). Consider matching for consistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant