-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix/sass functions packages Fixes #9 #12
Conversation
samuel-gomez-axa
commented
Nov 29, 2018
- Add Sass functions, mixins and variable un one core.scss file
- Import it in each packages
- Update the demo to use only .scss files of used toolkit packages
@import '../../../node_modules/bootstrap/scss/_functions.scss'; | ||
@import '../../../node_modules/bootstrap/scss/_mixins.scss'; | ||
@import '../../../node_modules/bootstrap/scss/_variables.scss'; | ||
@import '../../../node_modules/@axa-fr/react-toolkit-core/dist/assets/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job Samuel !
is it possible to set up non relative links?
like "@axa-fr/react-toolkit-core" instead of '../../../node_modules/@axa-fr/react-toolkit-core/'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @guillaumechervetaxa :)
This file is no longer used, i deleted this.
I also had overridable variables scss in my last commit
@@ -1,3 +1,5 @@ | |||
@import '../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"@axa-fr/react-toolkit-core/src/common/scss/core" instead of '../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core' ?
@@ -1,3 +1,5 @@ | |||
@import '../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
@@ -1,3 +1,5 @@ | |||
@import '../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem for all
@@ -1,3 +1,6 @@ | |||
@import '@axa-fr/react-toolkit-core/src/common/scss/core.scss'; | |||
@import '../node_modules/react-datepicker/src/stylesheets/datepicker.scss'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
@@ -1,3 +1,5 @@ | |||
@import '../../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
@@ -1,3 +1,5 @@ | |||
@import '../../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
@@ -1,3 +1,4 @@ | |||
@import '../../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
@@ -1,3 +1,5 @@ | |||
@import '../../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
@@ -1,3 +1,5 @@ | |||
@import '../../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
@@ -1,3 +1,5 @@ | |||
@import '../../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
@@ -1,3 +1,5 @@ | |||
@import '../../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
packages/table/src/Pager/pager.scss
Outdated
@@ -1,3 +1,5 @@ | |||
@import '../../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
@@ -1,3 +1,5 @@ | |||
@import '../../node_modules/@axa-fr/react-toolkit-core/src/common/scss/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too