p5.js-web-editor/client/styles/abstracts/_variables.scss

277 lines
9.4 KiB
SCSS
Raw Normal View History

$base-font-size: 12;
//colors
2020-09-09 12:13:51 +02:00
$p5js-pink: #FFE117; /*DP Colours*/
$processing-blue: #007BBB;
$p5js-active-pink: #f10046;
$white: #fff;
$black: #000;
$yellow: #F5DC23;
$orange: #ffa500;
$red: #ff0000;
$lightsteelblue: #B0C4DE;
$dodgerblue: #1E90FF;
// $icon-hover-color: #333;
$p5-contrast-pink: #FFA9D9;
$border-color: #B5B5B5;
$outline-color: #0F9DD7;
// Grayscale values
$lightest: #FFF; // primary
$lighter: #FBFBFB;
2019-05-24 11:41:06 +02:00
$light: #F0F0F0; // primary
$medium-light: #D9D9D9;
$middle-light: #A6A6A6;
// $middle-gray: #7D7D7D; // primary
$middle-gray: #747474; // primary
$middle-dark: #666;
$medium-dark: #4D4D4D;
$dark: #333; // primary
$darker: #1C1C1C;
$darkest: #000;
2019-05-24 11:41:06 +02:00
$themes: (
light: (
logo-color: $p5js-pink,
2020-04-27 22:48:55 +02:00
logo-background-color: $lightest,
heavy-text-color: $darker,
primary-text-color: $dark,
secondary-text-color: $medium-dark,
inactive-text-color: $middle-dark,
dropzone-text-color: $dark,
modal-button-color: $dark,
background-color: $lighter,
button-background-color: $light,
button-secondary-background-color: $medium-light,
button-color: $black,
button-border-color: $middle-light,
toolbar-button-color: $dark,
toolbar-button-background-color: $medium-light,
button-background-hover-color: $p5js-pink,
button-background-active-color: $p5js-active-pink,
button-nav-inactive-color: $middle-gray,
2020-04-23 00:31:04 +02:00
button-hover-color: $lightest,
button-active-color: $lightest,
modal-background-color: $light,
preferences-button-background-color: $medium-light,
modal-border-color: $middle-light,
icon-color: $middle-gray,
icon-hover-color: $darker,
2020-04-23 00:31:04 +02:00
icon-toast-hover-color: $lightest,
shadow-color: rgba(0, 0, 0, 0.16),
console-background-color: $light,
2020-04-23 00:31:04 +02:00
console-color: $lightest,
console-header-background-color: $medium-light,
console-header-color: $darker,
console-info-background-color: #5276B7,
console-warn-background-color: #996B00,
console-debug-background-color: #0071AD,
console-error-background-color: #D11518,
2020-04-25 00:34:26 +02:00
ide-border-color: $medium-light,
editor-gutter-color: $lighter,
file-hover-color: $light,
file-selected-color: $medium-light,
input-text-color: $dark,
input-background-color: $lightest,
2020-04-27 22:48:55 +02:00
input-secondary-background-color: $lightest,
input-border-color: $middle-light,
search-background-color: $lightest,
search-clear-background-color: $light,
search-hover-text-color: $lightest,
search-hover-background-color: $medium-dark,
keyboard-shortcut-color: $middle-gray,
2017-10-11 18:56:44 +02:00
nav-hover-color: $p5js-pink,
nav-border-color: $middle-light,
error-color: $p5js-pink,
table-row-stripe-color: $medium-light,
2020-08-18 19:54:21 +02:00
table-row-stripe-color-alternate: $medium-light,
2020-04-30 00:34:37 +02:00
codefold-icon-open: url(../images/triangle-arrow-down.svg?byUrl),
codefold-icon-closed: url(../images/triangle-arrow-right.svg?byUrl),
2019-05-22 15:38:24 +02:00
primary-button-color: $lightest,
primary-button-background-color: $p5js-pink,
2020-04-23 00:31:04 +02:00
table-button-color: $lightest,
table-button-background-color: $middle-gray,
2020-04-23 00:31:04 +02:00
table-button-active-color: $lightest,
table-button-background-active-color: #00A1D3,
2020-04-23 00:31:04 +02:00
table-button-hover-color: $lightest,
2019-11-25 13:53:44 +01:00
table-button-background-hover-color: $p5js-pink,
progress-bar-background-color: $middle-gray,
progress-bar-active-color: $p5js-active-pink,
2019-05-22 15:38:24 +02:00
form-title-color: rgba(51, 51, 51, 0.87),
form-secondary-title-color: $medium-dark,
2019-05-24 11:41:06 +02:00
form-input-text-color: $dark,
form-input-placeholder-text-color: $middle-light,
form-navigation-options-color: $middle-dark
),
dark: (
logo-color: $p5js-pink,
2020-04-27 22:48:55 +02:00
logo-background-color: $lightest,
heavy-text-color: $lightest,
2020-04-23 00:31:04 +02:00
primary-text-color: $lightest,
dropzone-text-color: $black,
2020-04-23 00:31:04 +02:00
modal-button-color: $lightest,
secondary-text-color: $medium-light,
inactive-text-color: $middle-light,
background-color: $darker,
button-background-color: $dark,
button-secondary-background-color: $medium-dark,
button-color: $light,
button-border-color: $middle-dark,
toolbar-button-color: $lightest,
2020-04-23 00:31:04 +02:00
toolbar-button-background-color: $medium-dark,
button-background-hover-color: $p5js-pink,
2020-04-23 00:31:04 +02:00
button-background-active-color: $p5js-active-pink,
button-nav-inactive-color: $middle-light,
button-hover-color: $lightest,
button-active-color: $lightest,
modal-background-color: $dark,
preferences-button-background-color: $middle-dark,
modal-border-color: $middle-dark,
icon-color: $middle-light,
icon-hover-color: $lightest,
icon-toast-hover-color: $lightest,
shadow-color: rgba(0, 0, 0, 0.16),
2020-04-23 00:31:04 +02:00
console-background-color: $dark,
console-color: $lightest,
console-header-background-color: $medium-dark,
console-header-color: $lightest,
console-info-background-color: #5276B7,
console-warn-background-color: #966C08,
console-error-background-color: #DD3134,
console-debug-background-color: #097BB3,
2020-04-23 00:31:04 +02:00
ide-border-color: $middle-dark,
editor-gutter-color: $darker,
file-hover-color: $dark,
file-selected-color: $medium-dark,
input-text-color: $lightest,
input-background-color: $dark,
2020-04-27 22:48:55 +02:00
input-secondary-background-color: $medium-dark,
input-border-color: $middle-dark,
search-background-color: $lightest,
search-clear-background-color: $medium-dark,
search-hover-text-color: $lightest,
search-hover-background-color: $p5js-pink,
keyboard-shortcut-color: $middle-light,
2017-10-11 18:56:44 +02:00
nav-hover-color: $p5js-pink,
nav-border-color: $middle-dark,
error-color: $p5js-pink,
table-row-stripe-color: $dark,
2020-08-18 19:54:21 +02:00
table-row-stripe-color-alternate: $darker,
2020-04-30 00:34:37 +02:00
codefold-icon-open: url(../images/triangle-arrow-down-white.svg?byUrl),
codefold-icon-closed: url(../images/triangle-arrow-right-white.svg?byUrl),
primary-button-color: $lightest,
primary-button-background-color: $p5js-pink,
table-button-color: $lightest,
2020-04-23 00:31:04 +02:00
table-button-background-color: $middle-gray,
table-button-active-color: $lightest,
table-button-background-active-color: #00A1D3,
table-button-hover-color: $lightest,
2019-11-25 13:53:44 +01:00
table-button-background-hover-color: $p5js-pink,
2020-04-23 00:31:04 +02:00
progress-bar-background-color: $middle-gray,
progress-bar-active-color: $p5js-active-pink,
form-title-color: $lightest,
form-secondary-title-color: $medium-light,
form-navigation-options-color: $middle-light
),
contrast: (
logo-color: $yellow,
2020-04-27 22:48:55 +02:00
logo-background-color: $darker,
heavy-text-color: $yellow,
2020-04-25 00:34:26 +02:00
primary-text-color: $lightest,
dropzone-text-color: $black,
2020-04-25 00:34:26 +02:00
modal-button-color: $dark,
secondary-text-color: $lighter,
inactive-text-color: $light,
background-color: $darker,
button-background-color: $dark,
button-secondary-background-color: $medium-dark,
button-color: $light,
button-border-color: $middle-dark,
2020-04-25 00:34:26 +02:00
toolbar-button-color: $dark,
toolbar-button-background-color: $medium-light,
button-background-hover-color: $yellow,
2020-02-27 20:29:51 +01:00
button-background-active-color: $yellow,
2020-04-25 00:34:26 +02:00
button-nav-inactive-color: $light,
button-hover-color: $dark,
button-active-color: $dark,
modal-background-color: $dark,
preferences-button-background-color: $medium-light,
modal-border-color: $middle-dark,
icon-color: $medium-light,
icon-hover-color: $yellow,
icon-toast-hover-color: $yellow,
shadow-color: rgba(0, 0, 0, 0.16),
2020-04-25 00:34:26 +02:00
console-background-color: $dark,
console-color: $black,
2020-04-25 00:34:26 +02:00
console-header-background-color: $medium-dark,
console-header-color: $lightest,
console-info-background-color: $lightsteelblue,
console-warn-background-color: $orange,
console-debug-background-color: $dodgerblue,
console-error-background-color: $red,
2020-04-25 00:34:26 +02:00
ide-border-color: $middle-dark,
editor-gutter-color: $darker,
file-hover-color: $dark,
file-selected-color: $medium-dark,
input-text-color: $lightest,
input-background-color: $dark,
2020-04-27 22:48:55 +02:00
input-secondary-background-color: $medium-dark,
2020-04-25 00:34:26 +02:00
input-border-color: $middle-dark,
2017-07-25 21:35:18 +02:00
search-background-color: $white,
2020-04-25 00:34:26 +02:00
search-clear-background-color: $medium-dark,
search-hover-text-color: $dark,
search-hover-background-color: $yellow,
2020-04-25 00:34:26 +02:00
keyboard-shortcut-color: $middle-light,
nav-hover-color: $yellow,
nav-border-color: $middle-dark,
error-color: $p5-contrast-pink,
2020-04-27 22:48:55 +02:00
table-row-stripe-color: $dark,
2020-08-18 19:54:21 +02:00
table-row-stripe-color-alternate: $darker,
2020-04-30 00:34:37 +02:00
codefold-icon-open: url(../images/triangle-arrow-down-white.svg?byUrl),
codefold-icon-closed: url(../images/triangle-arrow-right-white.svg?byUrl),
2020-04-25 00:34:26 +02:00
primary-button-color: $lightest,
primary-button-background-color: $p5js-pink,
2020-04-25 00:34:26 +02:00
table-button-color: $dark,
table-button-background-color: $middle-gray,
table-button-active-color: $dark,
table-button-background-active-color: #00FFFF,
2020-04-25 00:34:26 +02:00
table-button-hover-color: $dark,
2019-11-25 13:53:44 +01:00
table-button-background-hover-color: $yellow,
2020-04-25 00:34:26 +02:00
progress-bar-background-color: $middle-gray,
progress-bar-active-color: $p5js-active-pink,
2020-04-25 00:34:26 +02:00
form-title-color: $lightest,
form-secondary-title-color: $medium-light,
form-navigation-options-color: $middle-light
)
);
2020-04-27 22:48:55 +02:00
$toast-background-color: $medium-dark;
2020-04-25 00:34:26 +02:00
$toast-text-color: $lightest;
2020-04-27 22:48:55 +02:00
$light-console-error-color: #D11518;
$light-console-warn-color: #FAAF00;
$light-console-debug-color: #0071AD;
2020-04-27 22:48:55 +02:00
$dark-console-error-color: #DF3A3D;
$dark-console-warn-color: #F5BC38;
$dark-console-debug-color: #0C99E2;
$about-play-background-color: rgba(255, 255, 255, 0.7);
$about-button-border-color: rgba(151, 151, 151, 0.7);