Merge SCSS mixins and variables into globals

This commit is contained in:
Kevin Kandlbinder 2021-11-07 14:20:31 +00:00 committed by GitHub
parent 4fadc5675b
commit 324d816c0a
14 changed files with 27 additions and 34 deletions

2
.gitignore vendored
View file

@ -6,3 +6,5 @@ public
/fab.zip /fab.zip
/npm-*.log /npm-*.log
.eslintcache

View file

@ -1,4 +1,16 @@
@import "./variables"; $layoutWidth: 1200px;
$accentColor: #e52b3e;
$accentColorDarker: darken($accentColor, 5);
$background: #070707;
$lightBackground: #fff;
$textColor: white;
$lightTextColor: black;
$layoutPadding: 20px;
$noticeColor: rgba(#e52b3e, .15);
$mainFont: "Fira Code", monospace;
@mixin flexList { @mixin flexList {
display: flex; display: flex;

View file

@ -1,12 +0,0 @@
$layoutWidth: 1200px;
$accentColor: #e52b3e;
$accentColorDarker: darken($accentColor, 5);
$background: #070707;
$lightBackground: #fff;
$textColor: white;
$lightTextColor: black;
$layoutPadding: 20px;
$noticeColor: rgba(#e52b3e, .15);
$mainFont: "Fira Code", monospace;

View file

@ -1,5 +1,4 @@
@import "../mixins"; @import "../globals";
@import "../variables";
.languageModal { .languageModal {
position: fixed; position: fixed;

View file

@ -1,5 +1,4 @@
@import "../variables"; @import "../globals";
@import "../mixins";
.offscreenNav { .offscreenNav {
position: fixed; position: fixed;

View file

@ -1,6 +1,6 @@
@import "~@fontsource/fira-code/index.css"; @import "~@fontsource/fira-code/index.css";
@import "~@fontsource/fira-code/700.css"; @import "~@fontsource/fira-code/700.css";
@import "../variables"; @import "../globals";
* { * {
box-sizing: border-box; box-sizing: border-box;

View file

@ -1,5 +1,4 @@
@import "../variables"; @import "../globals";
@import "../mixins";
.priceAmount { .priceAmount {
display: flex; display: flex;

View file

@ -1,5 +1,4 @@
@import "../variables"; @import "../globals";
@import "../mixins";
.friendsList { .friendsList {
@include flexList; @include flexList;

View file

@ -1,5 +1,4 @@
@import "../variables"; @import "../globals";
@import "../mixins";
.heroSection { .heroSection {
width: 100%; width: 100%;

View file

@ -1,5 +1,4 @@
@import "../variables"; @import "../globals";
@import "../mixins";
.projectList { .projectList {
@include flexList; @include flexList;

View file

@ -1,5 +1,4 @@
@import "../variables"; @import "../globals";
@import "../mixins";
.socialList { .socialList {
@include flexList; @include flexList;

View file

@ -1,5 +1,4 @@
@import "../variables"; @import "../globals";
@import "../mixins";
.sectionBacklink { .sectionBacklink {
display: block; display: block;

View file

@ -1,5 +1,4 @@
@import "../variables"; @import "../globals";
@import "../mixins";
.scamboxSection { .scamboxSection {
flex-grow: 1; flex-grow: 1;

View file

@ -1,4 +1,4 @@
@import "../variables"; @import "../globals";
.projectHeader { .projectHeader {
> div { > div {