Update Gantt chart colors to use Open Color palette (#43256).

git-svn-id: https://svn.redmine.org/redmine/trunk@24036 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2025-10-07 08:33:38 +00:00
parent a524967fbc
commit 48d1a43882
2 changed files with 11 additions and 5 deletions

View File

@@ -30,8 +30,14 @@ module Redmine
# Relation types that are rendered
DRAW_TYPES = {
IssueRelation::TYPE_BLOCKS => {:landscape_margin => 16, :color => '#F34F4F'},
IssueRelation::TYPE_PRECEDES => {:landscape_margin => 20, :color => '#628FEA'}
IssueRelation::TYPE_BLOCKS => {
:landscape_margin => 16,
:color => '#fa5252' # oc-red-6
},
IssueRelation::TYPE_PRECEDES => {
:landscape_margin => 20,
:color => '#228be6' # oc-blue-6
}
}.freeze
UNAVAILABLE_COLUMNS = [:tracker, :id, :subject]