2018-01-14 02:41:15 +01:00
|
|
|
@mixin baseTheme() {
|
2018-04-05 06:45:19 +02:00
|
|
|
|
|
|
|
$deemphasized-color: #666;
|
|
|
|
|
2018-01-13 03:12:39 +01:00
|
|
|
--button-primary-bg: lighten($main-theme-color, 7%);
|
|
|
|
--button-primary-text: $secondary-text-color;
|
|
|
|
--button-primary-border: darken($main-theme-color, 30%);
|
|
|
|
--button-primary-bg-active: lighten($main-theme-color, 1%);
|
|
|
|
--button-primary-bg-hover: lighten($main-theme-color, 9%);
|
2018-01-12 18:01:46 +01:00
|
|
|
|
2018-01-13 03:12:39 +01:00
|
|
|
--button-bg: darken($main-bg-color, 10%);
|
|
|
|
--button-text: $main-text-color;
|
|
|
|
--button-border: darken($border-color, 20%);
|
|
|
|
--button-bg-active: darken($main-bg-color, 25%);
|
|
|
|
--button-bg-hover: darken($main-bg-color, 5%);
|
2018-01-12 18:01:46 +01:00
|
|
|
|
2018-01-13 03:12:39 +01:00
|
|
|
--input-border: $border-color;
|
2018-01-13 19:53:25 +01:00
|
|
|
--anchor-text: $anchor-color;
|
2018-01-13 03:12:39 +01:00
|
|
|
--main-bg: $main-bg-color;
|
2018-01-14 04:17:41 +01:00
|
|
|
--body-bg: $body-bg-color;
|
2018-01-13 03:12:39 +01:00
|
|
|
--body-text-color: $main-text-color;
|
|
|
|
--main-border: $border-color;
|
2018-01-14 05:07:11 +01:00
|
|
|
--svg-fill: $main-theme-color;
|
2018-01-12 18:01:46 +01:00
|
|
|
|
2018-01-13 03:12:39 +01:00
|
|
|
--form-bg: darken($main-bg-color, 3%);
|
|
|
|
--form-border: darken($border-color, 10%);
|
|
|
|
|
|
|
|
--nav-bg: $main-theme-color;
|
|
|
|
--nav-border: darken($main-theme-color, 10%);
|
|
|
|
--nav-a-border: $main-theme-color;
|
|
|
|
--nav-a-selected-border: $secondary-text-color;
|
|
|
|
--nav-a-selected-bg: lighten($main-theme-color, 10%);
|
|
|
|
--nav-svg-fill: $secondary-text-color;
|
|
|
|
--nav-text-color: $secondary-text-color;
|
|
|
|
|
|
|
|
--nav-a-selected-border-hover: $secondary-text-color;
|
|
|
|
--nav-a-selected-bg-hover: lighten($main-theme-color, 15%);
|
|
|
|
--nav-a-bg-hover: lighten($main-theme-color, 5%);
|
|
|
|
--nav-a-border-hover: $main-theme-color;
|
|
|
|
--nav-svg-fill-hover: $secondary-text-color;
|
|
|
|
--nav-text-color-hover: $secondary-text-color;
|
|
|
|
|
2018-01-21 06:42:46 +01:00
|
|
|
--action-button-fill-color: lighten($main-theme-color, 18%);
|
|
|
|
--action-button-fill-color-hover: lighten($main-theme-color, 22%);
|
2018-01-13 03:12:39 +01:00
|
|
|
--action-button-fill-color-active: lighten($main-theme-color, 5%);
|
2018-01-21 06:42:46 +01:00
|
|
|
--action-button-fill-color-pressed: darken($main-theme-color, 7%);
|
|
|
|
--action-button-fill-color-pressed-hover: darken($main-theme-color, 2%);
|
2018-01-21 06:46:33 +01:00
|
|
|
--action-button-fill-color-pressed-active: darken($main-theme-color, 15%);
|
2018-01-13 19:53:25 +01:00
|
|
|
|
2018-04-05 06:45:19 +02:00
|
|
|
--action-button-deemphasized-fill-color: $deemphasized-color;
|
|
|
|
--action-button-deemphasized-fill-color-hover: lighten($deemphasized-color, 22%);
|
|
|
|
--action-button-deemphasized-fill-color-active: lighten($deemphasized-color, 5%);
|
|
|
|
--action-button-deemphasized-fill-color-pressed: darken($deemphasized-color, 7%);
|
|
|
|
--action-button-deemphasized-fill-color-pressed-hover: darken($deemphasized-color, 2%);
|
|
|
|
--action-button-deemphasized-fill-color-pressed-active: darken($deemphasized-color, 15%);
|
|
|
|
|
2018-01-13 19:53:25 +01:00
|
|
|
--settings-list-item-bg: $main-bg-color;
|
|
|
|
--settings-list-item-text: $main-theme-color;
|
|
|
|
--settings-list-item-text-hover: $main-theme-color;
|
|
|
|
--settings-list-item-border: $border-color;
|
|
|
|
--settings-list-item-bg-active: darken($main-bg-color, 10%);
|
|
|
|
--settings-list-item-bg-hover: darken($main-bg-color, 2%);
|
2018-01-14 20:22:57 +01:00
|
|
|
|
|
|
|
--toast-bg: $toast-bg;
|
|
|
|
--toast-border: $toast-border;
|
|
|
|
--toast-text: $secondary-text-color;
|
|
|
|
|
|
|
|
--mask-bg: $toast-bg;
|
|
|
|
--mask-svg-fill: $secondary-text-color;
|
2018-01-21 04:19:24 +01:00
|
|
|
--mask-opaque-bg: rgba($toast-bg, 0.8);
|
2018-01-23 06:47:29 +01:00
|
|
|
--loading-bg: #ededed;
|
2018-01-15 04:28:50 +01:00
|
|
|
|
2018-04-05 06:45:19 +02:00
|
|
|
--deemphasized-text-color:$deemphasized-color;
|
2018-01-21 19:53:15 +01:00
|
|
|
--focus-outline: $focus-outline;
|
2018-01-28 03:25:49 +01:00
|
|
|
|
2018-02-04 21:49:42 +01:00
|
|
|
--very-deemphasized-link-color: rgba($anchor-color, 0.6);
|
|
|
|
--very-deemphasized-text-color: rgba(#666, 0.6);
|
|
|
|
|
2018-01-28 21:51:48 +01:00
|
|
|
--status-direct-background: darken($body-bg-color, 5%);
|
2018-02-26 02:21:17 +01:00
|
|
|
--main-theme-color: $main-theme-color;
|
|
|
|
--warning-color: #e01f19;
|
2018-03-02 06:21:49 +01:00
|
|
|
--alt-input-bg: rgba($main-bg-color, 0.7);
|
2018-03-21 05:26:53 +01:00
|
|
|
|
|
|
|
--muted-modal-bg: transparent;
|
|
|
|
--muted-modal-focus: #999;
|
|
|
|
--muted-modal-hover: rgba(255, 255, 255, 0.2);
|
2018-03-25 03:04:54 +02:00
|
|
|
|
|
|
|
--compose-autosuggest-item-hover: $compose-background;
|
|
|
|
--compose-autosuggest-item-active: darken($compose-background, 5%);
|
|
|
|
--compose-autosuggest-outline: lighten($focus-outline, 5%);
|
2018-03-27 09:02:55 +02:00
|
|
|
|
2018-03-28 18:07:00 +02:00
|
|
|
--compose-button-halo: rgba(255, 255, 255, 0.1);
|
2018-01-14 03:59:49 +01:00
|
|
|
}
|