Skip to content

Commit

Permalink
Merge pull request #607 from StampyAI/Melissa
Browse files Browse the repository at this point in the history
CSS
  • Loading branch information
mruwnik authored May 1, 2024
2 parents eb60ebe + fbe0604 commit 96ecc18
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
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

0 comments on commit 96ecc18

Please sign in to comment.