Skip to content

Commit 6ff5b87

Browse files
committed
feat(MessageBar): Add support for high contrast
1 parent c082f9c commit 6ff5b87

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

packages/module/src/MessageBar/MessageBar.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,12 @@
131131
padding-block-end: var(--pf-t--global--spacer--md);
132132
}
133133
}
134+
135+
// ============================================================================
136+
// High contrast styles
137+
// ============================================================================
138+
:root:where(.pf-v6-theme-high-contrast) {
139+
.pf-chatbot__message-bar {
140+
box-shadow: inset 0 0 0 1px var(--pf-t--global--border--color--default);
141+
}
142+
}

0 commit comments

Comments
 (0)