Skip to content
Snippets Groups Projects
Commit 1fdb886d authored by Planoetscher Daniel (Student Com20)'s avatar Planoetscher Daniel (Student Com20)
Browse files

new version of sass installed

parent 4daa7f35
No related branches found
No related tags found
1 merge request!2WIP: Using react
...@@ -15,11 +15,11 @@ ...@@ -15,11 +15,11 @@
"@types/react": "^16.9.53", "@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8", "@types/react-dom": "^16.9.8",
"@types/react-router-dom": "^5.1.7", "@types/react-router-dom": "^5.1.7",
"node-sass": "^5.0.0",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"react-scripts": "4.0.3", "react-scripts": "4.0.3",
"sass": "^1.32.8",
"typescript": "^4.0.3", "typescript": "^4.0.3",
"web-vitals": "^0.2.4", "web-vitals": "^0.2.4",
"workbox-background-sync": "^5.1.3", "workbox-background-sync": "^5.1.3",
......
@import 'settings.scss'; @use 'settings.scss';
@use 'mixins.scss';
html { html {
scroll-behavior: smooth; scroll-behavior: smooth;
} }
body { body {
color: $body-color; color: settings.$body-color;
} @include mixins.breakpoint(large) {
\ No newline at end of file color: black;
}
}
@import 'functions.scss'; @use 'functions.scss';
@import 'settings.scss'; @use 'settings.scss';
@mixin breakpoint($bp) { @mixin breakpoint($bp) {
@media screen and (min-width: getFrom($breakpoints, $bp)) { @media screen and (min-width: functions.getFrom(settings.$breakpoints, $bp)) {
@content; @content;
} }
} }
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment