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: add nixos.wiki #288

Merged
merged 8 commits into from
Nov 4, 2023
Merged

feat: add nixos.wiki #288

merged 8 commits into from
Nov 4, 2023

Conversation

nekowinston
Copy link
Contributor

@nekowinston nekowinston commented Nov 1, 2023

🎉 Theme for NixOS Wiki 🎉

Theme for the unofficial NixOS Wiki

🗒 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.
    • assets/mocha.webp, assets/macchiato.webp, assets/frappe.webp and
      assets/latte.webp - individual screenshots of the themed website, in all 4
      Catppuccin flavors.
    • catwalk.webp - image of all individual screenshots stitched together,
      generated via catwalk.

@aemogie
Copy link
Contributor

aemogie commented Nov 2, 2023

Found an issue, btw (https://nixos.wiki/wiki/Nix_Cookbook)
image

@nekowinston
Copy link
Contributor Author

Found an issue, btw (nixos.wiki/wiki/Nix_Cookbook) image

That's an issue that only occurs when DarkReader is active, & sadly those elements have no other unique selectors other than *[style*="background-color: #C1E5FF"].
I guess we could take the GitHub-style approach of checking for html[data-darkreader-scheme="dark"] { content: "warning"; }

@nekowinston nekowinston marked this pull request as ready for review November 4, 2023 04:58
@nekowinston
Copy link
Contributor Author

Added that warning & some more adjustments, should be all good to go.
The Wiki occasionally refers to an alternative theme called Vector (e.g. https://nixos.wiki/index.php?useskin=vector), but I won't bother theming that, since even the wiki itself always redirects to the default theme when navigating.

@nekowinston nekowinston merged commit 1305e93 into main Nov 4, 2023
5 checks passed
@nekowinston nekowinston deleted the feat/add-nixos-wiki branch November 4, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants