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

Add scss which is not for variables. #186

Open
hackhackhackhack opened this issue Jul 11, 2016 · 5 comments
Open

Add scss which is not for variables. #186

hackhackhackhack opened this issue Jul 11, 2016 · 5 comments

Comments

@hackhackhackhack
Copy link

Hello. I'm tring to add scss files( like "Styleguide/templates/scss/main.scss" in this repo ).
But I can't find the way.
Does anyone knows solution?
Thanks.

@VaclovasV
Copy link
Contributor

@hackhackhackhack can you provide more details?
What error do you get? What do you want to achieve?

@hackhackhackhack
Copy link
Author

hackhackhackhack commented Jul 11, 2016

@VaclovasV Thanks for your reply.
It is not error. I want to scrape scss file's'.

I can scrape scss file for variables from config.txt. It's perfect.
But I can not find how to scrape another scss file for import, mixin or just style.
like below


another.scss


@import 'core/normalize';
@import 'core/variables';
@import 'core/mixins';

%font-icon-style {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font: {
family: 'FontAwesome';
weight: normal;
style: normal;
}
text-rendering: auto;
}

.row {
@extend .clearfix;
margin: 0 $grid-gutter/-2;
}

.column,
.columns {
box-sizing: border-box;
float: left;
padding: 0 $grid-gutter/2;
}


I just want to scrape this another.scss for styling.
Thanx!

@miezis
Copy link
Contributor

miezis commented Jul 23, 2016

I don't understand your question. What do you want to scrape in that file? You can scrape only variables for typography and colors. What are you trying to achieve by that?

@AshleyJBartlett
Copy link

I think @hackhackhackhack just wants those styles to be available to use when creating the snippets. Is that correct @hackhackhackhack ? If so, then you just need to compile the Sass and then link to you CSS files in the template.html file.

@hackhackhackhack
Copy link
Author

@miezis Thanks for your reply 👍 I thought I want to use sass files to write styles for snipet.

@hackhackhackhack Right! Finally, I could do that with customizing gulp task. Thank you!

&
I'm making a short article about this customization. I'll share it, so wait a bit to close here :)

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

4 participants