TerraKnight

that one queer gamer maddievee

finally putting socials here since cohost is dying
hell bird site: https://twitter.com/MaddieSeesVees
the sky is blueing: https://bsky.app/profile/terraknight27.bsky.social
cohost but bad: https://www.tumblr.com/terraknight27
and even discord if i know you: terra.knight


kiophen
@kiophen

I turned my themes into a more easily customizable theme. From the stylus extension button, you can change the background color, text, and accent color using a color picker.

It comes with 20 pre-made themes as well, some are shown in the image.

Download here (userstyles.world)

Or here (github)

(userstyles.world is having some problems with downloads right now, if you get an API error try the github link.)


How to use:

  • You will need the stylus extension
  • Install the theme from the download link
  • From the Stylus icon, click the gear next to "Cohost Theme Customizer" to get to the color picker

Let me know if some part of the website is ignoring the theming. Thanks


You must log in to comment.

in reply to @kiophen's post:

Hello, can you please preserve the current "dark mode" as a selectable style? (I mean the berry sidebar/banner, dark background, cream/white posts, cream comments. just the exact style.)

There really needs to be a way to change sidebar, post background, post header/footer and comment background colors. I find myself to really struggle to make good-looking layouts with the contrast slider, aside from wanting to be able to recreate the current style anyway.

Well. To be honest, if I understood which parts of the code influence which parts of the site, then I could do this myself, I extracted the color palette. I just don't know where to put any of the hex colors in the code.

I can't figure out how to apply the #191919 to the background properly. Eventually I managed to apply it, but then the sidebar and header got the same color. What element exactly is the background that doesn't influence the sidebar and header?

(Note: I'm not editing your code, I'm using the original color root code of cohost)

I'm kinda conflicted, tbh, whether to use this in conjunction with teal ghost (so elements use the full screen are) or not. Anyway, this is fantastic and I've quickly become a firm Eggbug Light and Mew enjoyer, thanks for making this~!

This is super useful, thanks! Made myself a winter theme :-)

The only issue, are disabled buttons supposed to be based on text colors? I have primary text black and secondary as dark blue, and when a comment box is empty the buttons look like two black rectangles.

And just realized that on mouseover their background color seems to not be themed. EDIT: mouseovers on tags (in the post editor) seem to not be themed either

(I'm a Firefox user)

I don't think so, it requires a browser extension to work, and I didn't see it available for android firefox. If you just want a dark-mode skin, you can use firefox with the Dark Reader extension, that's what i use.

Hey I use this on Firefox, but stylus isn’t available on iOS on safari, but I found an extension that lets me inject custom css in a similar way though it’s a bit barebones, I was wondering if there’s a way I could grab the css color values that are changed with your theme editor from the desktop version and just copy paste the css into my little extension

I've been using this customizer for most of my time on cohost and I really appreciate it for making the site far more Viewable. In the last several days it's sporadically stopped working for me (on Firefox) and I'm not sure why. Looking at the theme code, Stylus gives an "Unknown word" error on line 228, and if that line is commented out it gives the same error on line 308. Both of those lines consist of .mixin(@ch_theme);. I don't know enough to try to diagnose what the problem is, but hopefully if it is something with the script and/or cohost and not just something on my end, that might help narrow it down.

I wish I could help, but I have no idea what it could be.. I haven't had any problems on firefox yet.

Those errors have been on my end as well since I first wrote it. I saw another userstyle for a different site using the same formatting I use there, and Stylus would display the error for it as well. However, both that one and mine are working fine, so I ignored it. I think it's just the Stylus code editor thinking it's invalid code when it's not?

I would double check that there isn't a conflicting userstyle toggled on in Stylus, and reinstall the customizer. If it still doesn't work, I can make a static version of one of the themes (or a custom theme if you can get me the colors) and send it to you.

i've actually been having this same problem, preventing me from having this stylus from working in the first place and unable to look at all the options and how it looks on my own cohost at all. I've uninstalled the only other stylus style i had there and reinstalled and still, unable to change.

i wanted to see eggbug dark, chitter, mew, and gelmew. Sorry to hop onto a 2 month old post but this has been plaguing me since i first found out about this, and im not sure what's up, especially since that line of code is located elsewhere and is fine.

Hey, sorry it hasn't been working. I went and pushed an update to it just now that restructures how the style works internally. If it still doesn't work, I can make static versions of those themes and send them to you.

Works like a charm! There were a couple of small holes in the styling I was able to fill up myself for continuity and usability's sake, like with the account dropdown's hover item background, but overall your themes work amazingly. Better than anything I've tried for sure, including what I've attempted to do myself, which went off like a went blanket.

Also, I read some of your comments in the CSS, which both amused me and I agree with. I assume this place is running on Tailwind CSS and React, and that makes it EXCEEDINGLY frustrating and difficult to style because of the lack of unique classes, IDs, and attributes. Everything's just very generalized and makes it impossible to specifically target certain elements well, if at all. You did a bang up job though, so kudos!

Glad it works after the recent update! Tailwind is a demonic evil tool designed to specifically torture people who make userstyles. "Let's recreate inline styles, except using the class attribute instead!" "Lets define a bunch of CSS variables, and then not use any of them!" <- Statements dreamed up by the utterly Deranged

I've had very little experience, almost none actually, with Tailwind, but I can say that even trying to style that was an exercise in madness, so I get what you're saying. XD It's just messy and for us that use userstyles it makes it practically impossible to do anything with, without injecting javascript or doing something very iffy to get it working. Hell, what I did do actually broke recently for whatever reason, so that's a good example. So, I'm happy to have your work for sure.

i accidentally forgot to fix it today and yesterday because i was doing jigsaw puzzles literally the entire time i wasn't busy but I'll get it tomorrow !!
i think this is probably the best place for bug reports because i check my notifications here more than i check github

Amazing work thank you! I could customize the colors of this site to look like the pits of hell where I browse from, it doesn't change the notification banner color but that's just a lil detail, still awesome :)