MarcP has created a theme component called Rounded Borders that allows users to customize the appearance of images, oneboxes, blockquotes, and staff notices in Discourse. The component offers various settings, including rounding intensity, border width, and color for images and oneboxes, as well as support for topic thumbnails in list and grid views. It also enables customization of blockquote borders and avatar rounding. The component is applied site-wide through CSS, requiring users to enable specific toggles in the theme settings. Users have praised its functionality, with some requesting additional features like padding adjustments. MarcP has responded with updates, including avatar rounding and improved button styling. The component is available on GitHub, with installation instructions provided. MarcP shared examples in both light and dark modes, and the component can be tested in a live preview. robbie.morrison sought clarification on its application, which MarcP clarified as site-wide and requiring toggles to be enabled. Heliosurge and WorldIsMine expressed appreciation, while nafets-lesierk suggested padding improvements. robbie.morrison also suggested interface tweaks, which MarcP attributed to core translations.
I installed the Rounded Borders to my Default theme and left the provided defaults. But I don’t understand how this applies.
Does this work on a per‑uploaded‑image basis, site‑wide going forward, or site‑wide for everything?
Do I just need to upload and JPG and let it do its thing? Do I get some choices at that juncture? I am on a production site so I don’t like to experiment too much. Puzzled. TIA.
I can’t say for sure. But I believe it would be once installed moving forward. A test Upload new image and see if it has applied border. If not try the wrench on a specific post not topic and choose rebuild hmtl.
If it is not applied in either case you may need to check TC settings. Also ensure you have added it to themes in use. Refresh page to ensure settings are in effect as you maybe viewing cached pages.
They are CSS customizations, so they apply site-wide.
It’s mostly a personal component I decided to make public, so you may have to experiment with various settings to see how it works. Some settings have a toggle that has to be enabled before the settings are applied.