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

style(TreeTable): add highlight for rows selected with checkbox #7406

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

KumJungMin
Copy link
Contributor

Defect Fixes


Changes

Before: When selecting a row with a checkbox, the row is not highlighted.

스크린샷 2024-11-11 오후 8 59 46

After: When selecting a row with a checkbox, the row is highlighted.

스크린샷 2024-11-11 오후 8 49 52

Copy link

vercel bot commented Nov 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Updated (UTC)
primereact ⬜️ Ignored (Inspect) Visit Preview Nov 15, 2024 2:30pm
primereact-v9 ⬜️ Ignored (Inspect) Visit Preview Nov 15, 2024 2:30pm

@@ -776,7 +776,7 @@
background: #111827;
width: 22px;
height: 22px;
color: rgba(255, 255, 255, 0.87);
color: #212529;
Copy link
Contributor Author

@KumJungMin KumJungMin Nov 11, 2024

Choose a reason for hiding this comment

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

Question

  • In this PR(#6219), the checkbox color was applied in reverse for dark mode and light mode.
  • Is there a separate repository for styles? If so, which repository should I modify?
    If there isn’t a separate repository, I will make the necessary adjustments in this PR :)

Copy link
Member

@melloware melloware Nov 11, 2024

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

you would make a change to the SCSS and regenerate all the themes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Instead of changing the theme color, I configured the checkboxIcon property to function similarly to the DataTable's checkbox property. :) (b1b99f4)

const checkboxIconProps = mergeProps(
{
className: cx('checkIcon')
},
getColumnPTOptions('rowCheckbox.icon')
);

@KumJungMin KumJungMin changed the title style: add highlight for rows selected with checkbox style(TreeTable): add highlight for rows selected with checkbox Nov 11, 2024
@@ -776,7 +776,7 @@
background: #111827;
width: 22px;
height: 22px;
color: rgba(255, 255, 255, 0.87);
color: #212529;
Copy link
Member

Choose a reason for hiding this comment

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

you would make a change to the SCSS and regenerate all the themes.

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.

TreeTable: selected rows are not highlighted
2 participants