Add Cosmo theme

pull/1/head
Bobson Lin 3 years ago
parent f5a0a52cf2
commit 4a36e0ffbf

@ -0,0 +1,22 @@
// Bootstrap functions
@import '../../node_modules/bootstrap/scss/functions';
// Cosmo varialbes
@import "cosmo/variables";
@import "../../node_modules/bootstrap/scss/variables";
// Cosmo mixins
// Bootstrap mixins
@import "../../node_modules/bootstrap/scss/mixins";
// Bootstrap components
@import "../../node_modules/bootstrap/scss/root";
@import "../../node_modules/bootstrap/scss/reboot";
@import "../../node_modules/bootstrap/scss/type";
@import "../../node_modules/bootstrap/scss/images";
@import "../../node_modules/bootstrap/scss/grid";
@import "../../node_modules/bootstrap/scss/buttons";
@import "../../node_modules/bootstrap/scss/card";
@import "../../node_modules/bootstrap/scss/utilities";

@ -0,0 +1,22 @@
// Bootstrap functions
@import '~bootstrap/scss/functions';
// Cosmo varialbes
@import "cosmo/variables";
@import "~bootstrap/scss/variables";
// Cosmo mixins
// Bootstrap mixins
@import "~bootstrap/scss/mixins";
// Bootstrap components
@import "~bootstrap/scss/root";
@import "~bootstrap/scss/reboot";
@import "~bootstrap/scss/type";
@import "~bootstrap/scss/images";
@import "~bootstrap/scss/grid";
@import "~bootstrap/scss/buttons";
@import "~bootstrap/scss/card";
@import "~bootstrap/scss/utilities";

@ -0,0 +1,60 @@
// Cosmo theme from Bootswatch
// Ref: https://github.com/thomaspark/bootswatch/blob/v4/dist/cosmo/_variables.scss
// Color system
$white: #fff;
$gray-600: #868e96;
$gray-700: #495057;
$gray-800: #373a3c;
$gray-900: #212529;
$black: #000;
$blue: #2780e3;
$indigo: #6610f2;
$purple: #613d7c;
$pink: #e83e8c;
$red: #ff0039;
$orange: #f0ad4e;
$yellow: #ff7518;
$green: #3fb618;
$teal: #20c997;
$cyan: #9954bb;
// Options
$enable-rounded: false;
// Body
$body-color: $gray-800;
// Typography
// stylelint-disable-next-line value-keyword-case
$font-family-sans-serif: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
$font-size-base: .9375rem;
$font-size-sm: $font-size-base * .88;
$headings-font-weight: 300;
// Navbar
$navbar-dark-hover-color: rgba($white, 1);
$navbar-light-hover-color: rgba($black, .9);
// Alerts
$alert-border-width: 0;
// Progress bars
$progress-height: .5rem;
Loading…
Cancel
Save