-
-
Notifications
You must be signed in to change notification settings - Fork 63
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 system theme option #586
Conversation
✅ Deploy Preview for hi-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for es-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for new-eslint ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for zh-hans-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for pt-br-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for fr-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ja-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for de-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@akulsr0 The |
@snitin315 This is fixed, translation was missing for other languages, added it. |
Thank you for the PR. Here are a few suggestions:
Pls refer to this PR eslint/eslint#18617 I have made the changes for https://eslint.org/docs/ |
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.
@Tanujkanti4441 @harish-sethuraman @amareshsm it looks like there have been updates since your last comments. Can you please re-check? |
Thanks for the reminder. I'll re-check. |
The functionality works as expected, but there are redundancies in the theme.js file that need to be removed. Refer to this commit - eslint/eslint@7e724bb In the playground, the theme option is going out of the screen |
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.
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. Will wait for other reviews to be closed
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.
Thanks 🎉, LGTM.
* feat: add system theme option * chore: add translations for system word * chore: handle playground theming * refactor: remove seperate key for system theme * refactor: remove unintended semicolon * chore: add `aria-hidden=true` to svg icon * chore: add `aria-hidden=true` to svg icon * fix: footer language option getting out of screen * refactor: formatting fix * refactor: pr review changes * chore: theme switcher padding fix * refactor: pr review changes * fix: lang select cutting
Prerequisites checklist
What is the purpose of this pull request?
Closes eslint/eslint#18190
What changes did you make? (Give an overview)
Add
System
button for theme switcherRelated Issues
Is there anything you'd like reviewers to focus on?
Translations, I've added by searching on google translate, can be double checked by reviewers.