Skip to content

feat: add background theming#663

Merged
danielroe merged 7 commits intonpmx-dev:mainfrom
alexdln:feat/background-theming
Feb 2, 2026
Merged

feat: add background theming#663
danielroe merged 7 commits intonpmx-dev:mainfrom
alexdln:feat/background-theming

Conversation

@alexdln
Copy link
Member

@alexdln alexdln commented Feb 1, 2026

I've set up theme customization. I've created a new hook to avoid using overly complex settings in the root script. I've also added a root script to prevent flickering.

I did all the customization using css-vars and left the default theme as is (it will also be used if nothing is selected or there are no variables for some reason).

I've tried not to break the current patterns, but if you have any questions, let me know - I'll fix.

If everything is okay, I need help with translations and copyright in general (I'm not sure what the best name for this setting is).

Closes #662

@vercel
Copy link

vercel bot commented Feb 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 2, 2026 11:00am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 2, 2026 11:00am
npmx-lunaria Ignored Ignored Feb 2, 2026 11:00am

Request Review

Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

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

this is very nice 👌

@danielroe danielroe enabled auto-merge February 2, 2026 10:50
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
lunaria/files/en-US.json Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@danielroe danielroe enabled auto-merge February 2, 2026 11:02
@danielroe danielroe added this pull request to the merge queue Feb 2, 2026
Merged via the queue into npmx-dev:main with commit bf03fba Feb 2, 2026
13 checks passed
taskylizard pushed a commit to taskylizard/npmx.dev that referenced this pull request Feb 7, 2026
Co-authored-by: Daniel Roe <daniel@roe.dev>
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.

[feat] Background theming

2 participants