https://github.com/cmxl/theming
This sample project uses ngrx to handle color changes in CSS variables. Some minor SCSS scripts are being used to do a little theming.
https://github.com/cmxl/theming
angular css-variables ngrx theme-ui
Last synced: about 2 months ago
JSON representation
This sample project uses ngrx to handle color changes in CSS variables. Some minor SCSS scripts are being used to do a little theming.
- Host: GitHub
- URL: https://github.com/cmxl/theming
- Owner: cmxl
- License: mit
- Created: 2022-10-16T11:26:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-16T18:06:24.000Z (over 3 years ago)
- Last Synced: 2025-01-07T20:27:45.627Z (over 1 year ago)
- Topics: angular, css-variables, ngrx, theme-ui
- Language: TypeScript
- Homepage:
- Size: 300 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Theming
This sample project uses ngrx to handle color changes in CSS variables. Some minor SCSS scripts are being used to do a little theming.
Color variables are saved as a pseudo rgb format, i.e. red, green, blue without declaring it as a color.
You can change any color in the pickers and they get immediately reflected to the site.
They are not persisted and reset upon reload.