-
Notifications
You must be signed in to change notification settings - Fork 105
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(tabs): add styling to tabs #833
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Ankita Sahu <[email protected]>
@SAHU-01 can you share some screenshot how does it look? |
Thanks for this feedback, @sudhanshutech |
Signed-off-by: Ankita Sahu <[email protected]>
src/theme/components/tab.modifier.ts
Outdated
styleOverrides: { | ||
root: ({ theme }) => ({ | ||
backgroundColor: 'transparent', | ||
color: theme.palette.text.primary, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we not have any token to use it in here?
color: theme.palette.text.primary, | ||
'&.Mui-selected': { | ||
backgroundColor: 'transparent', | ||
color: theme.palette.mode === 'dark' ? GRAY : GRAY |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I've set it to none. I couldn't find a token that makes it transparent so I updated it to 'none'.
Signed-off-by: Ankita Sahu <[email protected]>
Signed-off-by: Ankita Sahu <[email protected]>
Signed-off-by: Ankita Sahu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SAHU-01 don't use hard code colors names like gray or white instead use tokens
Notes for Reviewers
This PR adds styling to sistent tabs.
Signed commits