-
-
Notifications
You must be signed in to change notification settings - Fork 255
feat(arch-user-repository): init #1870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat(arch-user-repository): init #1870
Conversation
We've had a tip/trick about this in the docs for a while - https://userstyles.catppuccin.com/contributing/tips-and-tricks/hot-reloading/. Maybe it's time we direct people explicitly to use an external IDE and set this up rather than using the Stylus browser editor?
You might have been on an old Stylus extension version. If this is still an issue you are running into, I would suggest checking the version of Stylus you have installed and then submit a bug report upstream.
Thanks for submitting that PR! I've had that on my to-do list for the better part of the year, sorry that I never got to it! I know a fair bit of Tree-sitter so I can look at the highlights though.
We usually leave those to native styling yeah. |
|
I'd also suggest looking at #1381 for reference, though it's stale so a new PR for this sort of thing is fine. Since the Arch Linux website is multi-faceted I'd love it if we could theme them all in one instead of separately theming the wiki, AUR, etc. |
Making a general userstyle for I wasn't aware of #1381, but it looks like something that I could implement. Is that something I should create a separate PR for, and, if accepted, it could replace this userstyle? |
Most sincere apologies for the lack of response until now on this one. I have no issue with renaming this pull request and continuing here, or we can move to a new branch/pull request if that suits you better. If accepted, an |
Being edited by me, don't mind the state of it rn, feel free to report bugs to me! Signed-off-by: Toria <[email protected]>
|
Hiya @opensourcecheemsburgers, I've done the initial merge of your PR at #2043, and cleaning it up to be inline with the other styles, through use of our catppuccin/less lib! Feel free to push PRs to my branch to keep updating it, though I'll be working through it once AUR is stable again! :] |
|
We'll take care of that if that other newer pull request lands. |
Being edited by me, don't mind the state of it rn, feel free to report bugs to me! Signed-off-by: Toria <[email protected]>
Being edited by me, don't mind the state of it rn, feel free to report bugs to me! Signed-off-by: Toria <[email protected]>
Also fix up arch wiki guidance. Signed-off-by: Toria <[email protected]> Fix issues. Now I just need to sort out the fmt issues. We can't split regexp onto multiple lines or it breaks the usercss in stylus, which is unfortunate. Signed-off-by: Toria <[email protected]> This fixes a few things - firstly, this style only works on Arch's manpage. Perhaps it's worth generating its own category, and including ALL manpage supports, but we could actually do it all under one thing. Signed-off-by: Toria <[email protected]> Let's do this with a major rework. Let's add support to all manpages to this one file, to keep it neat and organised. Signed-off-by: Toria <[email protected]> Rework - let's do a rework to include it all under an archlinux category! Signed-off-by: Toria <[email protected]> Rework wiki theme to fit mediawiki. This requires: catppuccin#1866. manpage for arch has been finalized and perfected. Signed-off-by: Toria <[email protected]> Remove README (this is autogenerated, no need to move.) Signed-off-by: Toria <[email protected]> Initial merge of PR catppuccin#1870. Being edited by me, don't mind the state of it rn, feel free to report bugs to me! Signed-off-by: Toria <[email protected]> Cleanup! Simplify some of the css, reformat. Signed-off-by: Toria <[email protected]> Whoops, typo! Signed-off-by: Toria <[email protected]> Move generics into global domain changes. Fix unnecessary redefinitions. Signed-off-by: Toria <[email protected]> Push a few changes to table colouring. Accidentally typo'd a change. Signed-off-by: Toria <[email protected]> Big rework electric booga2 Move label, fix some bugs of overwriting, still needs some table and heading definitions to move as well. I *should've* fixed most things, but oh well. Also, border-color: surface0 -> surface2 now! Signed-off-by: Toria <[email protected]> Veeeeeeery big update, working on EVERYTHING!!! Signed-off-by: Toria <[email protected]> S...spaces? spaces??? Signed-off-by: Toria <[email protected]> deno fmt Signed-off-by: Toria <[email protected]> Fix a few things: timestamp, rss-icon, colors of h3. Need to still do selective rss-icon colours. Signed-off-by: Toria <[email protected]> Fix rss-icon theming. Signed-off-by: Toria <[email protected]> Rework of some of the colours Especially links css structure. Still tryna work out some bugs, oddly enough bbs overwrites a ton. Signed-off-by: Toria <[email protected]> Add usercontent. Final commit for tonight! Signed-off-by: Toria <[email protected]> Checklist and rbox support. I know, should be in bed rn qwq Signed-off-by: Toria <[email protected]> Quick fix to links, quick change to li a for bbs. Add colours to sticky and closed labels as well. Signed-off-by: Toria <[email protected]> Fix link backgrounds borking on bbs. Signed-off-by: Toria <[email protected]> Add support for downloads.archlinux. Just needed h5! Signed-off-by: Toria <[email protected]> Add errorlist for search errors. Fix selections. Can't seem to fix cursor-based focus selections though. Needs debugging. Signed-off-by: Toria <[email protected]> Remove cursor setting - we shouldn't touch it in our userstyles. Signed-off-by: Toria <[email protected]> Remove padding from button. Aesthetic choice, should push these upstream. Signed-off-by: Toria <[email protected]> Exclude gitlab.archlinux.org in global Issue was domain(archlinux.org) scope, now uses negative lookahead regex to solve issues. Signed-off-by: Toria <[email protected]> Whoops, missed the commit. Signed-off-by: Toria <[email protected]> Fixing a dicy issue with regex, everything works now! Signed-off-by: Toria <[email protected]> Fix regex to ACTUALLY work! Apparently you can't numeric modifier before lookaheads and behinds because of various logic reasons...wish you could skip when doing lookaheads, like look 2 ahead/behind etc... Signed-off-by: Toria <[email protected]> Comment changes, form input spec. comment: // -> /**/ form input: button text color -> link color (form inputs follow link button style.) Signed-off-by: Toria <[email protected]> Working on an initial change. This won't make sense just yet. Signed-off-by: Toria <[email protected]>
Also fix up arch wiki guidance. Signed-off-by: Toria <[email protected]> Fix issues. Now I just need to sort out the fmt issues. We can't split regexp onto multiple lines or it breaks the usercss in stylus, which is unfortunate. Signed-off-by: Toria <[email protected]> This fixes a few things - firstly, this style only works on Arch's manpage. Perhaps it's worth generating its own category, and including ALL manpage supports, but we could actually do it all under one thing. Signed-off-by: Toria <[email protected]> Let's do this with a major rework. Let's add support to all manpages to this one file, to keep it neat and organised. Signed-off-by: Toria <[email protected]> Rework - let's do a rework to include it all under an archlinux category! Signed-off-by: Toria <[email protected]> Rework wiki theme to fit mediawiki. This requires: catppuccin#1866. manpage for arch has been finalized and perfected. Signed-off-by: Toria <[email protected]> Remove README (this is autogenerated, no need to move.) Signed-off-by: Toria <[email protected]> Initial merge of PR catppuccin#1870. Being edited by me, don't mind the state of it rn, feel free to report bugs to me! Signed-off-by: Toria <[email protected]> Cleanup! Simplify some of the css, reformat. Signed-off-by: Toria <[email protected]> Whoops, typo! Signed-off-by: Toria <[email protected]> Move generics into global domain changes. Fix unnecessary redefinitions. Signed-off-by: Toria <[email protected]> Push a few changes to table colouring. Accidentally typo'd a change. Signed-off-by: Toria <[email protected]> Big rework electric booga2 Move label, fix some bugs of overwriting, still needs some table and heading definitions to move as well. I *should've* fixed most things, but oh well. Also, border-color: surface0 -> surface2 now! Signed-off-by: Toria <[email protected]> Veeeeeeery big update, working on EVERYTHING!!! Signed-off-by: Toria <[email protected]> S...spaces? spaces??? Signed-off-by: Toria <[email protected]> deno fmt Signed-off-by: Toria <[email protected]> Fix a few things: timestamp, rss-icon, colors of h3. Need to still do selective rss-icon colours. Signed-off-by: Toria <[email protected]> Fix rss-icon theming. Signed-off-by: Toria <[email protected]> Rework of some of the colours Especially links css structure. Still tryna work out some bugs, oddly enough bbs overwrites a ton. Signed-off-by: Toria <[email protected]> Add usercontent. Final commit for tonight! Signed-off-by: Toria <[email protected]> Checklist and rbox support. I know, should be in bed rn qwq Signed-off-by: Toria <[email protected]> Quick fix to links, quick change to li a for bbs. Add colours to sticky and closed labels as well. Signed-off-by: Toria <[email protected]> Fix link backgrounds borking on bbs. Signed-off-by: Toria <[email protected]> Add support for downloads.archlinux. Just needed h5! Signed-off-by: Toria <[email protected]> Add errorlist for search errors. Fix selections. Can't seem to fix cursor-based focus selections though. Needs debugging. Signed-off-by: Toria <[email protected]> Remove cursor setting - we shouldn't touch it in our userstyles. Signed-off-by: Toria <[email protected]> Remove padding from button. Aesthetic choice, should push these upstream. Signed-off-by: Toria <[email protected]> Exclude gitlab.archlinux.org in global Issue was domain(archlinux.org) scope, now uses negative lookahead regex to solve issues. Signed-off-by: Toria <[email protected]> Whoops, missed the commit. Signed-off-by: Toria <[email protected]> Fixing a dicy issue with regex, everything works now! Signed-off-by: Toria <[email protected]> Fix regex to ACTUALLY work! Apparently you can't numeric modifier before lookaheads and behinds because of various logic reasons...wish you could skip when doing lookaheads, like look 2 ahead/behind etc... Signed-off-by: Toria <[email protected]> Comment changes, form input spec. comment: // -> /**/ form input: button text color -> link color (form inputs follow link button style.) Signed-off-by: Toria <[email protected]> Working on an initial change. This won't make sense just yet. Signed-off-by: Toria <[email protected]>
|
Hey guys, sorry for the delayed reponse, life's been keeping me quite busy recently, so I haven't checked my Github in a while. @ninetailedtori thanks for your work :) Feel free to continue with the rest of the PR. |
🎉 Theme for Arch User Repository 🎉
💬 Additional Comments 💬
The main difficulties I had with this port were during the initial setup.
Issues:
catppuccin.user.less, so I made a symlink tocatppuccin.user.css.select'soptionchildren. It is based off of the current theme.🗒 Checklist 🗒
/styles/<name-of-website>containing the contents of the/templatedirectory.userstyles.ymlfile with information about the new userstyle.catppuccin.user.less- all the CSS for the userstyle, based on the template.