Comment by [deleted] on 15/02/2020 at 18:27 UTC

1 upvotes, 0 direct replies (showing 0)

View submission: Creating flair in redesign

Just a note on this, because I wanted to put this somewhere. I have subreddits that were created before the "new Reddit" redesign, including link and post flairs. With no formatting on them, mind you, just the default appearance. Nowadays I kind of swap back and forth between old and new Reddit, depending on which features I need to access. Recently somebody gave me an idea for a new flair, so I added it using the new Reddit interface. Again just leaving the default appearance. And it looked different, in both old and new Reddit.

Here's a demonstration: https://imgur.com/gallery/CRDfrlj[1][2]

1: https://imgur.com/gallery/CRDfrlj

2: https://imgur.com/gallery/CRDfrlj

So the flair created in old Reddit and viewed in old Reddit have an #F5F5F5 background with that little outline around it. Those flair viewed in new Reddit have an #EDEFF1 background. User flair created in new Reddit have a background of #FFFFFF in both places, which I think is hard to see if the general background color is also the default white. Post flair created in new Reddit have a background of #DBDBDB in both places. Also of note is the flair created in new Reddit, when seen in old Reddit, have a larger font size than the flair created in old Reddit.

At this point, I don't specifically care whether they look like the ones created in old Reddit or new Reddit, I just want them to look *the same* as each other within both particular views. Fortunately, the solution turns out to be simple. If you apply a background color to a flair from the new Reddit interface, it will update in old Reddit at the same time, with no need to do any CSS stylesheet stuff. The font size is also changed to match flair that was created in new Reddit in the first place.

Perhaps there is something to be said for the post flair and user flair looking different from each other, though. I plan to go with: Post flair #DBDBDB User flair #EDEFF1

Replies

There's nothing here!