Same as https://userstyles.world/style/6065/libreddit-colored-comments, but with a custom colour scheme to look better with the rosebox libreddit theme.
Libreddit colored comments by j0ee
Details
Authorj0ee
LicenseMIT
Categoryreddit.adminforge.de
Created
Updated
Size1.3 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Libreddit colored comments
@namespace userstyles.world/user/vednoc
@description Customizable colored comments for Libreddit.
@author vednoc <vednoc@pm.me> (https://github.com/vednoc)
@version 1.0.0
@license MIT
@preprocessor stylus
@var checkbox enable 'Enable libreddit' 1
@var range lineWidth 'Line width' [2, 1, 8, 1]
@var color color1 'Level 1 color' #f07178
@var color color2 'Level 2 color' #f78c6c
@var color color3 'Level 3 color' #ffcb6b
@var color color4 'Level 4 color' #f3ff89
@var color color5 'Level 5 color' #c3e88d
@var color color6 'Level 6 color' #8de89e
@var color color7 'Level 7 color' #89ddff
@var color color8 'Level 8 color' #82aaff
@var color color9 'Level 9 color' #c792ea
@var color color10 'Level 10 color' #9a91ea
==/UserStyle== */
@-moz-document domain('reddit.adminforge.de') {
t = transparent
i = !important
:root { content: 'Libreddit colored comments v1.0.0' }
if enable {
$str = '.thread > div > .comment_left '
for $i in 1..10 {
{ $str } > .line {
background: color + $i i
width: s('%spx', lineWidth) i
}
$str += '+ details > .replies > .comment > .comment_left '
}
}
}