mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
UX: danger colour update (#18516)
* UX: danger colour update * Update test
This commit is contained in:
parent
98620f8e0e
commit
da9ce77ffd
@ -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;
|
||||||
|
@ -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)")
|
||||||
|
Loading…
Reference in New Issue
Block a user