-
Notifications
You must be signed in to change notification settings - Fork 86
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: striped tables #489
feat: striped tables #489
Conversation
I also noticed some empty rulesets in some of the CSS files. |
Thank you @Lalaluka! I'm checking this out and testing it today, looks perfect at first look. For the variable name, here is the convention I drafted some time ago but didn't make it in the docs:
Based on this, I would name it |
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.
I left some comments, the variable name and something minor.
Thank you very much for updating the hbs template and the visual tests!
packages/storybook-vue/stories/3_components/table/Table.stories.mdx
Outdated
Show resolved
Hide resolved
packages/storybook-vue/stories/3_components/table/Table.stories.mdx
Outdated
Show resolved
Hide resolved
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.
π
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.
π
Good work. I would like to thank both of you. :) |
* main: (56 commits) feat: striped tables (#489) test(visual): update snapshots (#494) Revert "docs(storybook): separate header from shell" (#493) docs(storybook): app-shell and app-header distinction (#471) build: build project build: build test: adapt snapshot refactor: functions refactor: simplify setIconPositionProp() refactor: format; lint fix: also allow customized icons refactor: make functions more robust refactor: adapt snapshots; format; lint feat: add media query for high contrast feat: storybook aria-translation feat: accessibility story toggle group fix: colorScheme default value feat: change translation features feat: add accessibility story to toggle-button feat: aria translation ...
Hi π§βπ»,
Here is the Implementation of #483
I added the prop
striped
to the tables adapting the naming of Bootstrap.It colors every second Row with grey 0. And can be changed through the css-variable:
--background-secondary-tbody
I'm not that happy with the Variable name (just changed it again) would --background-striped better?
Also added to Visual Tests, Storybook and Sketch Library :)
Another thing the Screenshot from @Kaawo also had vertical borders. Those are also not present in the Table implementation atm