userstyles icon indicating copy to clipboard operation
userstyles copied to clipboard

feat(tangled): init

Open NekoDrone opened this issue 4 months ago • 16 comments

🎉 Theme for tangled.sh 🎉

tangled.sh is a git collaboration platform (like GitHub) on the ATProto!

💬 Additional Comments 💬

tangled uses Tailwind for styling, so a lot of the components that are styled in this userstyle are based off the application of certain Tailwind utility classes. This means that it is likely to break and be a rather large maintenance burden on me.

I am intending to write PRs to upstream to give components aria-labels, ids, roles, or other forms of identifiers to hopefully reduce said burden.

🗒 Checklist 🗒

  • [x] I have read and followed Catppuccin's submission guidelines.
  • [x] I have made a new directory underneath /styles/<name-of-website> containing the contents of the /template directory.
    • [x] I have ensured that the new directory is in lower-kebab-case.
    • [x] I have followed the template and kept the preprocessor as LESS.
  • [x] I have made sure to update the userstyles.yml file with information about the new userstyle.
  • [x] I have included the following files:
    • [x] catppuccin.user.less - all the CSS for the userstyle, based on the template.

NekoDrone avatar Aug 12 '25 14:08 NekoDrone

Some unthemed areas in prose: bold text in https://tangled.sh/@tangled.sh/core/blob/master/readme.md, headings and non-highlighted code blocks in https://tangled.sh/@tangled.sh/core/blob/master/docs/knot-hosting.md.

uncenter avatar Aug 16 '25 12:08 uncenter

why is a direct markdown doc view rendered differently from the repo readme 😭

NekoDrone avatar Aug 16 '25 13:08 NekoDrone

why is a direct markdown doc view rendered differently from the repo readme 😭

It's also unthemed when the main repo readme is rendered though? https://tangled.sh/@tangled.sh/core#tangled

uncenter avatar Aug 16 '25 13:08 uncenter

Text in comment/presumably other input boxes is unthemed.

uncenter avatar Aug 16 '25 13:08 uncenter

Text in list items is unthemed (we love Tailwind prose....): https://tangled.sh/@tangled.sh/core/issues/130#706201.

uncenter avatar Aug 16 '25 13:08 uncenter

i was talking about codeblocks on a readme but i'm realising that the style is getting applied because of chroma.

if a language is unspecified in the markdown, it doesn't get chroma applied to it, and so it doesn't get styled

also my god tailwind prose is a mess.

NekoDrone avatar Aug 16 '25 13:08 NekoDrone

let me just do one final check through myself

NekoDrone avatar Aug 16 '25 13:08 NekoDrone

for code blocks, i'm deliberately putting the background at base even though the chroma import puts the background at surface0, preserves tangled's choice

NekoDrone avatar Aug 16 '25 13:08 NekoDrone

okay, I think that's everything

i cannot wait to add aria labels and ids to upstream my god

NekoDrone avatar Aug 16 '25 14:08 NekoDrone

Aria-label's aren't great for theming as they are localisation based, adding proper accessibility roles and such would achieve the similar thing without being dependent on a specific language

WalkQuackBack avatar Aug 16 '25 14:08 WalkQuackBack

Inline code blocks blend in with the issue comment background, e.g. | markdown on https://tangled.sh/@tangled.sh/core/issues/143.

CleanShot 2025-08-16 at 22 51 13

uncenter avatar Aug 16 '25 20:08 uncenter

missed it when i lightened everything by a shade :P

NekoDrone avatar Aug 16 '25 21:08 NekoDrone

🥴 https://tangled.sh/@icyphox.sh/legit

non-markdown readmes are rendered differently 💀

NekoDrone avatar Aug 17 '25 18:08 NekoDrone

is there anything else we need to add here? or are we waiting on upstream to update to using CSS variables? @uncenter

NekoDrone avatar Oct 03 '25 19:10 NekoDrone

is there anything else we need to add here? or are we waiting on upstream to update to using CSS variables? @uncenter

Would quite prefer it but I'll consider this.

Things with .dark\:text-gray-400 are unthemed - see <time> elements like "two hours ago" in issue listings, hashes or something under keys in settings.

uncenter avatar Oct 06 '25 22:10 uncenter

I'll take a look soon! thanks

NekoDrone avatar Oct 07 '25 07:10 NekoDrone