Project

General

Profile

Actions

Feature #43425

closed

Update colors of Markdown "Warning" and "Caution" alerts to be consistent with standards

Added by Go MAEDA 1 day ago. Updated about 11 hours ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

The attached patch updates the colors of Markdown "Warning" and "Caution" alerts. It changes "Warning" to use orange and "Caution" to use yellow, so that their colors match the usual meaning of these terms and align with safety sign standards such as ISO 3864 and ANSI Z535.

Currently, the Markdown alert boxes in Redmine use yellow for "Warning" and red for "Caution." However, in general usage, "warning" indicates a higher level of risk than "caution." Using yellow for "Warning" and red for "Caution" therefore feels inverted and counterintuitive.

According to the international safety sign standard ISO 3864, the risk levels are defined in the order of "DANGER" (red), "WARNING" (orange), and "CAUTION" (yellow). This means that "WARNING" represents a higher risk than "CAUTION," and colors such as red or orange correspond to higher danger levels than yellow. The ANSI Z535 standard follows the same convention, defining "WARNING" as orange and "CAUTION" as yellow.

GitHub's Markdown alerts, on the other hand, use a yellowish-brown color for "Warning" and red for "Caution." Redmine's current color scheme appears to have been inspired by this design. GitLab, however, does the opposite: it uses red for "Warning" and a yellowish tone for "Caution," assigning the stronger color to the more serious term.

For Redmine, it would be clearer and more consistent with both international standards and common expectations if "Warning" used orange and "Caution" used yellow. This adjustment would align the color hierarchy with the actual levels of risk and make Markdown content easier to understand at a glance. Because Redmine is a general-purpose tool used across many industries, following widely recognized conventions and standards would help ensure a more intuitive experience for all users.

Current colors:

Updated colors:


Files


Related issues

Related to Redmine - Feature #42603: Enable commonmark alert extensionClosedMarius BĂLTEANU

Actions
Blocks Redmine - Defect #43420: Markdown alerts are missing styling in email notificationsResolvedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA 1 day ago

  • Blocks Defect #43420: Markdown alerts are missing styling in email notifications added
Actions #2

Updated by Go MAEDA 1 day ago

Actions #3

Updated by Marius BĂLTEANU 1 day ago

  • Target version changed from Candidate for next minor release to 6.1.1
Actions #4

Updated by Go MAEDA about 20 hours ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch in r24105.

Actions #5

Updated by Go MAEDA about 11 hours ago

  • Status changed from Resolved to Closed

Backported the change to 6.1-stable in r24106.

Actions

Also available in: Atom PDF