-
Notifications
You must be signed in to change notification settings - Fork 291
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
feat: use fluentui tokens for theming file and file-list #2044
Conversation
- add specific CSS tokens for file component
- prune tokens from other components.
Thank you for creating a Pull Request @musale. This is a checklist for the PR reviewer(s) to complete before approving and merging this PR:
|
@musale The build is broken, can't use Storybook :( |
updated. Give it a sec 😄 |
The updated storybook is available here |
It's a really good start! I would advise to change the color of the component background in dark as it's the same as the "body" color when in dark. Thoughts? |
@musale Looks great! @sebastienlevert I think that would change the expected experience when moving from light to dark, as the colors are the same in light mode. |
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.
This is fantastic work! Love where this is going
packages/mgt-components/src/components/mgt-file-list/mgt-file-list.ts
Outdated
Show resolved
Hide resolved
packages/mgt-components/src/components/mgt-file-list/mgt-file-list.ts
Outdated
Show resolved
Hide resolved
packages/mgt-components/src/components/mgt-file-list/mgt-file-list.theme.scss
Show resolved
Hide resolved
packages/mgt-components/src/components/mgt-file-list/mgt-file-list.ts
Outdated
Show resolved
Hide resolved
…#2043) * fix: set the search icon on the correct level with the input * fix: update the layout of selected pills
The updated storybook is available here |
1 similar comment
The updated storybook is available here |
- refactor portions of code
The updated storybook is available here |
Use the :focus and :focus-within selectors
@gavinbarron I made the update. During dev, I had gotten rid of the |
The updated storybook is available here |
packages/mgt-components/src/components/mgt-file-list/mgt-file-list.ts
Outdated
Show resolved
Hide resolved
packages/mgt-components/src/components/mgt-file-list/mgt-file-list.ts
Outdated
Show resolved
Hide resolved
Should we remove the background color on |
- Generate new react files
Set the default file item values
The updated storybook is available here |
1 similar comment
The updated storybook is available here |
We should remove the Dark Mode stories |
We have an issue for that #2085 to remove them for all components at once. |
packages/mgt-components/src/components/mgt-file-list/mgt-file-list.ts
Outdated
Show resolved
Hide resolved
The updated storybook is available here |
The updated storybook is available 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.
Great work 🚀
Closes #2074
Closes #2075
PR Type
Description of the changes
PR checklist
yarn build
) and changes have been tested in at least two supported browsers (Edge + non-Chromium based browser)yarn setLicense
)Other information
This PR changes CSS tokens that are currently used. It builds on @gavinbarron work to enable theming #2037. It also removes the use of
class="mgt-dark"
for theming.