fix(console): improve project counters, dark primary color change, smaller UI improvements (#4620)

* dark primary color change, project counter, link color improvements

* update fallback colors

* fallback colors

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Max Peintner
2022-11-17 07:43:53 +00:00
committed by GitHub
co-authored by Livio Spring
parent dbb18342a1
commit 7db87f4646
15 changed files with 323 additions and 288 deletions
@@ -3,9 +3,16 @@
@mixin search-user-autocomplete-theme($theme) {
$primary: map-get($theme, primary);
$primary-color: mat.get-color-from-palette($primary, 500);
$lighter-primary-color: mat.get-color-from-palette($primary, 300);
$darker-primary-color: mat.get-color-from-palette($primary, 700);
$background: map-get($theme, background);
$foreground: map-get($theme, foreground);
$secondary-text: map-get($foreground, secondary-text);
$is-dark-theme: map-get($theme, is-dark);
$link-hover-color: if($is-dark-theme, mat.get-color-from-palette($primary, 200), $primary-color);
$link-color: if($is-dark-theme, $lighter-primary-color, $primary-color);
.user-autocomplete-found {
margin: 0.5rem 0;
@@ -67,11 +74,12 @@
margin-top: 0.5rem;
a {
color: $primary-color;
color: $link-color;
transition: color 0.2s ease;
&:hover {
cursor: pointer;
color: mat.get-color-from-palette($primary, 400);
color: $link-hover-color;
text-decoration: underline;
}
}