Skip to content

Add customizable controller theme with RGB settings#195

Open
Jayian1890 wants to merge 1 commit intoOpenCloudGaming:devfrom
Jayian1890:feature/controller-theme-rgb
Open

Add customizable controller theme with RGB settings#195
Jayian1890 wants to merge 1 commit intoOpenCloudGaming:devfrom
Jayian1890:feature/controller-theme-rgb

Conversation

@Jayian1890
Copy link
Copy Markdown
Contributor

Introduce customizable RGB settings for the controller theme, allowing users to modify the accent color dynamically. Ensure valid RGB values through normalization and clamping functions. Update components to reflect the new theme settings and enhance visual feedback with dynamic colors.

- Introduced controller theme customization by adding red, green, and blue settings to the application state.
- Implemented normalization and clamping functions for controller theme values to ensure valid RGB ranges.
- Updated the App component to handle new theme settings and apply them to the document body.
- Modified ControllerLibraryPage to display and edit theme color settings.
- Enhanced ControllerButtons to use the current accent color dynamically.
- Updated styles to utilize CSS variables for accent colors based on the controller theme.
- Refactored mic meter visualization to use dynamic accent colors for better visual feedback.
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.

1 participant