Skip to content
Open
Show file tree
Hide file tree
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
Expand Up @@ -172,6 +172,10 @@ $vertical-gap: 0.375rem;
}
}

[data-brand='codeai-next'] .botOverlay span {
color: var(--text-neutral-white-fixed);
}

.danger {
background-color: var(--background-error-extra-light);
}
Expand Down
5 changes: 4 additions & 1 deletion apps/src/aiDifferentiation/AiDiffFloatingActionButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ const AiDiffFloatingActionButton: React.FC<AiDiffFloatingActionButtonProps> = ({
updateUnreadNotificationCount();
};

const brand = document.documentElement.dataset.brand;

return (
<div id="fab-contained">
{(!chatIsOpen || !drawerIsEnabled) && (
Expand Down Expand Up @@ -370,7 +372,8 @@ const AiDiffFloatingActionButton: React.FC<AiDiffFloatingActionButtonProps> = ({
: 'var(--background-brand-aqua-primary)',
color:
unreadNotificationCount === 'loading' ||
unreadNotificationCount > 0
unreadNotificationCount > 0 ||
brand === 'codeai-next'
? 'var(--text-neutral-white-fixed)'
: 'var(--text-neutral-black-fixed)',
top: '5%',
Expand Down
4 changes: 4 additions & 0 deletions apps/src/aiTeacherDrawer/ai-differentiation.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ $sidebar-tooltip-z-index: 2010;
}
}

[data-brand='codeai-next'] .taOverlayHeader span {
color: var(--text-neutral-white-fixed);
}

.aiDiffHeader {
border-radius: 4px 4px 0 0;
background: var(--background-neutral-primary-inverse);
Expand Down
Loading