-
Notifications
You must be signed in to change notification settings - Fork 167
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
Percy examples combination - patterns/tables
#5172
Percy examples combination - patterns/tables
#5172
Conversation
ee5cbc8
to
db177d6
Compare
@@ -0,0 +1,7 @@ | |||
@import '../vanilla'; | |||
@include vf-base; |
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.
Hmm… Do we need to include this? I guess the inidividual standalone stylesheets already do it.
But, if they do, it means that at least base, and table, and possibly others, are included multiple times.
Which can be an issue by itself, as they will override each other .
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 don't have a good suggestion now, open to ideas.
One my idea is to simply create one standalone stylesheet per component, the combined one, and use it in all component examples - individual ones, and the combined one.
This way we will have one source of truth, only including what is needed once.
4b43b14
into
canonical:percy-examples-combination
* patterns/tables * spacing option in example template * rm combined.scss (superseded by rem spacing) * Standalone stylesheet made more clean * combine table standalone styles --------- Co-authored-by: Bartek Szopka <83575+bartaz@users.noreply.github.com>
* patterns/tables * spacing option in example template * rm combined.scss (superseded by rem spacing) * Standalone stylesheet made more clean * combine table standalone styles --------- Co-authored-by: Bartek Szopka <83575+bartaz@users.noreply.github.com>
Combines
patterns/tables
examplesQA