Fix colour theme visibility
Signed-off-by: trivernis <trivernis@protonmail.com>pull/14/head
parent
5b00bd7a5b
commit
e5a071cfad
@ -1,26 +0,0 @@
|
||||
@use 'sass:map';
|
||||
@use '../../../../../../node_modules/@angular/material/index' as mat;
|
||||
|
||||
@mixin color($theme) {
|
||||
$color-config: mat.get-color-config($theme);
|
||||
$primary-palette: map.get($color-config, 'primary');
|
||||
|
||||
mat-card.selected {
|
||||
background-color: mat.get-color-from-palette($primary-palette, 'darker');
|
||||
}
|
||||
}
|
||||
|
||||
@mixin typography($theme) {
|
||||
}
|
||||
|
||||
@mixin theme($theme) {
|
||||
$color-config: mat.get-color-config($theme);
|
||||
@if $color-config != null {
|
||||
@include color($theme);
|
||||
}
|
||||
|
||||
$typography-config: mat.get-typography-config($theme);
|
||||
@if $typography-config != null {
|
||||
@include typography($theme);
|
||||
}
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
@use 'sass:map';
|
||||
@use '../../../../../../node_modules/@angular/material/index' as mat;
|
||||
|
||||
@mixin color($theme) {
|
||||
$color-config: mat.get-color-config($theme);
|
||||
$primary-palette: map.get($color-config, 'primary');
|
||||
$warn-palette: map.get($color-config, 'warn');
|
||||
|
||||
.tag-input-item {
|
||||
background-color: dimgrey;
|
||||
border-radius: 1em;
|
||||
}
|
||||
|
||||
mat-form-field:focus {
|
||||
background-color: dimgrey;
|
||||
}
|
||||
|
||||
#sort-button {
|
||||
background-color: darken(dimgrey, 5);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin typography($theme) {
|
||||
}
|
||||
|
||||
@mixin theme($theme) {
|
||||
$color-config: mat.get-color-config($theme);
|
||||
@if $color-config != null {
|
||||
@include color($theme);
|
||||
}
|
||||
|
||||
$typography-config: mat.get-typography-config($theme);
|
||||
@if $typography-config != null {
|
||||
@include typography($theme);
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
@import "colors";
|
||||
|
||||
.mat-form-field.mat-focused .mat-form-field-label {
|
||||
color: $primary-lighter-30;
|
||||
}
|
||||
|
||||
.mat-input-element {
|
||||
caret-color: $primary-lighter-20;
|
||||
}
|
||||
|
||||
.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple) {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: $primary-lighter-20;
|
||||
}
|
||||
|
||||
.mat-dialog-container {
|
||||
background: $background;
|
||||
}
|
||||
|
||||
.mat-drawer {
|
||||
background: $background;
|
||||
}
|
||||
|
||||
.mat-flat-button, .mat-raised-button, .mat-fab, .mat-mini-fab {
|
||||
background: $background;
|
||||
}
|
||||
|
||||
// scrollbar
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background: $background-darker-05;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: $primary-darker-10;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: $primary;
|
||||
border-radius: 5px;
|
||||
}
|
Loading…
Reference in New Issue