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

feat(progress): add component tokens #8661

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
* These properties can be overridden using the component's tag as selector.
*
* @prop --calcite-progress-background-color: The background color of the component.
* @prop --calcite-progress-font-size: The font size of the component.
* @prop --calcite-progress-color: The font color of the component.
* @prop --calcite-progress-font-size: The font size of the component.
*
* @prop —-calcite-progress-label-inline-padding: Component label inline padding
Elijbet marked this conversation as resolved.
Show resolved Hide resolved
* @prop —-calcite-progress-label-block-end-padding: Component label block-end padding.
* @prop —-calcite-progress-label-block-start-padding: Component label block-start padding.
*/

:host {
Expand Down Expand Up @@ -53,9 +57,12 @@
}

.text {
@apply px-0 pt-4 pb-0 text-center font-medium;
@apply text-center font-medium;
--calcite-progress-font-size: theme("fontSize.n2h");
--calcite-progress-color: var(--calcite-color-text-2);
--calcite-progress-label-inline-padding: 0;
--calcite-progress-label-block-start-padding: 4;
Elijbet marked this conversation as resolved.
Show resolved Hide resolved
--calcite-progress-label-block-end-padding: 0;
}

@keyframes looping-progress-bar-ani {
Expand Down
Loading