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

Allow users to specify a background color #1556

Open
6 tasks
evanugarte opened this issue Jan 12, 2025 · 0 comments
Open
6 tasks

Allow users to specify a background color #1556

evanugarte opened this issue Jan 12, 2025 · 0 comments

Comments

@evanugarte
Copy link
Collaborator

as part of the profile page, lets add a simple input that once edited and saved, the users background icon in the top right corner changes color.

game plan

  • follow dessert problem
  • add a new field to the user.js model called backgroundColor
  • add allow the user edit api to update the backgroundColor, if specified
  • in the frontend, render the updated user background color, after the color is updated
  • add logic in the profile icon to default to the current gray color if the users profile color is not specified
  • add logic in the profile icon to determine if the text should be rendered white or black https://stackoverflow.com/a/3943023
@aspies06 aspies06 mentioned this issue Jan 22, 2025
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

No branches or pull requests

1 participant