Skip to content

Commit 64f4a76

Browse files
committed
ui/fix: announcement color
1 parent 7b54961 commit 64f4a76

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

Diff for: assets/sass/colorscheme.scss

+5
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ $tag-hint-active: rgba($primary, 0.1);
211211
$success-light: lighten($success, 50);
212212
$danger-light: lighten($danger, 50);
213213

214+
$is-announce: #bfb40c;
215+
214216
// Hover case
215217
$primary-hover: lighten($primary, 10);
216218
$link-hover: lighten($link, 10);
@@ -381,6 +383,7 @@ $button-vote-danger-background: $danger;
381383
--tag-hint: #{$tag-hint};
382384
--tag-hint-active: #{$tag-hint-active};
383385
--success-light: #{$success-light};
386+
--is-announce: #{$is-announce};
384387

385388
// Hover case
386389
--primary-hover: #{$primary-hover};
@@ -550,6 +553,7 @@ $link: $green-frac6;
550553
$link2: $green;
551554
$info: hsl(204, 86%, 53%);
552555
$success: hsl(141, 71%, 38%);
556+
$is-announce: #eedb44;
553557
//$warning: hsl(48, 100%, 47%);
554558
$warning: $orange;
555559
$danger: hsl(368, 100%, 61%);
@@ -744,6 +748,7 @@ $button-vote-danger-background: $danger-light;
744748
--tag-hint: #{$tag-hint};
745749
--tag-hint-active: #{$tag-hint-active};
746750
--success-light: #{$success-light};
751+
--is-announce: #{$is-announce};
747752

748753
// Hover case
749754
--primary-hover: #{$primary-hover};

Diff for: assets/sass/fractal6.scss

+6
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,12 @@ a.is-link {
292292
color: var(--link-discrete);
293293
}
294294
}
295+
.has-text-announce {
296+
color: var(--is-announce);
297+
}
298+
.has-background-announce {
299+
background-color: var(--is-announce);
300+
}
295301
.is-name{
296302
color: var(--text-strong);
297303
}

Diff for: src/Bulk/View.elm

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ tensionTypeColor elt tt =
375375
"has-" ++ elt ++ "-danger"
376376

377377
TensionType.Announcement ->
378-
"has-" ++ elt ++ "-primary"
378+
"has-" ++ elt ++ "-announce"
379379

380380

381381
tensionTypeIcon : TensionType.TensionType -> String

0 commit comments

Comments
 (0)