Skip to content

Commit f0cbae7

Browse files
authored
Merge pull request #3189 from liam-hq/refactor/cta-bar-styles
♻️ Move CtaBar styles to dedicated module CSS file
2 parents 95c4a50 + 8d58fde commit f0cbae7

File tree

4 files changed

+28
-29
lines changed

4 files changed

+28
-29
lines changed

frontend/apps/app/components/SessionDetailPage/components/Chat/components/ChatInput/ChatInput.module.css

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,6 @@
55
padding: var(--spacing-2);
66
}
77

8-
.ctaBar {
9-
display: flex;
10-
align-items: center;
11-
justify-content: space-between;
12-
padding: var(--spacing-3) var(--spacing-4);
13-
background-color: var(--primary-accent);
14-
border-radius: var(--border-radius-base);
15-
color: var(--global-foreground);
16-
}
17-
18-
.ctaText {
19-
font-size: var(--font-size-3);
20-
font-weight: var(--font-weight-medium);
21-
}
22-
23-
.ctaButton {
24-
background-color: white !important;
25-
color: var(--primary-accent) !important;
26-
border: 1px solid transparent !important;
27-
font-weight: var(--font-weight-medium);
28-
}
29-
30-
.ctaButton:hover {
31-
background-color: rgba(255, 255, 255, 0.9) !important;
32-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
33-
}
34-
358
.inputContainer {
369
display: flex;
3710
align-items: flex-end;
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.ctaBar {
2+
display: flex;
3+
align-items: center;
4+
justify-content: space-between;
5+
padding: var(--spacing-3) var(--spacing-4);
6+
background-color: var(--primary-accent);
7+
border-radius: var(--border-radius-base);
8+
color: var(--global-foreground);
9+
}
10+
11+
.ctaText {
12+
font-size: var(--font-size-3);
13+
font-weight: var(--font-weight-medium);
14+
}
15+
16+
.ctaButton {
17+
background-color: white !important;
18+
color: var(--primary-accent) !important;
19+
border: 1px solid transparent !important;
20+
font-weight: var(--font-weight-medium);
21+
}
22+
23+
.ctaButton:hover {
24+
background-color: rgba(255, 255, 255, 0.9) !important;
25+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
26+
}

frontend/apps/app/components/SessionDetailPage/components/Chat/components/ChatInput/CtaBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Button } from '@liam-hq/ui'
22
import type { FC } from 'react'
3-
import styles from './ChatInput.module.css'
3+
import styles from './CtaBar.module.css'
44

55
type Props = {
66
onSignUpClick: () => void

frontend/apps/app/eslint-suppressions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
},
210210
"components/SessionDetailPage/components/Chat/components/ChatInput/ChatInput.module.css": {
211211
"css-modules-kit/no-unused-class-names": {
212-
"count": 5
212+
"count": 1
213213
}
214214
},
215215
"components/SessionDetailPage/components/Chat/components/ChatInput/ChatInput.tsx": {

0 commit comments

Comments
 (0)