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

Extracting CSS code snippets #8

Open
piatra opened this issue Jul 3, 2013 · 1 comment
Open

Extracting CSS code snippets #8

piatra opened this issue Jul 3, 2013 · 1 comment

Comments

@piatra
Copy link
Contributor

piatra commented Jul 3, 2013

I've noticed that the textarea large component does not have the complete CSS associated because the CSS is shared w/ the normal component and the rule is

.topcoat-textarea,
.topcoat-textarea--large

Is it an issue ?

@GarthDB
Copy link
Contributor

GarthDB commented Jul 12, 2013

I think this is an issue, but I'm not sure how to fix it. Right now topdoc just looks for the individual topdoc comments, then it assumes everything in between is the associated css. We could allow for an import of other lines of code, or matching selectors - that would work. Then the snippet produced would include everything that matches that selector (e.g. .topcoat-textarea). We could make it a regex too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants