Styleguide
Styleguide copied to clipboard
Add scss which is not for variables.
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.
@hackhackhackhack can you provide more details? What error do you get? What do you want to achieve?
@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!
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?
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.
@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 :)