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

authored by

Akshay and committed by
PortableProgrammer
33544656 12fba690

+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
··· 14 14 div.info-container 15 15 p 16 16 | #{fmtnum(p.ups)} ↑ 17 + if p.gilded > 0 18 + |  ·  19 + span.gilded 20 + | #{p.gilded} ☆ 17 21 span.post-author 18 22 |  ·  19 23 | 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); ··· 654 656 color: var(--accent); 655 657 } 656 658 659 + .gilded { 660 + color: var(--gilded); 661 + } 662 + 657 663 button { 658 664 border: 0px solid; 659 665 border-radius: 2px; ··· 803 809 border-radius: 2px; 804 810 border: 4px solid var(--sticky-color); 805 811 } 806 -