Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS #607

Merged
merged 2 commits into from
May 1, 2024
Merged

CSS #607

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
8 changes: 7 additions & 1 deletion app/components/Button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,15 @@
color: var(--colors-teal-800, #146560);
}

.primary-selected {
background: var(--colors-white, #ffffff);
color: var(--colors-teal-500, #1d9089);
border: 1px solid var(--colors-cool-grey-200, #dfe3e9);
}

.secondary {
color: var(--colors-cool-grey-600, #788492) !important;
border: 1px solid var(--colors-cool-grey-200, #dfe3e9);
border: 1px solid var(--colors-teal-500, #1d9089);
background: var(--colors-white, #fff);
}

Expand Down
9 changes: 5 additions & 4 deletions app/components/Chatbot/widgit.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@

.settings-container {
position: absolute;
bottom: var(--spacing-16);
left: var(--spacing-16);
bottom: var(--spacing-32);
left: var(--spacing-32);
}

.settings {
padding: var(--spacing-32);
margin-bottom: var(--spacing-24);
margin-bottom: var(--spacing-8);
flex-direction: column;
gap: var(--spacing-24);
gap: var(--spacing-16);
width: 384px;
}
6 changes: 3 additions & 3 deletions app/routes/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function App() {

const ModeButton = ({name, mode}: {name: string; mode: Mode}) => (
<Button
className={chatSettings.mode === mode ? 'primary-alt' : ''}
className={chatSettings.mode === mode ? 'primary-selected' : ''}
action={() => setChatSettings({...chatSettings, mode})}
>
{name}
Expand Down Expand Up @@ -51,8 +51,8 @@ export default function App() {
</div>
)}
<SettingsIcon
width="32"
height="32"
width="24"
height="24"
className="pointer"
onClick={() => setShowSettings((current) => !current)}
/>
Expand Down
Loading