diff --git a/frontend/src/components/features/controls/agent-status-bar.tsx b/frontend/src/components/features/controls/agent-status-bar.tsx index ace99f8f4832..715db9a1b750 100644 --- a/frontend/src/components/features/controls/agent-status-bar.tsx +++ b/frontend/src/components/features/controls/agent-status-bar.tsx @@ -55,7 +55,7 @@ export function AgentStatusBar() { return (
-
+
diff --git a/frontend/src/components/features/conversation-panel/conversation-panel.tsx b/frontend/src/components/features/conversation-panel/conversation-panel.tsx index d91a70755ba1..5aeb69d7d318 100644 --- a/frontend/src/components/features/conversation-panel/conversation-panel.tsx +++ b/frontend/src/components/features/conversation-panel/conversation-panel.tsx @@ -73,7 +73,7 @@ export function ConversationPanel({ onClose }: ConversationPanelProps) {
{isFetching && } diff --git a/frontend/src/components/features/file-explorer/file-explorer-header.tsx b/frontend/src/components/features/file-explorer/file-explorer-header.tsx index bf50cca87b6e..d28059514601 100644 --- a/frontend/src/components/features/file-explorer/file-explorer-header.tsx +++ b/frontend/src/components/features/file-explorer/file-explorer-header.tsx @@ -19,7 +19,7 @@ export function FileExplorerHeader({ return (
diff --git a/frontend/src/components/features/settings/brand-button.tsx b/frontend/src/components/features/settings/brand-button.tsx index b4d2dc24aa5f..4cbcbf5fc498 100644 --- a/frontend/src/components/features/settings/brand-button.tsx +++ b/frontend/src/components/features/settings/brand-button.tsx @@ -28,8 +28,8 @@ export function BrandButton({ onClick={onClick} className={cn( "w-fit p-2 rounded disabled:opacity-30 disabled:cursor-not-allowed", - variant === "primary" && "bg-[#C9B974] text-[#0D0F11]", - variant === "secondary" && "border border-[#C9B974] text-[#C9B974]", + variant === "primary" && "bg-primary text-[#0D0F11]", + variant === "secondary" && "border border-primary text-primary", className, )} > diff --git a/frontend/src/components/features/settings/key-status-icon.tsx b/frontend/src/components/features/settings/key-status-icon.tsx index ad4bd3cf8343..7fee524022b8 100644 --- a/frontend/src/components/features/settings/key-status-icon.tsx +++ b/frontend/src/components/features/settings/key-status-icon.tsx @@ -8,9 +8,7 @@ interface KeyStatusIconProps { export function KeyStatusIcon({ isSet }: KeyStatusIconProps) { return ( - + ); } diff --git a/frontend/src/components/features/settings/optional-tag.tsx b/frontend/src/components/features/settings/optional-tag.tsx index 3df207fc1b94..64c9cc913a99 100644 --- a/frontend/src/components/features/settings/optional-tag.tsx +++ b/frontend/src/components/features/settings/optional-tag.tsx @@ -1,3 +1,3 @@ export function OptionalTag() { - return (Optional); + return (Optional); } diff --git a/frontend/src/components/features/settings/settings-dropdown-input.tsx b/frontend/src/components/features/settings/settings-dropdown-input.tsx index 69385bf08f48..5bd89d7cd4d1 100644 --- a/frontend/src/components/features/settings/settings-dropdown-input.tsx +++ b/frontend/src/components/features/settings/settings-dropdown-input.tsx @@ -38,12 +38,12 @@ export function SettingsDropdownInput({ isDisabled={isDisabled} className="w-full" classNames={{ - popoverContent: "bg-[#454545] rounded-xl border border-[#717888]", + popoverContent: "bg-tertiary rounded-xl border border-[#717888]", }} inputProps={{ classNames: { inputWrapper: - "bg-[#454545] border border-[#717888] h-10 w-full rounded p-2 placeholder:italic", + "bg-tertiary border border-[#717888] h-10 w-full rounded p-2 placeholder:italic", }, }} > diff --git a/frontend/src/components/features/settings/settings-input.tsx b/frontend/src/components/features/settings/settings-input.tsx index 5d737fd991dd..a9ba98911a50 100644 --- a/frontend/src/components/features/settings/settings-input.tsx +++ b/frontend/src/components/features/settings/settings-input.tsx @@ -44,7 +44,7 @@ export function SettingsInput({ defaultValue={defaultValue} placeholder={placeholder} className={cn( - "bg-[#454545] border border-[#717888] h-10 w-full rounded p-2 placeholder:italic placeholder:text-[#B7BDC2]", + "bg-tertiary border border-[#717888] h-10 w-full rounded p-2 placeholder:italic placeholder:text-tertiary-alt", "disabled:bg-[#2D2F36] disabled:border-[#2D2F36] disabled:cursor-not-allowed", )} /> diff --git a/frontend/src/components/features/settings/settings-switch.tsx b/frontend/src/components/features/settings/settings-switch.tsx index d1bfaff94935..21f3563038d4 100644 --- a/frontend/src/components/features/settings/settings-switch.tsx +++ b/frontend/src/components/features/settings/settings-switch.tsx @@ -40,7 +40,7 @@ export function SettingsSwitch({
{children} {isBeta && ( - + Beta )} diff --git a/frontend/src/components/features/settings/styled-switch-component.tsx b/frontend/src/components/features/settings/styled-switch-component.tsx index 36d9ffda6bfb..c00a55d18ce5 100644 --- a/frontend/src/components/features/settings/styled-switch-component.tsx +++ b/frontend/src/components/features/settings/styled-switch-component.tsx @@ -11,14 +11,14 @@ export function StyledSwitchComponent({
diff --git a/frontend/src/components/layout/beta-badge.tsx b/frontend/src/components/layout/beta-badge.tsx index 3a7155bb9be4..0ef82837eed3 100644 --- a/frontend/src/components/layout/beta-badge.tsx +++ b/frontend/src/components/layout/beta-badge.tsx @@ -4,7 +4,7 @@ import { I18nKey } from "#/i18n/declaration"; export function BetaBadge() { const { t } = useTranslation(); return ( - + {t(I18nKey.BADGE$BETA)} ); diff --git a/frontend/src/components/layout/container.tsx b/frontend/src/components/layout/container.tsx index d4d3a9ac6c34..490b9a37a226 100644 --- a/frontend/src/components/layout/container.tsx +++ b/frontend/src/components/layout/container.tsx @@ -23,7 +23,7 @@ export function Container({ return (
diff --git a/frontend/src/components/layout/count-badge.tsx b/frontend/src/components/layout/count-badge.tsx index 359ae3b71aee..96f0cf9639a9 100644 --- a/frontend/src/components/layout/count-badge.tsx +++ b/frontend/src/components/layout/count-badge.tsx @@ -1,6 +1,6 @@ export function CountBadge({ count }: { count: number }) { return ( - + {count} ); diff --git a/frontend/src/components/layout/nav-tab.tsx b/frontend/src/components/layout/nav-tab.tsx index a9f363e39532..678dfb327215 100644 --- a/frontend/src/components/layout/nav-tab.tsx +++ b/frontend/src/components/layout/nav-tab.tsx @@ -17,10 +17,10 @@ export function NavTab({ to, label, icon, isBeta }: NavTabProps) { to={to} className={({ isActive }) => cn( - "px-2 border-b border-r border-neutral-600 bg-root-primary flex-1", + "px-2 border-b border-r border-neutral-600 bg-base flex-1", "first-of-type:rounded-tl-xl last-of-type:rounded-tr-xl last-of-type:border-r-0", "flex items-center gap-2", - isActive && "bg-root-secondary", + isActive && "bg-base-secondary", ) } > diff --git a/frontend/src/components/shared/action-tooltip.tsx b/frontend/src/components/shared/action-tooltip.tsx index 7863172a26fa..e287aa916d31 100644 --- a/frontend/src/components/shared/action-tooltip.tsx +++ b/frontend/src/components/shared/action-tooltip.tsx @@ -27,7 +27,7 @@ export function ActionTooltip({ type, onClick }: ActionTooltipProps) { ? t(I18nKey.ACTION$CONFIRM) : t(I18nKey.ACTION$REJECT) } - className="bg-neutral-700 rounded-full p-1 hover:bg-neutral-800" + className="bg-neutral-700 rounded-full p-1 hover:bg-base-secondary" onClick={onClick} > {type === "confirm" ? : } diff --git a/frontend/src/components/shared/hero-heading.tsx b/frontend/src/components/shared/hero-heading.tsx index 22dd254d865c..f7bca31b0355 100644 --- a/frontend/src/components/shared/hero-heading.tsx +++ b/frontend/src/components/shared/hero-heading.tsx @@ -18,7 +18,7 @@ export function HeroHeading() { rel="noopener noreferrer" target="_blank" href="https://docs.all-hands.dev/modules/usage/getting-started" - className="text-hyperlink underline underline-offset-[3px]" + className="text-white underline underline-offset-[3px]" > {t(I18nKey.LANDING$START_HELP_LINK)} diff --git a/frontend/src/components/shared/modals/base-modal/base-modal.tsx b/frontend/src/components/shared/modals/base-modal/base-modal.tsx index 4a95eb5eddcd..6d16ce450d51 100644 --- a/frontend/src/components/shared/modals/base-modal/base-modal.tsx +++ b/frontend/src/components/shared/modals/base-modal/base-modal.tsx @@ -43,7 +43,7 @@ export function BaseModal({ backdrop="blur" hideCloseButton size="sm" - className="bg-neutral-900 rounded-lg" + className="bg-base rounded-lg" > {(closeModal) => ( diff --git a/frontend/src/components/shared/modals/modal-body.tsx b/frontend/src/components/shared/modals/modal-body.tsx index 32e107b36772..9ed510b093ba 100644 --- a/frontend/src/components/shared/modals/modal-body.tsx +++ b/frontend/src/components/shared/modals/modal-body.tsx @@ -12,7 +12,7 @@ export function ModalBody({ testID, children, className }: ModalBodyProps) {
diff --git a/frontend/src/components/shared/modals/security/invariant/invariant.tsx b/frontend/src/components/shared/modals/security/invariant/invariant.tsx index 7e172c9d028f..ea03e8e159bf 100644 --- a/frontend/src/components/shared/modals/security/invariant/invariant.tsx +++ b/frontend/src/components/shared/modals/security/invariant/invariant.tsx @@ -247,7 +247,7 @@ function SecurityInvariant() { return (
-
+
{t(I18nKey.INVARIANT$INVARIANT_ANALYZER_LABEL)} @@ -285,7 +285,7 @@ function SecurityInvariant() {
-
+
{sections[activeSection as SectionType]}
diff --git a/frontend/src/components/shared/modals/settings/model-selector.tsx b/frontend/src/components/shared/modals/settings/model-selector.tsx index 811113844132..a316bb7c9fdf 100644 --- a/frontend/src/components/shared/modals/settings/model-selector.tsx +++ b/frontend/src/components/shared/modals/settings/model-selector.tsx @@ -84,12 +84,12 @@ export function ModelSelector({ defaultSelectedKey={selectedProvider ?? undefined} selectedKey={selectedProvider} classNames={{ - popoverContent: "bg-[#454545] rounded-xl border border-[#717888]", + popoverContent: "bg-tertiary rounded-xl border border-[#717888]", }} inputProps={{ classNames: { inputWrapper: - "bg-[#454545] border border-[#717888] h-10 w-full rounded p-2 placeholder:italic", + "bg-tertiary border border-[#717888] h-10 w-full rounded p-2 placeholder:italic", }, }} > @@ -135,12 +135,12 @@ export function ModelSelector({ selectedKey={selectedModel} defaultSelectedKey={selectedModel ?? undefined} classNames={{ - popoverContent: "bg-[#454545] rounded-xl border border-[#717888]", + popoverContent: "bg-tertiary rounded-xl border border-[#717888]", }} inputProps={{ classNames: { inputWrapper: - "bg-[#454545] border border-[#717888] h-10 w-full rounded p-2 placeholder:italic", + "bg-tertiary border border-[#717888] h-10 w-full rounded p-2 placeholder:italic", }, }} > diff --git a/frontend/src/components/shared/modals/settings/settings-modal.tsx b/frontend/src/components/shared/modals/settings/settings-modal.tsx index 723a86cec398..62257d8d2763 100644 --- a/frontend/src/components/shared/modals/settings/settings-modal.tsx +++ b/frontend/src/components/shared/modals/settings/settings-modal.tsx @@ -21,7 +21,7 @@ export function SettingsModal({ onClose, settings }: SettingsModalProps) {
{aiConfigOptions.error && (

{aiConfigOptions.error.message}

diff --git a/frontend/src/index.css b/frontend/src/index.css index b5814513e8bd..00a234baa46c 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -4,18 +4,19 @@ --bg-input: #393939; --bg-workspace: #1f2228; --border: #3c3c4a; - --text-editor-base: #9099AC; - --text-editor-active:#C4CBDA; - --bg-editor-sidebar: #24272E; - --bg-editor-active: #31343D; - --border-editor-sidebar: #3C3C4A; - background-color: var(--neutral-900) !important; + --text-editor-base: #9099ac; + --text-editor-active: #c4cbda; + --bg-editor-sidebar: #24272e; + --bg-editor-active: #31343d; + --border-editor-sidebar: #3c3c4a; + background-color: var(--base) !important; --bg-neutral-muted: #afb8c133; } body { margin: 0; - font-family: -apple-system, "SF Pro", BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", + font-family: + -apple-system, "SF Pro", BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; @@ -23,8 +24,8 @@ body { } code { - font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", - monospace; + font-family: + source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace; } .markdown-body code { @@ -52,6 +53,7 @@ code { text-align: left; } -.markdown-body th, .markdown-body td { +.markdown-body th, +.markdown-body td { padding: 0.1rem 1rem; } diff --git a/frontend/src/routes/_oh._index/route.tsx b/frontend/src/routes/_oh._index/route.tsx index 23e4ccd08b3e..15d16e02d6d8 100644 --- a/frontend/src/routes/_oh._index/route.tsx +++ b/frontend/src/routes/_oh._index/route.tsx @@ -29,7 +29,7 @@ function Home() { const latestConversation = localStorage.getItem("latest_conversation_id"); return ( -
+
diff --git a/frontend/src/routes/_oh.app._index/route.tsx b/frontend/src/routes/_oh.app._index/route.tsx index 3f971213c8d3..521a3f6d927b 100644 --- a/frontend/src/routes/_oh.app._index/route.tsx +++ b/frontend/src/routes/_oh.app._index/route.tsx @@ -75,7 +75,7 @@ function FileViewer() { }; return ( -
+
{selectedPath && ( diff --git a/frontend/src/routes/_oh.app/route.tsx b/frontend/src/routes/_oh.app/route.tsx index c605927a0aa9..a52e63825fd1 100644 --- a/frontend/src/routes/_oh.app/route.tsx +++ b/frontend/src/routes/_oh.app/route.tsx @@ -127,7 +127,7 @@ function AppContent() { orientation={Orientation.HORIZONTAL} className="grow h-full min-h-0 min-w-0" initialSize={500} - firstClassName="rounded-xl overflow-hidden border border-neutral-600 bg-neutral-800" + firstClassName="rounded-xl overflow-hidden border border-neutral-600 bg-base-secondary" secondClassName="flex flex-col overflow-hidden" firstChild={} secondChild={ diff --git a/frontend/src/routes/_oh/route.tsx b/frontend/src/routes/_oh/route.tsx index 6d62dbcf1978..55ec6b783836 100644 --- a/frontend/src/routes/_oh/route.tsx +++ b/frontend/src/routes/_oh/route.tsx @@ -91,7 +91,7 @@ export default function MainApp() { return (
diff --git a/frontend/src/routes/account-settings.tsx b/frontend/src/routes/account-settings.tsx index 9d77959f30e5..05116104e304 100644 --- a/frontend/src/routes/account-settings.tsx +++ b/frontend/src/routes/account-settings.tsx @@ -388,7 +388,7 @@ function AccountSettings() {
-