Skip to content

Commit

Permalink
Tune a bit the background of the progressing flash
Browse files Browse the repository at this point in the history
  • Loading branch information
andreslucena committed Dec 14, 2023
1 parent 16cfd1d commit 7d3314d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/packs/stylesheets/decidim/decidim_application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
--bg-finished: #f6f5fc;
--progressing: #165922;
--bg-progressing: #c4ecd0;
--bg-progressing-2: #f6fdf9;
}

span.label.finished {
Expand All @@ -21,6 +22,6 @@ div.flash.finished {
}

div.flash.progressing {
background-color: var(--bg-progressing);
background-color: var(--bg-progressing-2);
border-color: var(--progressing);
}
2 changes: 1 addition & 1 deletion spec/features/proposals_answers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
it "views the overrided colors" do
within "main" do
# Capybara understands rgba instead of hexadecimal colors
expect(page.find("div.flash.progressing")).to match_style("background-color" => "rgba(196, 236, 208, 1)")
expect(page.find("div.flash.progressing")).to match_style("background-color" => "rgba(246, 253, 249, 1)")
expect(page.find("div.flash.progressing")).to match_style("border-color" => "rgb(22, 89, 34)")
end
end
Expand Down

0 comments on commit 7d3314d

Please sign in to comment.