Skip to content
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

feat(wiki.nixos.org): init #1199

Merged
merged 38 commits into from
Oct 25, 2024
Merged

feat(wiki.nixos.org): init #1199

merged 38 commits into from
Oct 25, 2024

Conversation

orangci
Copy link
Member

@orangci orangci commented Aug 15, 2024

🎉 Theme for wiki.nixos.org 🎉

The official NixOS Linux distribution wiki.

💬 Additional Comments 💬

I am replacing the old and no longer maintained nixos.wiki (the unofficial NixOS wiki) port with this.

Closes #781.

🗒 Checklist 🗒

  • I have read and followed Catppuccin's submission guidelines.
  • I have made a new directory underneath /styles/<name-of-website> containing the contents of the /template directory.
    • I have ensured that the new directory is in lower-kebab-case.
    • I have followed the template and kept the preprocessor as LESS.
  • I have made sure to update the
    userstyles.yml
    file with information about the new userstyle.
  • I have included the following files:
    • catppuccin.user.css - all the CSS for the userstyle, based on the
      template.
    • preview.webp - composite image of all four individual flavor screenshots (taken with the default accent color of mauve) stitched together, generated via Catwalk.

@github-actions github-actions bot added the nixos.wiki NixOS Wiki label Aug 15, 2024
@orangci

This comment was marked as outdated.

@orangci orangci marked this pull request as ready for review August 16, 2024 07:33
@orangci orangci requested a review from a team as a code owner August 16, 2024 07:33
@orangci
Copy link
Member Author

orangci commented Aug 16, 2024

I think it's mostly complete.

@uncenter uncenter changed the title feat(wiki.nixos.org): init. feat(wiki.nixos.org): init Aug 16, 2024
Copy link
Member

@isabelroses isabelroses left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you seem to have some small linter errors.

styles/wiki.nixos.org/catppuccin.user.css Outdated Show resolved Hide resolved
@orangci
Copy link
Member Author

orangci commented Aug 16, 2024

you seem to have some small linter errors.

What do you mean by linter errors?

@isabelroses
Copy link
Member

you seem to have some small linter errors.

What do you mean by linter errors?

We have a ci that runs deno task lint. The errors will show up in the files view you can also automatically fix some of these with deno task lint:fix.

@orangci

This comment was marked as resolved.

@orangci
Copy link
Member Author

orangci commented Aug 16, 2024

Those linting errors should be fixed.

scripts/userstyles.yml Outdated Show resolved Hide resolved
styles/wiki.nixos.org/catppuccin.user.css Outdated Show resolved Hide resolved
styles/wiki.nixos.org/catppuccin.user.css Outdated Show resolved Hide resolved
orangci and others added 3 commits August 17, 2024 08:12
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
@orangci
Copy link
Member Author

orangci commented Aug 17, 2024

@uncenter Resolved all requested changes.

@orangci orangci requested a review from uncenter August 17, 2024 05:17
@uncenter
Copy link
Member

uncenter commented Aug 17, 2024

Seeing a lot of unthemed elements: borders/dividers, icons. The icons may be tricky, https://github.com/catppuccin/userstyles/blob/main/docs/tips-and-tricks.md#how-do-i-theme-images-and-svgs should help.
Image taken on https://wiki.nixos.org/wiki/Nix_Language_Quirks.
CleanShot 2024-08-17 at 07 35 45@2x

@orangci
Copy link
Member Author

orangci commented Aug 17, 2024

Will do these soon.. ty for pointing them out!

@orangci
Copy link
Member Author

orangci commented Aug 21, 2024

Wh—
Did I really forget about this for four days? Sheesh
Let's see if I have le time to do this now 😅

@orangci
Copy link
Member Author

orangci commented Aug 21, 2024

I.. think did all of that.

@isabelroses
Copy link
Member

Currently all the borders I can see are too dark i.e. crust or seem to be unthemed.

The history pages seems to be unthemed. example url
image

The logs page too. example url
image

orangci and others added 2 commits September 3, 2024 16:21
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
@orangci

This comment was marked as resolved.

@orangci

This comment was marked as resolved.

@uncenter
Copy link
Member

uncenter commented Sep 5, 2024

For inline style elements you can do:

/* <Description of where inline styles can be found> */
[style*="background-color: #C1E5FF;"] {
  background-color: @whatever;
}
[style*="border: thin solid #1D99F3;"] {
  border-color: @whatever;
}

@orangci
Copy link
Member Author

orangci commented Sep 6, 2024

I knew in theory this was possible but hadn't even thought of applying it this way. Thank you!

@orangci orangci requested a review from uncenter September 17, 2024 11:06
@orangci
Copy link
Member Author

orangci commented Sep 17, 2024

Err.. seems like I forgot about this for two weeks.. my bad kek

scripts/userstyles.yml Outdated Show resolved Hide resolved
styles/wiki.nixos.org/catppuccin.user.css Outdated Show resolved Hide resolved
styles/wiki.nixos.org/catppuccin.user.css Outdated Show resolved Hide resolved
orangci and others added 2 commits September 18, 2024 10:55
Co-authored-by: uncenter <47499684+uncenter@users.noreply.github.com>
@orangci orangci requested a review from uncenter September 18, 2024 08:01
@uncenter
Copy link
Member

Please avoid unnecessarily updating this branch as it pings people who are subscribed to it :)

@uncenter uncenter mentioned this pull request Oct 5, 2024
22 tasks
scripts/userstyles.yml Outdated Show resolved Hide resolved
@uncenter
Copy link
Member

Approving for the short term, really hoping at some point we can get MediaWiki updated on wiki.nixos.org and just use #1075 for it 😭

@uncenter uncenter requested a review from isabelroses October 22, 2024 11:33
@isabelroses isabelroses merged commit e985328 into catppuccin:main Oct 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nixos.wiki NixOS Wiki
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nixos.wiki is now wiki.nixos.org
3 participants