selfhostable, read-only reddit client
16
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix colors, show gildings

Akshay e3183488 eb2b31f6

+16 -3
+4
src/mixins/comment.pug
··· 12 12 if prev_id 13 13 a(href=`#${prev_id}` title="scroll to previous comment").nav-link prev 14 14 |  ·  15 + if data.gilded > 0 16 + span.gilded 17 + | #{data.gilded} ☆ 18 + |  ·  15 19 span(class=`${data.is_submitter ? 'op' : ''}`) 16 20 | u/#{data.author} #{hats.length==0?'':`(${hats.join('|')})`} 17 21 |  · 
+4
src/mixins/post.pug
··· 12 12 div.info-container 13 13 p 14 14 | #{fmtnum(p.ups)} ↑ 15 + if p.gilded > 0 16 + |  ·  17 + span.gilded 18 + | #{p.gilded} ☆ 15 19 span.post-author 16 20 |  ·  17 21 | u/#{p.author}
+8 -3
src/public/styles.css
··· 5 5 --text-color: black; 6 6 --text-color-muted: #999; 7 7 --blockquote-color: green; 8 - --sticky-color: lightgreen; 8 + --sticky-color: #dcfeda; 9 + --gilded: darkorange; 9 10 --link-color: #29BC9B; 10 11 --link-visited-color: #999; 11 12 --accent: var(--link-color); ··· 23 24 --text-color: white; 24 25 --text-color-muted: #999; 25 26 --blockquote-color: lightgreen; 26 - --sticky-color: #034611; 27 + --sticky-color: #014413; 28 + --gilded: gold; 27 29 --link-color: #79ffe1; 28 30 --link-visited-color: #999; 29 31 --accent: var(--link-color); ··· 475 477 color: var(--accent); 476 478 } 477 479 480 + .gilded { 481 + color: var(--gilded); 482 + } 483 + 478 484 button { 479 485 border: 0px solid; 480 486 border-radius: 2px; ··· 624 630 border-radius: 2px; 625 631 border: 4px solid var(--sticky-color); 626 632 } 627 -