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(tip-group): add component tokens #8988

Merged
Changes from all commits
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
@@ -1,18 +1,24 @@
/**
* CSS Custom Properties
*
* These properties can be overridden using the component's tag as selector.
*
* @prop --calcite-tip-group-background-color: defines the component's background color.
* @prop --calcite-tip-group-text-color: defines the component's text color.
*/

:host {
@apply bg-foreground-1
text-color-2
text-n1h
@apply block
box-border
block;
text-n1h;

background-color: var(--calcite-tip-group-background-color, var(--calcite-color-foreground-1));
color: var(--calcite-tip-group-text-color, var(--calcite-color-text-2));
}

::slotted(calcite-tip) {
@apply m-0 border-none;
max-inline-size: var(--calcite-tip-max-width);
}

calcite-tip {
//TODO: sub-component tokens
}

@include base-component();
Loading