This theme is based on seven colors:
But defining only three should be enough.Globals/Variables tab
You can define colors manually with a $rgb if you find that the color found are ugly or not matching your needs (subcolors part).
![]()
// ===================================
//Colors to define
// ===================================
//Choose if your theme is "dark" or "light" 0 if light, 1 if dark
$puts(isdark,0)
//frame color, true green, red,violet and blue are nice values (color7)
$set_global(frame_color,$rgb(255,0,0))
//to keep the black and white aspect of colors (color1 to color6), DON'T TOUCH ANYTHING
//if you want to use other colors, then change something
//Usual color for text (color6)
$set_global(text_color_1,$rgb(0,0,0))
//text color for first line (color5) OPTIONAL I define it in the subcolor part
//$set_global(text_color_2,$rgb(245,245,245))
//Background color_main, (color1)
$set_global(background_color_1,$put(bg_color_mn,$rgb(245,245,245)))
//Background color_second (color4)
$set_global(background_color_2,$put(bg_color_sd,$rgb(0,0,0)))
// ===================================
//Subcolors
// ===================================
//we need from color2 to color5
//Defines the blending color
$puts(blend_color,$ifequal($get(isdark),0,$rgb(0,0,0),$rgb(255,255,255)))
//subcolors for alternate stripes (color2)
$set_global(color2,$blend($get(bg_color_mn),$get(blend_color),5,100))
//selected colors //color3 and 4 (alternate stripes when selected)
$set_global(color3,$blend($get(bg_color_mn),$get(blend_color),3,10))
$set_global(color4,$blend($get(bg_color_mn),$get(blend_color),4,10))
//color 5 for first line text, left frames
$set_global(color5,$blend($get(bg_color_mn),$get(blend_color),5,7))
![]()
![]()
![]()
Global/ style tab
![]()
// ===================================
//Text
// ===================================
$set_style(text,
$if(%isplaying%,
//color for plating files
$get_global(frame_color),
//color for other files
$get_global(color5)),
//the same when selected
$if(%isplaying%,$get_global(frame_color),$get_global(color5)))
// ===================================
//Background
// ===================================
$set_style(back,
$ifequal(%tracknumber%,1,
//color for track 1
$get_global(background_color_2),
//alternate stripes for other tracks
$ifequal($mod(%playlist_number%,2),1,$get_global(color2),$get_global(background_color_1))),
//selected colors alternate stripes with color 3 and 4
$ifequal($mod(%tracknumber%,2),1,$get_global(color3),$get_global(color4)))
// ===================================
//Frames
// ===================================
//frame top for track 1 and track2
$set_style(frame-top,$select(%tracknumber%,1,1),$get_global(frame_color))
//Frame-left to delimit columns, none for the first line,
$set_style(frame-left,$ifgreater(%tracknumber%,1,1,0),$get_global(color5))
![]()
![]()
![]()
Album column
![]()
// ===================================
//Text
// ===================================
$set_style(text,
$ifgreater(%tracknumber%,3,
//color for files with a tracknumber greater than 3
$get_global(text_color_1),
$ifequal(%tracknumber%,3,
//color for files with 3 as tracknumber
$get_global(color5),
//color for files with 1 or 2 as tracknumber
$get_global(background_color_1))),
//The same for selected colors:
$ifgreater(%tracknumber%,3,$get_global(text_color_1),
$ifequal(%tracknumber%,3,$get_global(color5),$get_global(background_color_1))))
// ===================================
//Background
// ===================================
$set_style(back,
$ifgreater(%tracknumber%,3,
//color files with a tracknumber greater than 3
$get_global(background_color_1),
//color for files with a tracknumber smaller than 3
$get_global(background_color_2)),
//selected colors the same as above
$ifgreater(%tracknumber%,3,$get_global(background_color_1),$get_global(background_color_2)))
// ===================================
//Frames
// ===================================
//frame top for track 1 and track2
$set_style(frame-top,$select(%tracknumber%,1,,,1),$get_global(frame_color))
//Frame-left for tracks with a tracknumber smaller than 3
$set_style(frame-left,$ifgreater(%tracknumber%,3,0,1),$get_global(frame_color))
![]()
![]()
![]()
Tracknumber column
![]()
// ===================================
//Frames
// ===================================
$set_style(frame-left,
//no frame for first files
$ifgreater(%tracknumber%,1,1,0),
$ifgreater(%tracknumber%,3,
//dark frame for tracks greater than 3
$get_global(color5),
//frame color (color7) for track 2 or 3
$get_global(frame_color)))![]()
![]()
![]()
Title & length column (columns on the right also)
![]()
// ===================================
//Text
// ===================================
//color1 for first track, color 6 for the rest
$set_style(text,
$ifgreater(%tracknumber%,1,$get_global(text_color_1),$get_global(background_color_1)),
//Same thing when selected.
$ifgreater(%tracknumber%,1,$get_global(text_color_1),$get_global(background_color_1)))![]()
![]()
![]()
Go back to main page
August 30 2007 02:11:01.