This repository has been archived by the owner on Sep 11, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
I can't manage to import a global scss file for the whole project #1173
Comments
This works for me
With * { background-color: black; } And @import './components/default'; Makes every background black. |
@piu130 I tried it already, it doesn't work for me... why? What could I have possibly done wrong?! Agh. |
Are you trying to override some bootstrap-style imported on line #7 in If not could you post your |
I wanted to create global rules for input fields, some borders etc, nothing
big. I do not have the file anymore.
…On Fri, Feb 17, 2017 at 4:13 PM, Ramon Boss ***@***.***> wrote:
Are you trying to override some bootstrap-style
<https://getbootstrap.com/> imported on line #7
<https://github.com/davezuko/react-redux-starter-kit/blob/master/src/index.html#L7>
in index.html. Or some normalize-style imported on line #2
<https://github.com/davezuko/react-redux-starter-kit/blob/master/src/styles/core.scss#L2>
in core.scss?
If not could you post your _default.scss content?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1173 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVrwrHPUrqqhuX-xHE8aA-T_QGl6xILCks5rdVa4gaJpZM4MBRjY>
.
|
Just released a bunch of changes: https://github.com/davezuko/react-redux-starter-kit/releases/tag/v3.0.0. I recommend putting your global styles in |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to import a
_default.scss
file from_base
to have default rules that should be applied to the whole project I'm building, but I can't make it work. No errors nor anything is shown.I have the following
styles
folder structure:And I tried the following in
_base.scss
:@import './components/_default.scss'
,@import './components/_default'
and@import './components/default
.I have cloned it without picking up any version and I haven't made any alteration but these.
The text was updated successfully, but these errors were encountered: