Skip to content

Commit 64332cd

Browse files
authored
Merge pull request #251 from rebeccaalpert/gray
fix(Message/MessageLoading/FileDetailsLabel): Update to PF tokens
2 parents e3ac08a + ffd2d83 commit 64332cd

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

packages/module/src/Message/Message.scss

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
// Chatbot Message
33
// ============================================================================
44
.pf-chatbot__message {
5-
--pf-t--chatbot-message--type--background--color--default: var(
6-
--pf-t--global--background--color--action--plain--hover
7-
); // needs to be updated to the correct semantic token when it exists
5+
--pf-t--chatbot-message--type--background--color--default: var(--pf-t--global--background--color--tertiary--default);
86
--pf-t--chatbot-message--type--background--color--primary: var(--pf-t--global--color--brand--default);
97
--pf-t--chatbot-message--type--padding: var(--pf-t--global--spacer--sm);
108
--pf-t--chatbot-message--type--text--color--default: var(--pf-t--global--text--color--regular);

packages/module/src/Message/MessageLoading.scss

+3-11
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
// Chatbot Main - Message - Loading
33
// ============================================================================
44
.pf-chatbot__message-loading {
5-
--pf-t--chatbot-message--dots--background--color: var(--pf-t--global--text--color--regular);
6-
75
width: 36px;
86
padding: var(--pf-t--chatbot-message--type--padding);
9-
background-color: var(--pf-t--chatbot-message--type--background--color--default);
7+
background-color: var(--pf-t--global--background--color--tertiary--default);
108
border-radius: var(--pf-t--chatbot-message--type--border--radius);
119

1210
&-dots {
@@ -15,9 +13,7 @@
1513
width: 4px;
1614
height: 4px;
1715
margin-left: var(--pf-t--global--spacer--sm);
18-
background-color: var(--pf-t--global--text--color--regular);
1916
border-radius: var(--pf-t--global--border--radius--pill);
20-
color: var(--pf-t--global--text--color--regular);
2117
animation: dot-flashing var(--pf-t--global--motion--duration--2xl) infinite linear alternate;
2218
animation-delay: calc(var(--pf-t--global--motion--duration--2xl) * 0.33333333333);
2319
}
@@ -33,8 +29,6 @@
3329
width: 4px;
3430
height: 4px;
3531
border-radius: var(--pf-t--global--border--radius--pill);
36-
background-color: var(--pf-t--global--text--color--regular);
37-
color: var(--pf-t--global--text--color--regular);
3832
animation: dot-flashing var(--pf-t--global--motion--duration--2xl) infinite alternate;
3933
animation-delay: var(--pf-t--global--motion--delay--none);
4034
}
@@ -43,19 +37,17 @@
4337
width: 4px;
4438
height: 4px;
4539
border-radius: var(--pf-t--global--border--radius--pill);
46-
background-color: var(--pf-t--global--text--color--regular);
47-
color: var(--pf-t--global--text--color--regular);
4840
animation: dot-flashing var(--pf-t--global--motion--duration--2xl) infinite alternate;
4941
animation-delay: calc(var(--pf-t--global--motion--duration--2xl) * 0.66666666666);
5042
}
5143

5244
@keyframes dot-flashing {
5345
0% {
54-
background-color: var(--pf-t--global--text--color--regular);
46+
background-color: var(--pf-t--global--background--color--inverse--default);
5547
}
5648
50%,
5749
100% {
58-
background-color: var(--pf-t--chatbot-message--type--background--color--default);
50+
background-color: rgba(41, 41, 41, 0.25);
5951
}
6052
}
6153
}

0 commit comments

Comments
 (0)