UX: danger colour update (#18516)

* UX: danger colour update

* Update test
This commit is contained in:
chapoi 2022-10-12 19:01:01 +02:00 committed by GitHub
parent 98620f8e0e
commit da9ce77ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,6 @@ $quaternary: #e45735 !default;
$header_background: #ffffff !default; $header_background: #ffffff !default;
$header_primary: #333333 !default; $header_primary: #333333 !default;
$highlight: #ffff4d !default; $highlight: #ffff4d !default;
$danger: #e45735 !default; $danger: #c80001 !default;
$success: #009900 !default; $success: #009900 !default;
$love: #fa6c8d !default; $love: #fa6c8d !default;

View File

@ -1220,7 +1220,7 @@ RSpec.describe Report do
page_view_logged_in_report = reports.data.find { |r| r[:req] == "page_view_logged_in" } page_view_logged_in_report = reports.data.find { |r| r[:req] == "page_view_logged_in" }
page_view_anon_report = reports.data.find { |r| r[:req] == "page_view_anon" } page_view_anon_report = reports.data.find { |r| r[:req] == "page_view_anon" }
expect(page_view_crawler_report[:color]).to eql("rgba(228,87,53,0.75)") expect(page_view_crawler_report[:color]).to eql("rgba(200,0,1,0.75)")
expect(page_view_crawler_report[:data][0][:y]).to eql(3) expect(page_view_crawler_report[:data][0][:y]).to eql(3)
expect(page_view_logged_in_report[:color]).to eql("rgba(0,136,204,1)") expect(page_view_logged_in_report[:color]).to eql("rgba(0,136,204,1)")