Skip to content

Conversation

@yong018wu
Copy link
Contributor

@yong018wu yong018wu commented Mar 3, 2022

Guide

UX has add the close caption to the library.
https://www.figma.com/file/NaNrfXjygZtRgMfHAFHjsp/Components---Windows?node-id=40865%3A50204
Add the color token for the control.
Note:
These. color are not change when theme change.
In each, user can changed the color of the closed caption box

"button-dark": {
"#normal": {
"background": "@theme-common-control-closedcaption-button-dark-normal",
"text": "@theme-common-control-closedcaption-text-dark",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all these tokens are incorrect and this will not auto generate

"comment": "",
"figma": "https://www.figma.com/file/NaNrfXjygZtRgMfHAFHjsp/Components---Windows?node-id=40865%3A50204",
"background-light": "@theme-common-control-closedcaption-background-light",
"background-dark": "@theme-common-control-closedcaption-background-dark",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't specify background light and dark. Just a background colour and the correct colour will be selected based on the thme

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.

2 participants