Skip to content

Commit e800fe6

Browse files
authored
Merge pull request #16 from pipecat-ai/mb/whisker-styles
Update Whisker's styling to match Pipecat's
2 parents 5097049 + 73510ed commit e800fe6

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

ui/src/components/Pipeline.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ export function Pipeline() {
111111
"text-valign": "center",
112112
"text-halign": "center",
113113
"font-size": 12,
114-
"background-color": theme === "dark" ? "#2A303C" : "#718096",
115-
"border-color": "#4A5568",
114+
"background-color": theme === "dark" ? "#3d4451" : "#718096",
115+
"border-color": theme === "dark" ? "#5a6270" : "#4A5568",
116116
width: 250,
117117
height: 75,
118118
"border-width": 1,
@@ -123,14 +123,14 @@ export function Pipeline() {
123123
style: {
124124
"transition-property": "background-color",
125125
"transition-duration": 120,
126-
"background-color": "#38B2AC", // teal flash
126+
"background-color": theme === "dark" ? "#a8a3fc" : "#4f46e5", // indigo flash
127127
},
128128
},
129129
{
130130
selector: "node:selected",
131131
style: {
132132
"border-width": 2,
133-
"background-color": "#3182CE",
133+
"background-color": theme === "dark" ? "#a8a3fc" : "#4f46e5",
134134
},
135135
},
136136
{

ui/src/components/ui/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const buttonVariants = cva(
1616
"border border-input bg-background hover:bg-accent hover:text-accent-foreground",
1717
secondary:
1818
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
19-
ghost: "hover:bg-accent hover:text-accent-foreground",
19+
ghost: "hover:bg-primary/10 hover:text-primary",
2020
link: "text-primary underline-offset-4 hover:underline",
2121
},
2222
size: {

ui/src/styles.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@
1919
--card-foreground: 222 47% 7%;
2020
--popover: 0 0% 100%;
2121
--popover-foreground: 222 47% 7%;
22-
/* Primary: Modern teal-cyan for debugger tool - professional and tech-forward */
23-
--primary: 195 70% 42%;
22+
/* Primary: Vibrant indigo for light mode - professional and modern */
23+
--primary: 243 75% 59%;
2424
--primary-foreground: 0 0% 100%;
2525
/* Secondary: Soft blue-gray for subtle accents */
2626
--secondary: 215 20% 72%;
2727
--secondary-foreground: 222 47% 7%;
2828
--muted: 0 0% 40%;
2929
--muted-foreground: 0 0% 40%;
30-
/* Accent: Slightly brighter teal for highlights */
31-
--accent: 195 65% 48%;
30+
/* Accent: Vibrant indigo for highlights */
31+
--accent: 243 75% 59%;
3232
--accent-foreground: 0 0% 100%;
3333
--destructive: 0 65% 50%;
3434
--destructive-foreground: 0 0% 100%;
3535
--border: 220 13% 91%;
3636
--input: 220 13% 91%;
37-
--ring: 195 70% 42%;
37+
--ring: 243 75% 59%;
3838
--radius: 0.5rem;
3939
}
4040

@@ -46,22 +46,22 @@
4646
--card-foreground: 213 31% 91%;
4747
--popover: 222 47% 7%;
4848
--popover-foreground: 213 31% 91%;
49-
/* Primary: Brighter teal-cyan for dark mode visibility */
50-
--primary: 195 75% 52%;
49+
/* Primary: Light indigo for dark mode visibility */
50+
--primary: 243 88% 81%;
5151
--primary-foreground: 222 47% 4%;
5252
/* Secondary: Muted blue-gray for dark mode */
5353
--secondary: 215 25% 18%;
5454
--secondary-foreground: 213 31% 91%;
5555
--muted: 213 20% 69%;
5656
--muted-foreground: 213 20% 69%;
57-
/* Accent: Vibrant teal for dark mode highlights */
58-
--accent: 195 70% 57%;
57+
/* Accent: Light indigo for dark mode highlights - matches primary */
58+
--accent: 243 88% 81%;
5959
--accent-foreground: 222 47% 4%;
6060
--destructive: 0 60% 55%;
6161
--destructive-foreground: 0 0% 100%;
6262
--border: 217 33% 17%;
6363
--input: 217 33% 17%;
64-
--ring: 195 75% 52%;
64+
--ring: 243 88% 81%;
6565
}
6666

6767
* {

0 commit comments

Comments
 (0)