I love this sub-theme, THANK YOU!
Just a couple of missing variables in the variables.scss file that is causing the themes to error out when compiling. Obviously the Variables import needs to be able to override Bootstrap so it needs to remain at the top. I have added just a couple of basic variables from bootstrap so that it wouldn't error out when compiling.
Added $gray-900, $orange (for when someone uncomments the other colors ).
Removed $gray-lighter for $gray-100.
Removed the background color in the style.scss override so it doesn't confuse people out of the gate.
In regards to the SCSS conflict structure.
- I do agree that maybe the structure should be looked at, but I get why its there. Its of an example of how you can override your stuff and allows you to setup your own structure.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3126964-9.patch | 636 bytes | nishamukta |
| #9 | diff-3126964-9.txt | 1.77 KB | nishamukta |
Comments
Comment #2
kclarkson commentedComment #3
introfini commented#2 fixes all the compilation issues. Thanks.
Comment #4
vistree commentedGood morning @kclarkson,
thanx for your fix. I am wondering - why aren't those variables taken from /themes/custom/custom_theme/node_modules/bootstrap/scss/_variables.scss
Is this because of the presence of a custom varialbes.scss? I thought that only variables that exist in both files will be overwritten by the one included later ...
Comment #5
nishamukta commentedi have also added patch for this which was stopping for compiling @vistree these variable aren't taken from
/themes/custom/custom_theme/node_modules/bootstrap/scss/_variables.scsssince this file is included below variables in import.css of current themeComment #6
kclarkson commented@nshall11,
please review my patch before posting yours I am not seeing any difference.
Comment #7
nishamukta commented@kclarkson i am adding the difference in these files between yours and mine. i specifically added patch for only those error which we was getting during compiling.
Comment #8
kaurg commented@nisha11 Can you please add only 1 correct patch.
Comment #9
nishamukta commentedadded patch and diff file which is difference of other patch. please review
Comment #10
kaurg commentedPatch is working correctly
Comment #12
hatuhay commented