Removing the @todo tag of "hard-coded" color to use global settings with the default value

Created on 18 February 2023, over 1 year ago
Updated 19 February 2023, over 1 year ago

Problem/Motivation

Inside of the code there is a hard-coded color which is expected because we have a @todo tag comment saying that we'll remove the hard-coded value to use global settings with the default value

// @todo Add primary bg color in global settings form
$background_color = '#0d77b5';

The global settings value was added at πŸ“Œ Add the missing "Background Color" into global settings form Fixed so now we can remove this hard-coded value, and use the value from global settings

Proposed resolution

Replace all the places where was using the hard coded value for background_color = '#0d77b5' and use the value from global settings as explained in the @todo comment

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.4

Component

Code

Created by

πŸ‡§πŸ‡·Brazil RenatoG Campinas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024