2024-09-18 19:39:32 +02:00
|
|
|
@use 'sass:color';
|
|
|
|
|
2018-05-25 18:36:26 +02:00
|
|
|
// Dependent colors
|
|
|
|
$black: #000000;
|
|
|
|
$white: #ffffff;
|
|
|
|
|
2024-08-20 17:56:44 +02: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 18:36:26 +02:00
|
|
|
|
2024-08-20 17:56:44 +02: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 11:32:31 +02:00
|
|
|
|
2018-05-25 18:36:26 +02:00
|
|
|
// Differences
|
2024-08-20 17:56:44 +02:00
|
|
|
$success-green: lighten(hsl(138deg, 32%, 35%), 8%);
|
2018-05-26 10:53:44 +02:00
|
|
|
|
|
|
|
$base-overlay-background: $white !default;
|
|
|
|
$valid-value-color: $success-green !default;
|
2018-05-25 18:36:26 +02:00
|
|
|
|
|
|
|
$ui-base-color: $classic-secondary-color !default;
|
2024-08-20 17:56:44 +02:00
|
|
|
$ui-base-lighter-color: hsl(250deg, 24%, 75%);
|
2024-08-08 19:31:06 +02:00
|
|
|
$ui-primary-color: $classic-primary-color !default;
|
2018-05-25 18:36:26 +02:00
|
|
|
$ui-secondary-color: $classic-base-color !default;
|
2022-06-19 08:18:08 +02:00
|
|
|
$ui-highlight-color: $classic-highlight-color !default;
|
2018-05-25 18:36:26 +02:00
|
|
|
|
2023-07-03 11:32:31 +02: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 18:36:26 +02:00
|
|
|
$primary-text-color: $black !default;
|
|
|
|
$darker-text-color: $classic-base-color !default;
|
2024-01-25 16:41:31 +01:00
|
|
|
$highlight-text-color: $ui-highlight-color !default;
|
2024-08-20 17:56:44 +02:00
|
|
|
$dark-text-color: hsl(240deg, 16%, 32%);
|
|
|
|
$action-button-color: hsl(240deg, 16%, 45%);
|
2018-05-25 18:36:26 +02:00
|
|
|
|
|
|
|
$inverted-text-color: $black !default;
|
|
|
|
$lighter-text-color: $classic-base-color !default;
|
2024-08-20 17:56:44 +02:00
|
|
|
$light-text-color: hsl(240deg, 16%, 32%);
|
2018-05-25 18:36:26 +02:00
|
|
|
|
2022-06-01 19:22:35 +02:00
|
|
|
// Newly added colors
|
2018-05-26 10:53:44 +02:00
|
|
|
$account-background-color: $white !default;
|
2018-05-25 18:36:26 +02:00
|
|
|
|
2022-06-01 19:22:35 +02:00
|
|
|
// Invert darkened and lightened colors
|
2018-05-25 18:36:26 +02:00
|
|
|
@function darken($color, $amount) {
|
2024-09-18 19:39:32 +02:00
|
|
|
@return hsl(
|
|
|
|
hue($color),
|
|
|
|
color.channel($color, 'saturation', $space: hsl),
|
|
|
|
color.channel($color, 'lightness', $space: hsl) + $amount
|
|
|
|
);
|
2018-05-25 18:36:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@function lighten($color, $amount) {
|
2024-09-18 19:39:32 +02:00
|
|
|
@return hsl(
|
|
|
|
hue($color),
|
|
|
|
color.channel($color, 'saturation', $space: hsl),
|
|
|
|
color.channel($color, 'lightness', $space: hsl) - $amount
|
|
|
|
);
|
2018-05-25 18:36:26 +02:00
|
|
|
}
|
2020-06-09 10:28:23 +02:00
|
|
|
|
|
|
|
$emojis-requiring-inversion: 'chains';
|
2024-01-25 16:41:31 +01:00
|
|
|
|
2024-06-25 23:57:22 +02:00
|
|
|
body {
|
2024-08-20 17:56:44 +02:00
|
|
|
--dropdown-border-color: hsl(240deg, 25%, 88%);
|
2024-01-25 16:41:31 +01:00
|
|
|
--dropdown-background-color: #fff;
|
2024-08-20 17:56:44 +02:00
|
|
|
--modal-border-color: hsl(240deg, 25%, 88%);
|
2024-06-26 21:33:38 +02:00
|
|
|
--modal-background-color: var(--background-color-tint);
|
2024-08-20 17:56:44 +02:00
|
|
|
--background-border-color: hsl(240deg, 25%, 88%);
|
2024-03-12 10:51:30 +01:00
|
|
|
--background-color: #fff;
|
2024-06-25 23:57:22 +02:00
|
|
|
--background-color-tint: rgba(255, 255, 255, 80%);
|
2024-03-12 10:51:30 +01:00
|
|
|
--background-filter: blur(10px);
|
2024-08-20 00:11:58 +02:00
|
|
|
--on-surface-color: #{transparentize($ui-base-color, 0.65)};
|
2024-01-25 16:41:31 +01:00
|
|
|
}
|