Skip to content

Commit 6acb230

Browse files
Create centering mixin
1 parent 72b76a7 commit 6acb230

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

app/stylesheets/constants.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
$brandgold: #fce356;
22
$sidebarblue: #24262f;
3+
4+
@mixin centerWithFlex($justify: center) {
5+
display: flex;
6+
align-items: center;
7+
justify-content: $justify;
8+
}

0 commit comments

Comments
 (0)