-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add user-friendly theme option labels (#1796) #1797
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Bundle Stats — desktop-clientHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller
Unchanged
|
Bundle Stats — loot-coreHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset No files were changed View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two observations I noted, but haven't addressed:
Record<keyof typeof lightTheme, string>
for the exportedtheme
variable technically isn't accurate. Not at all themes share a common set of thematic variables. For example,light.ts
is the only one withaltPageTextPositive
.Theme
fromloot-core/src/types/prefs
neglectsdevelopment
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As to #1, I've put in a PR to fix it. Still working through these inconsistencies. Cheers!
Thanks for the contribution. FYI, release notes are required for all PRs. It can't be merged until you add the release notes file. Cheers! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you for your contribution!
Hello there,
#1796 looks like a simple enough request, so I thought I'd try my hand with an initial contribution.
I looked around at other areas which required key-value options (i.e. for
<Select />
) but couldn't find any consistency with their structure.Happy to amend as necessary.
EDIT: Noticed the release notes action failed. If these minor changes warrant an entry in
upcoming-release-notes
then I'll add it. However, I'm thinking they're not, given that themes is behind an experimental flag.Closes #1796