chore: Remove some redundant Sass variable declarations and re-organize them

This commit is contained in:
Jay Sitter 2023-06-17 00:32:10 -04:00
parent a41079929d
commit 42c46c18ca
12 changed files with 2527 additions and 2419 deletions

View file

@ -1,36 +1,27 @@
$white: #fff;
$gray-100: #f8f9fa;
@import "../../../../node_modules/bootstrap-v4/scss/_functions";
@import "../../../../node_modules/bootstrap-v4/scss/_variables";
// Colors
$gray-200: #ebebeb;
$gray-300: #dee2e6;
$gray-400: #ced4da;
$gray-500: #adb5bd;
$gray-600: #888;
$gray-700: #444;
$gray-800: #303030;
$gray-900: #222;
$black: #000;
$blue: #375a7f;
$indigo: #6610f2;
$purple: #6f42c1;
$pink: #e83e8c;
$red: #e74c3c;
$orange: #fd7e14;
$yellow: #f39c12;
$green: #00bc8c;
$teal: #20c997;
$cyan: #3498db;
$primary: $blue;
$secondary: #444;
$success: $green;
$info: $cyan;
$warning: $yellow;
$danger: $red;
$light: $gray-800;
$dark: $gray-300;
$yiq-contrasted-threshold: 175;
$body-bg: $gray-900;
$body-color: $gray-300;
$body-bg: $gray-900;
$link-color: $red;
$yiq-contrasted-threshold: 175;
$font-family-sans-serif: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";

View file

@ -1,35 +1,25 @@
$white: #fff;
$gray-100: #f8f9fa;
@import "../../../../node_modules/bootstrap-v4/scss/_functions";
@import "../../../../node_modules/bootstrap-v4/scss/_variables";
// Colors
$gray-200: #ebebeb;
$gray-300: #dee2e6;
$gray-400: #ced4da;
$gray-500: #adb5bd;
$gray-600: #888;
$gray-700: #444;
$gray-800: #303030;
$gray-900: #222;
$black: #000;
$blue: #375a7f;
$indigo: #6610f2;
$purple: #6f42c1;
$pink: #e83e8c;
$red: #e74c3c;
$orange: #fd7e14;
$yellow: #f39c12;
$green: #00bc8c;
$teal: #20c997;
$cyan: #3498db;
$primary: $blue;
$secondary: $gray-700;
$success: $green;
$info: $cyan;
$warning: $yellow;
$danger: $red;
$primary: $green;
$dark: $gray-300;
$yiq-contrasted-threshold: 175;
$body-bg: $gray-900;
$body-color: $gray-300;
$body-bg: $gray-900;
$link-color: $success;
$yiq-contrasted-threshold: 175;
$font-family-sans-serif: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
@ -66,6 +56,8 @@ $navbar-light-color: rgba($white, 0.6);
$navbar-light-hover-color: $white;
$navbar-light-active-color: $white;
$navbar-light-toggler-border-color: rgba($gray-900, 0.1);
$navbar-light-brand-color: $white;
$navbar-light-brand-hover-color: $navbar-light-brand-color;
$pagination-color: $white;
$pagination-bg: $success;
$pagination-border-width: 0;
@ -103,5 +95,3 @@ $input-bg: $secondary;
$input-color: $white;
$input-disabled-bg: darken($secondary, 10%);
$light: $gray-800;
$navbar-light-brand-color: $white;
$navbar-light-brand-hover-color: $navbar-light-brand-color;

View file

@ -1,26 +1,26 @@
$white: #fff;
$gray-100: #f8f9fa;
@import "../../../../node_modules/bootstrap-v4/scss/_functions";
@import "../../../../node_modules/bootstrap-v4/scss/_variables";
// Colors
$gray-200: #e9ecef;
$gray-300: #dee2e6;
$gray-400: #ced4da;
$gray-500: #adb5bd;
$gray-600: #6c757d;
$gray-700: #495057;
$gray-800: #343a40;
$gray-900: #212529;
$black: #000;
$blue: #007bff;
$indigo: #6610f2;
$white: #ffffff;
$black: #222;
$orange: #f1641e;
$cyan: #02bdc2;
$green: #00c853;
$primary: #f1641e;
$secondary: #c80000;
$success: $indigo;
$info: $blue;
$danger: darken($primary, 24%);
$body-color: $gray-700;
$body-bg: #fff;
$link-color: $primary;
$red: #d8486a;
$border-radius: 0.5rem;
$border-radius-lg: 0.5rem;
$border-radius-sm: 1rem;
@ -30,15 +30,10 @@ $headings-color: $gray-700;
$input-btn-focus-color: rgba($primary, 0.75);
$form-feedback-valid-color: $info;
$navbar-light-color: $gray-600;
$black: #222222;
$navbar-dark-toggler-border-color: rgba($black, 0.1);
$navbar-light-active-color: $gray-900;
$card-color: $gray-700;
$card-cap-color: $gray-700;
$info: $blue;
$body-bg: #fff;
$success: $indigo;
$danger: darken($primary, 24%);
$navbar-light-hover-color: $gray-900;
$card-bg: $gray-100;
$border-color: $gray-700;

View file

@ -1,47 +1,43 @@
$white: #fff;
$gray-100: #f8f9fa;
@import "../../../../node_modules/bootstrap-v4/scss/_functions";
@import "../../../../node_modules/bootstrap-v4/scss/_variables";
// Colors
$gray-200: #e9ecef;
$gray-300: #dee2e6;
$gray-400: #ced4da;
$gray-500: #adb5bd;
$gray-600: #6c757d;
$gray-700: #495057;
$gray-800: #343a40;
$gray-900: #212529;
$black: #000;
$blue: #007bff;
$indigo: #6610f2;
$white: #ffffff;
$black: #222;
$red: #d8486a;
$orange: #f1641e;
$cyan: #02bdc2;
$green: #00c853;
$primary: $orange;
$secondary: $green;
$info: $cyan;
$body-color: $gray-700;
$link-color: $primary;
$red: #d8486a;
$success: $indigo;
$info: $blue;
$body-color: $gray-700;
$body-bg: #fff;
$card-color: $gray-700;
$card-cap-color: $gray-700;
$danger: darken($primary, 25%);
$card-bg: $gray-100;
$border-color: $gray-700;
$mark-bg: rgb(255, 252, 239);
$headings-color: $gray-700;
$navbar-light-color: $gray-600;
$navbar-light-hover-color: $gray-900;
$navbar-light-active-color: $gray-900;
$navbar-dark-toggler-border-color: rgba($black, 0.1);
$border-radius: 0.5rem;
$border-radius-lg: 0.5rem;
$border-radius-sm: 1rem;
$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Droid Sans",
"Segoe UI", "Helvetica", Arial, sans-serif;
$headings-color: $gray-700;
$input-btn-focus-color: rgba($primary, 0.75);
$form-feedback-valid-color: $info;
$navbar-light-color: $gray-600;
$black: #222222;
$navbar-dark-toggler-border-color: rgba($black, 0.1);
$navbar-light-active-color: $gray-900;
$card-color: $gray-700;
$card-cap-color: $gray-700;
$info: $blue;
$body-bg: #fff;
$success: $indigo;
$danger: darken($primary, 25%);
$navbar-light-hover-color: $gray-900;
$card-bg: $gray-100;
$border-color: $gray-700;
$mark-bg: rgb(255, 252, 239);
$font-weight-bold: 600;
$rounded-pill: 0.25rem;

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,17 @@
/* Error: Can't find stylesheet to import.
* ,
* 2 | @import "bootstrap-v4/scss/bootstrap";
* | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* '
* src/assets/styles/scss/themes/darkly-red.scss 2:9 root stylesheet */
body::before {
font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",
"Droid Sans Mono", monospace, monospace;
white-space: pre;
display: block;
padding: 1em;
margin-bottom: 1em;
border-bottom: 2px solid black;
content: 'Error: Can\'t find stylesheet to import.\a \2577 \a 2 \2502 @import "bootstrap-v4/scss/bootstrap";\a \2502 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\a \2575 \a src/assets/styles/scss/themes/darkly-red.scss 2:9 root stylesheet';
}

View file

@ -0,0 +1,17 @@
/* Error: Can't find stylesheet to import.
* ,
* 2 | @import "bootstrap-v4/scss/bootstrap";
* | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* '
* src/assets/styles/scss/themes/darkly.scss 2:9 root stylesheet */
body::before {
font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",
"Droid Sans Mono", monospace, monospace;
white-space: pre;
display: block;
padding: 1em;
margin-bottom: 1em;
border-bottom: 2px solid black;
content: 'Error: Can\'t find stylesheet to import.\a \2577 \a 2 \2502 @import "bootstrap-v4/scss/bootstrap";\a \2502 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\a \2575 \a src/assets/styles/scss/themes/darkly.scss 2:9 root stylesheet';
}

View file

@ -0,0 +1,17 @@
/* Error: Can't find stylesheet to import.
* ,
* 2 | @import "bootstrap-v4/scss/bootstrap";
* | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* '
* src/assets/styles/scss/themes/litely-red.scss 2:9 root stylesheet */
body::before {
font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",
"Droid Sans Mono", monospace, monospace;
white-space: pre;
display: block;
padding: 1em;
margin-bottom: 1em;
border-bottom: 2px solid black;
content: 'Error: Can\'t find stylesheet to import.\a \2577 \a 2 \2502 @import "bootstrap-v4/scss/bootstrap";\a \2502 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\a \2575 \a src/assets/styles/scss/themes/litely-red.scss 2:9 root stylesheet';
}

View file

@ -0,0 +1,17 @@
/* Error: Can't find stylesheet to import.
* ,
* 2 | @import "bootstrap-v4/scss/bootstrap";
* | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* '
* src/assets/styles/scss/themes/litely.scss 2:9 root stylesheet */
body::before {
font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",
"Droid Sans Mono", monospace, monospace;
white-space: pre;
display: block;
padding: 1em;
margin-bottom: 1em;
border-bottom: 2px solid black;
content: 'Error: Can\'t find stylesheet to import.\a \2577 \a 2 \2502 @import "bootstrap-v4/scss/bootstrap";\a \2502 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\a \2575 \a src/assets/styles/scss/themes/litely.scss 2:9 root stylesheet';
}