Skip to content

Commit 6c274fe

Browse files
committed
build(scemantic)!: 23
1 parent 877701f commit 6c274fe

File tree

4 files changed

+2348
-2943
lines changed

4 files changed

+2348
-2943
lines changed

.vscode/terminals.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"autorun": true,
3+
"autokill": true,
4+
"terminals": [
5+
{
6+
"name": "Scss Opinionated",
7+
"description": "Scss Opinionated",
8+
"icon": "vm",
9+
"command": "npm run publish",
10+
"open": true,
11+
"execute": false
12+
}
13+
]
14+
}

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Source: https://uxdesign.cc/ui-cheat-sheet-spacing-friendships-e37a6fccc407
7171
### Width
7272
Similar as bootstrap
7373

74-
```css
74+
```scss
7575
:root {
7676
@media (min-width: 576px) and (max-width: 768px) {
7777
--container-max-width: 540px;
@@ -98,6 +98,28 @@ Similar as bootstrap
9898
}
9999
```
100100

101+
## Mixins
102+
### Grid
103+
```scss
104+
@include sm, md, lg, xl , xxl { };
105+
@include smUp, mdUp, ... {};
106+
@include smOnly, mdOnly, ... {};
107+
@include sm-md, sm-lg, ... {}
108+
109+
// Where
110+
$sm: 576px !default;
111+
$md: 768px !default;
112+
$lg: 992px !default;
113+
$xl: 1200px !default;
114+
$xxl: 1500px !default;
115+
116+
@mixin sm {
117+
@media (max-width: #{$md - 1px}) {
118+
@content;
119+
}
120+
}
121+
```
122+
101123
## Authors
102124

103125
- **Raphaël Balet** - _Initial work_ - [Megaphone](https://megaphone.info)

0 commit comments

Comments
 (0)