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

refactor(block): heading text color #11314

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions packages/calcite-components/src/components/block/block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @prop --calcite-block-header-text-color: Specifies the component's `heading` text color.
* @prop --calcite-block-padding: [Deprecated] Specifies the padding of the component's `default` slot.
* @prop --calcite-block-text-color: Specifies the component's text color.
* @prop --calcite-block-text-color-hover: Specifies the component's text color when hovered.
* @prop --calcite-block-heading-text-color-press: Specifies the heading text color when the component is open.
Elijbet marked this conversation as resolved.
Show resolved Hide resolved
*/

:host {
Expand Down Expand Up @@ -173,7 +173,7 @@ calcite-handle {
}

.toggle:hover .toggle-icon {
color: var(--calcite-block-text-color-hover, var(--calcite-color-text-1));
color: var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1));
}

.container {
Expand Down Expand Up @@ -209,7 +209,7 @@ calcite-action-menu {
@apply my-2;

.header .title .heading {
color: var(--calcite-block-text-color-hover, var(--calcite-color-text-1));
color: var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1));
}
}

Expand Down
Loading