2024-09-18 17:39:32 +00:00
|
|
|
@use 'sass:color';
|
|
|
|
|
2018-05-25 16:36:26 +00:00
|
|
|
// Dependent colors
|
|
|
|
$black: #000000;
|
|
|
|
$white: #ffffff;
|
|
|
|
|
2024-08-20 15:56:44 +00:00
|
|
|
$classic-base-color: hsl(240deg, 16%, 19%);
|
|
|
|
$classic-primary-color: hsl(240deg, 29%, 70%);
|
|
|
|
$classic-secondary-color: hsl(255deg, 25%, 88%);
|
|
|
|
$classic-highlight-color: hsl(240deg, 100%, 69%);
|
2018-05-25 16:36:26 +00:00
|
|
|
|
2024-08-20 15:56:44 +00:00
|
|
|
$blurple-600: hsl(252deg, 59%, 51%); // Iris
|
|
|
|
$blurple-500: hsl(240deg, 100%, 69%); // Brand purple
|
|
|
|
$blurple-300: hsl(237deg, 92%, 75%); // Faded Blue
|
|
|
|
$grey-600: hsl(240deg, 8%, 33%); // Trout
|
|
|
|
$grey-100: hsl(240deg, 51%, 90%); // Topaz
|
2023-07-03 09:32:31 +00:00
|
|
|
|
2018-05-25 16:36:26 +00:00
|
|
|
// Differences
|
2024-08-20 15:56:44 +00:00
|
|
|
$success-green: lighten(hsl(138deg, 32%, 35%), 8%);
|
2018-05-26 08:53:44 +00:00
|
|
|
|
|
|
|
$base-overlay-background: $white !default;
|
|
|
|
$valid-value-color: $success-green !default;
|
2018-05-25 16:36:26 +00:00
|
|
|
|
|
|
|
$ui-base-color: $classic-secondary-color !default;
|
2024-08-20 15:56:44 +00:00
|
|
|
$ui-base-lighter-color: hsl(250deg, 24%, 75%);
|
2024-08-08 17:31:06 +00:00
|
|
|
$ui-primary-color: $classic-primary-color !default;
|
2018-05-25 16:36:26 +00:00
|
|
|
$ui-secondary-color: $classic-base-color !default;
|
2022-06-19 06:18:08 +00:00
|
|
|
$ui-highlight-color: $classic-highlight-color !default;
|
2018-05-25 16:36:26 +00:00
|
|
|
|
2023-07-03 09:32:31 +00:00
|
|
|
$ui-button-secondary-color: $grey-600 !default;
|
|
|
|
$ui-button-secondary-border-color: $grey-600 !default;
|
|
|
|
$ui-button-secondary-focus-color: $white !default;
|
|
|
|
|
|
|
|
$ui-button-tertiary-color: $blurple-500 !default;
|
|
|
|
$ui-button-tertiary-border-color: $blurple-500 !default;
|
|
|
|
|
2018-05-25 16:36:26 +00:00
|
|
|
$primary-text-color: $black !default;
|
|
|
|
$darker-text-color: $classic-base-color !default;
|
2024-01-25 15:41:31 +00:00
|
|
|
$highlight-text-color: $ui-highlight-color !default;
|
2024-08-20 15:56:44 +00:00
|
|
|
$dark-text-color: hsl(240deg, 16%, 32%);
|
|
|
|
$action-button-color: hsl(240deg, 16%, 45%);
|
2018-05-25 16:36:26 +00:00
|
|
|
|
|
|
|
$inverted-text-color: $black !default;
|
|
|
|
$lighter-text-color: $classic-base-color !default;
|
2024-08-20 15:56:44 +00:00
|
|
|
$light-text-color: hsl(240deg, 16%, 32%);
|
2018-05-25 16:36:26 +00:00
|
|
|
|
2022-06-01 17:22:35 +00:00
|
|
|
// Newly added colors
|
2018-05-26 08:53:44 +00:00
|
|
|
$account-background-color: $white !default;
|
2018-05-25 16:36:26 +00:00
|
|
|
|
2022-06-01 17:22:35 +00:00
|
|
|
// Invert darkened and lightened colors
|
2018-05-25 16:36:26 +00:00
|
|
|
@function darken($color, $amount) {
|
2024-09-18 17:39:32 +00:00
|
|
|
@return hsl(
|
|
|
|
hue($color),
|
|
|
|
color.channel($color, 'saturation', $space: hsl),
|
|
|
|
color.channel($color, 'lightness', $space: hsl) + $amount
|
|
|
|
);
|
2018-05-25 16:36:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@function lighten($color, $amount) {
|
2024-09-18 17:39:32 +00:00
|
|
|
@return hsl(
|
|
|
|
hue($color),
|
|
|
|
color.channel($color, 'saturation', $space: hsl),
|
|
|
|
color.channel($color, 'lightness', $space: hsl) - $amount
|
|
|
|
);
|
2018-05-25 16:36:26 +00:00
|
|
|
}
|
2020-06-09 08:28:23 +00:00
|
|
|
|
|
|
|
$emojis-requiring-inversion: 'chains';
|
2024-01-25 15:41:31 +00:00
|
|
|
|
2024-06-25 21:57:22 +00:00
|
|
|
body {
|
2024-08-20 15:56:44 +00:00
|
|
|
--dropdown-border-color: hsl(240deg, 25%, 88%);
|
2024-01-25 15:41:31 +00:00
|
|
|
--dropdown-background-color: #fff;
|
2024-08-20 15:56:44 +00:00
|
|
|
--modal-border-color: hsl(240deg, 25%, 88%);
|
2024-06-26 19:33:38 +00:00
|
|
|
--modal-background-color: var(--background-color-tint);
|
2024-08-20 15:56:44 +00:00
|
|
|
--background-border-color: hsl(240deg, 25%, 88%);
|
2024-03-12 09:51:30 +00:00
|
|
|
--background-color: #fff;
|
2024-06-25 21:57:22 +00:00
|
|
|
--background-color-tint: rgba(255, 255, 255, 80%);
|
2024-03-12 09:51:30 +00:00
|
|
|
--background-filter: blur(10px);
|
2024-08-19 22:11:58 +00:00
|
|
|
--on-surface-color: #{transparentize($ui-base-color, 0.65)};
|
2024-10-24 07:28:22 +00:00
|
|
|
--rich-text-container-color: rgba(255, 216, 231, 100%);
|
|
|
|
--rich-text-text-color: rgba(114, 47, 83, 100%);
|
|
|
|
--rich-text-decorations-color: rgba(255, 175, 212, 100%);
|
2024-11-21 16:10:04 +00:00
|
|
|
--input-placeholder-color: #{transparentize($dark-text-color, 0.5)};
|
2024-01-25 15:41:31 +00:00
|
|
|
}
|