Skip to content

Commit

Permalink
fix(openchallenges): fix button on home page (#2318)
Browse files Browse the repository at this point in the history
* force text color to white

* uppercase transformation

* lint
  • Loading branch information
vpchung authored Nov 4, 2023
1 parent cfde440 commit b00d56e
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@use 'sass:map';
@use '@angular/material' as mat;


@mixin color($theme) {
$config: mat.get-color-config($theme);
$primary: map.get($config, 'primary');
Expand All @@ -12,15 +11,20 @@
color: white;

.btn-block {
background-color: mat.get-color-from-palette($accent);
color: white;
background-color: mat.get-color-from-palette($accent);
}
.btn-block:hover {
background-color: mat.get-color-from-palette($accent, 500);
background-color: mat.get-color-from-palette($accent, 500);
}
}
}

@mixin typography($theme) {}
@mixin typography($theme) {
#organizer-cta .btn-block {
text-transform: uppercase;
}
}

@mixin theme($theme) {
$color-config: mat.get-color-config($theme);
Expand All @@ -32,4 +36,4 @@
@if $typography-config != null {
@include typography($theme);
}
}
}

0 comments on commit b00d56e

Please sign in to comment.