Skip to content

Commit 6448cd1

Browse files
committed
fix(render): using only one 'styles.scss' file
1 parent ec207df commit 6448cd1

9 files changed

+67
-398
lines changed

scss/_functions.scss

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Color contrast
2+
// Ref.: https://github.com/twbs/bootstrap/blob/master/scss/_functions.scss
3+
@function color-yiq($color, $dark: $dark, $light: $light) {
4+
$r: red($color);
5+
$g: green($color);
6+
$b: blue($color);
7+
8+
$yiq: (($r * 299) + ($g * 587) + ($b * 114)) / 1000;
9+
10+
@return if($yiq >= 150, $dark, $light);
11+
}

scss/_variables.scss

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
$dark: #212529;
2+
$light: #f8f9fa;
3+
$gray: #ebebeb;
4+
$primary: #007bff;

scss/delivered.scss

-78
This file was deleted.

scss/new-order.scss

-78
This file was deleted.

scss/payment.scss

-78
This file was deleted.

scss/shipped.scss

-78
This file was deleted.

0 commit comments

Comments
 (0)