Skip to content

Commit

Permalink
Added missing CSS color variable
Browse files Browse the repository at this point in the history
  • Loading branch information
salmenus committed Jun 2, 2024
1 parent 4888d7c commit c14d3f5
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/css/themes/src/common/colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
/** Participant info in chat */
--nlux-prtInfo-prtNm--clr: var(--nlux-ChatItem-ParticipantName--Color, cyan);

/** Chat item avatar */
--nlux-chItm-avtr--bgClr: var(--nlux-ChatItem-Avatar--BackgroundColor, grey);

/* Human message in chat */
--nlux-hmMsg--bgClr: var(--nlux-HumanMessage--BackgroundColor, lightgrey);
--nlux-hmMsg--brdClr: var(--nlux-HumanMessage--BorderColor, grey);
Expand Down
2 changes: 1 addition & 1 deletion packages/css/themes/src/common/components/Avatar.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
bottom: 0;
left: 0;
background-size: cover;
background-color: var(--nlux-avtr--bgClr);
background-color: var(--nlux-chItm-avtr--bgClr);
}
}
}
3 changes: 3 additions & 0 deletions packages/css/themes/src/dev/colors.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
/** Participant info in chat */
--nlux-ChatItem-ParticipantName--Color: darkblue;

/** Chat item avatar */
--nlux-ChatItem-Avatar--BackgroundColor: lightgrey;

/* Human message in chat */
--nlux-HumanMessage--BackgroundColor: lemonchiffon;
--nlux-HumanMessage--BorderColor: darkkhaki;
Expand Down
3 changes: 3 additions & 0 deletions packages/css/themes/src/luna/colors-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
/** Participant info in chat */
--nlux-ChatItem-ParticipantName--Color: #E0E0E0;

/** Chat item avatar */
--nlux-ChatItem-Avatar--BackgroundColor: #E0E0E0;

/* Human message in chat */
--nlux-HumanMessage--BackgroundColor: #5fe095;
--nlux-HumanMessage--BorderColor: #6fc693;
Expand Down
3 changes: 3 additions & 0 deletions packages/css/themes/src/luna/colors-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
/** Participant info in chat */
--nlux-ChatItem-ParticipantName--Color: #202020;

/** Chat item avatar */
--nlux-ChatItem-Avatar--BackgroundColor: #202020;

/* Human message in chat */
--nlux-HumanMessage--BackgroundColor: #5fe095;
--nlux-HumanMessage--BorderColor: #6fc693;
Expand Down
3 changes: 3 additions & 0 deletions packages/css/themes/src/nova/colors-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
/** Participant info in chat */
--nlux-ChatItem-ParticipantName--Color: #ffffff;

/** Chat item avatar */
--nlux-ChatItem-Avatar--BackgroundColor: #ffffff;

/* Human message in chat */
--nlux-HumanMessage--BackgroundColor: #323232;
--nlux-HumanMessage--BorderColor: transparent;
Expand Down
3 changes: 3 additions & 0 deletions packages/css/themes/src/nova/colors-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
/** Participant info in chat */
--nlux-ChatItem-ParticipantName--Color: #09090B;

/** Chat item avatar */
--nlux-ChatItem-Avatar--BackgroundColor: #09090B;

/* Human message in chat */
--nlux-HumanMessage--BackgroundColor: #18181B;
--nlux-HumanMessage--BorderColor: transparent;
Expand Down

0 comments on commit c14d3f5

Please sign in to comment.