2020-05-01 10:50:51 -07:00
|
|
|
// Font settings
|
2022-10-24 14:43:53 -07:00
|
|
|
$lexend-font-path: "~@fontsource/lexend/files";
|
2022-10-26 01:57:55 -07:00
|
|
|
$lexend-weights: 500, 600;
|
2022-10-24 14:43:53 -07:00
|
|
|
$fa-font-path: "~font-awesome/fonts";
|
2020-05-01 10:50:51 -07:00
|
|
|
|
2022-10-24 14:43:53 -07:00
|
|
|
$font-family-sans-serif: "Lexend", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
2020-05-01 10:50:51 -07:00
|
|
|
$font-family-serif: Georgia, "DejaVu Serif", "Times New Roman", Times, serif;
|
|
|
|
$font-family-monospace: "PragmataPro", Monaco, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace;
|
|
|
|
$font-family-base: $font-family-sans-serif;
|
|
|
|
|
|
|
|
$font-size-base: 1rem;
|
|
|
|
$font-size-large: ceil(($font-size-base * 1.25)); // ~18px
|
|
|
|
$font-size-small: ceil(($font-size-base * 0.85)); // ~12px
|
|
|
|
|
|
|
|
$font-size-h1: floor(($font-size-base * 2.6)); // ~36px
|
|
|
|
$font-size-h2: floor(($font-size-base * 2.15)); // ~30px
|
|
|
|
$font-size-h3: ceil(($font-size-base * 1.7)); // ~24px
|
|
|
|
$font-size-h4: ceil(($font-size-base * 1.25)); // ~18px
|
|
|
|
$font-size-h5: $font-size-base;
|
|
|
|
$font-size-h6: ceil(($font-size-base * 0.85)); // ~12px
|
|
|
|
|
2020-05-02 08:36:40 -07:00
|
|
|
// Usual navbar height
|
|
|
|
$navbar-height: 56px;
|
|
|
|
|
2020-04-28 04:07:16 -07:00
|
|
|
// Color overrides for Bootstrap
|
2020-04-26 12:48:25 -07:00
|
|
|
$primary: #5e35b1;
|
|
|
|
|
|
|
|
// Cards
|
|
|
|
$card-border-width: 0;
|
|
|
|
|
|
|
|
// List Groups
|
2020-04-26 14:54:26 -07:00
|
|
|
$list-group-border-width: 0;
|
|
|
|
|
2020-04-27 09:39:01 -07:00
|
|
|
// nProgress
|
2020-05-01 10:50:51 -07:00
|
|
|
$nprogress-color: lighten($primary, 25%);
|
2020-04-27 09:39:01 -07:00
|
|
|
|
2020-04-28 04:07:16 -07:00
|
|
|
// Color names for theme generation
|
2020-04-29 09:17:10 -07:00
|
|
|
$color-names: (
|
2022-10-24 14:43:53 -07:00
|
|
|
"primary",
|
2020-04-28 04:07:16 -07:00
|
|
|
"danger",
|
|
|
|
"warning",
|
|
|
|
"info",
|
2020-05-04 17:02:33 -07:00
|
|
|
"success",
|
|
|
|
"dark",
|
|
|
|
"light"
|
2020-04-28 04:07:16 -07:00
|
|
|
);
|
|
|
|
|
2020-04-29 09:15:52 -07:00
|
|
|
// Avatar variables
|
|
|
|
$avatar-border-radius: 4px;
|
|
|
|
|
|
|
|
$avatar-sizes: (
|
|
|
|
"xs": 20px,
|
|
|
|
"sm": 30px,
|
|
|
|
"md": 40px,
|
2020-04-30 11:35:22 -07:00
|
|
|
"lg": 80px,
|
2022-07-24 05:30:20 -07:00
|
|
|
"xl": 120px,
|
|
|
|
"xxl": 160px,
|
2020-04-29 09:15:52 -07:00
|
|
|
);
|
|
|
|
|
2022-04-09 17:37:34 -07:00
|
|
|
$spacers: (
|
|
|
|
10: (1rem * 6)
|
|
|
|
);
|
|
|
|
|
2020-04-26 14:54:26 -07:00
|
|
|
:root {
|
|
|
|
--background: #f0edf4;
|
2020-05-03 11:39:21 -07:00
|
|
|
--input-bg: var(--background);
|
2020-05-03 11:10:50 -07:00
|
|
|
--raised-bg: #ffffff;
|
|
|
|
--raised-accent: #f7f7f7;
|
2020-04-27 09:39:01 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
NOTE for all *-text variables
|
|
|
|
----------------------------------------------
|
|
|
|
The text-variables are present as triplets
|
|
|
|
because in some places it's required to adjust
|
|
|
|
their transparency.
|
|
|
|
|
|
|
|
So, for general usage, use:
|
|
|
|
color: RGB(var(--*-text));
|
|
|
|
|
|
|
|
And for transparent usage, use:
|
2022-10-24 14:43:53 -07:00
|
|
|
color: rgba(var(--*-text), .7);
|
2020-04-27 09:39:01 -07:00
|
|
|
|
|
|
|
The uppercase RGB is required because internally
|
|
|
|
SassC wants more than one argument for rgb(),
|
|
|
|
hence writing RGB() bypasses that check, but
|
|
|
|
browsers interpret it correctly.
|
|
|
|
*/
|
|
|
|
|
|
|
|
--primary-text: 255, 255, 255;
|
2020-04-28 04:19:59 -07:00
|
|
|
--danger-text: 255, 255, 255;
|
2020-05-07 10:28:26 -07:00
|
|
|
--warning-text: 41, 41, 41;
|
2020-04-28 04:19:59 -07:00
|
|
|
--info-text: 255, 255, 255;
|
|
|
|
--success-text: 255, 255, 255;
|
2020-05-04 17:02:33 -07:00
|
|
|
--dark-text: 255, 255, 255;
|
|
|
|
--light-text: 0, 0, 0;
|
2020-04-28 06:52:20 -07:00
|
|
|
|
2020-05-03 08:28:19 -07:00
|
|
|
--body-text: 0, 0, 0;
|
2020-04-28 06:52:20 -07:00
|
|
|
--muted-text: 108, 117, 125;
|
2020-04-28 06:56:38 -07:00
|
|
|
--input-text: 0, 0, 0;
|
2021-04-04 07:23:11 -07:00
|
|
|
|
|
|
|
--turbolinks-progress-color: #a58adc; // --primary lightened by 25%
|
2020-05-01 10:50:51 -07:00
|
|
|
}
|
|
|
|
|
2020-05-30 17:37:50 -07:00
|
|
|
$gray: #e2e2e2;
|