-
Notifications
You must be signed in to change notification settings - Fork 53
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
[Widgets] Support theming #2667
Labels
Comments
tracy-french
added
enhancement
New feature or request
Assigned to HM
Work that is being assisted on by HM
labels
Mar 8, 2024
Chandru-HM
pushed a commit
to Chandru-HM/iot-app-kit
that referenced
this issue
Mar 15, 2024
Chandru-HM
pushed a commit
to Chandru-HM/iot-app-kit
that referenced
this issue
Mar 15, 2024
Chandru-HM
pushed a commit
to Chandru-HM/iot-app-kit
that referenced
this issue
Mar 19, 2024
Chandru-HM
pushed a commit
to Chandru-HM/iot-app-kit
that referenced
this issue
Mar 19, 2024
Chandru-HM
pushed a commit
to Chandru-HM/iot-app-kit
that referenced
this issue
Mar 20, 2024
tracy-french
pushed a commit
that referenced
this issue
Mar 20, 2024
chejimmy
pushed a commit
that referenced
this issue
Mar 21, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
To make it possible to get an
iot-app-kit
widget to match the styling of the consuming application, we will expose a hook-based theming API.Below is the expected API, which should be exported from `@iot-app-kit/react-components';
The implementation should use Cloudscape mechanism for setting mode and theme. Please read the follow documents to understand how Cloudscape does this:
The implementation should depend on the following imports:
For the initial implementation, we will only expose a single token (
fontFamilyBase
) and the mode selection. We are only exposing a little at a time as there is additional implementation on our side to ensure all custom components are using the appropriate Cloudscape design tokens, where applicable.The font family theme setting should be fully functional. The mode setting should use
applyMode
, but making sure it works effectively will be completed in separate changes.Acceptance criteria
The text was updated successfully, but these errors were encountered: