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

Percy examples combination - patterns/tables #5172

Conversation

@jmuzina jmuzina self-assigned this Jun 19, 2024
@webteam-app
Copy link

@jmuzina jmuzina mentioned this pull request Jun 19, 2024
6 tasks
@jmuzina jmuzina marked this pull request as ready for review June 20, 2024 19:31
@jmuzina jmuzina force-pushed the examples-combination-patterns-tables branch from ee5cbc8 to db177d6 Compare June 24, 2024 17:25
@@ -0,0 +1,7 @@
@import '../vanilla';
@include vf-base;
Copy link
Member

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 .

Copy link
Member

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.

@bartaz bartaz merged commit 4b43b14 into canonical:percy-examples-combination Jun 25, 2024
3 of 4 checks passed
@jmuzina jmuzina deleted the examples-combination-patterns-tables branch June 25, 2024 15:46
jmuzina added a commit that referenced this pull request Jun 26, 2024
* 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>
jmuzina added a commit that referenced this pull request Jun 27, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants