feat: new feats (button, transition, config)
This commit is contained in:
parent
bd06e3ce77
commit
d737e9355c
@ -4,6 +4,9 @@ const path = require("path");
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
sassOptions: {
|
sassOptions: {
|
||||||
includePaths: [path.join(__dirname, "styles/abstracts")],
|
includePaths: [
|
||||||
|
path.join(__dirname, "styles/abstracts"),
|
||||||
|
path.join(__dirname, "styles/base"),
|
||||||
|
],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint"
|
"lint:next": "next lint",
|
||||||
|
"lint:scss": "npx stylelint \"**/*.scss\" --fix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"next": "12.0.10",
|
"next": "12.0.10",
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
$default-transition: 0.3s ease;
|
||||||
$breakpoints: (
|
$breakpoints: (
|
||||||
small: 320px,
|
small: 320px,
|
||||||
medium: 768px,
|
medium: 768px,
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
@import "variables";
|
||||||
|
|
||||||
%content {
|
%content {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "";
|
content: "";
|
||||||
@ -27,3 +29,11 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%button {
|
||||||
|
outline: none;
|
||||||
|
border: none;
|
||||||
|
background: none;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: $default-transition;
|
||||||
|
}
|
||||||
|
@ -7,3 +7,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*,
|
||||||
|
*::after,
|
||||||
|
*::before {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user