Skip to content

Feature Request: Ability to load default scss partials #1536

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

Closed
dcavanagh opened this issue Aug 3, 2016 · 5 comments
Closed

Feature Request: Ability to load default scss partials #1536

dcavanagh opened this issue Aug 3, 2016 · 5 comments
Labels
feature Issue that requests a new feature P5 The team acknowledges the request but does not plan to address it, it remains open for discussion

Comments

@dcavanagh
Copy link

I would like to be able to load an scss file that contains default variables for the entire app.

Like color pallet for example.

@vultix
Copy link

vultix commented Aug 9, 2016

I agree, I also feel this would be a useful feature.

@filipesilva filipesilva added feature Issue that requests a new feature P5 The team acknowledges the request but does not plan to address it, it remains open for discussion labels Aug 16, 2016
@ValeryVS
Copy link
Contributor

It works now. At least with master branch at fa7a927
I have src/styles/_variables.sass
And able to import it from
src/app/my-module/my-component.component.sass
with
@import ../../styles/variables

@filipesilva
Copy link
Contributor

#4003 adds something similar, where you can say a certain path is part of sass/stylus paths, and then you only need to do @import variables.

@rossanmol
Copy link

rossanmol commented Jun 16, 2017

@filipesilva This does not work with angular universal (ngc & aot)

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature Issue that requests a new feature P5 The team acknowledges the request but does not plan to address it, it remains open for discussion
Projects
None yet
Development

No branches or pull requests

5 participants