dos h0104 difColor - cwtickle/danoniplus-docs GitHub Wiki
English | Japanese
Home > Chart settings specification > Music & chart information
| <- dummyId | difColor | difCustomLink -> |
difColor
- Color settings by difficulty level for the music selection screen
Overview
|difColor=5/,10/#9999ff,15/#ff9999,20/#ffff00,25/#cc99ff|
Usage
You can set the colors used for each difficulty level on the music selection screen.
Each set is separated by commas and specified as a pair of threshold difficulty and color code.
If you omit the color code, a color matching the background will be automatically applied (default value).
The threshold value indicates "less than."
In the example above, the default color applies for difficulty levels less than 5, "#9999ff" for difficulty levels less than 10, and "#ff9999" for difficulty levels less than 15.
Additional remark
- The settings configured here are stored internally in
g_headerObj.difColorListand saved in the format shown below. - You can use this data in custom JavaScript to apply colors to other screens.
g_headerObj.difColorList = [
{threshold: 5, color: ``},
{threshold: 10, color: `#9999ff`},
{threshold: 15, color: `#ff9999`},
{threshold: 20, color: `#ffff00`},
{threshold: 25, color: `#cc99ff`},
{threshold: Infinity, color: ``},
];
Related pages
Changelog
| Version | Change details |
|---|---|
| v46.6.0 | - initial implementation |
| <- dummyId | difColor | difCustomLink -> |