File size: 1,805 Bytes
19aaa42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  body {
    @apply antialiased text-text-primary bg-slate-50;
  }
}

@layer components {
  .chat-bubble {
    @apply relative rounded-2xl p-6 transition-all duration-300 ease-in-out;
  }
  
  .chat-bubble-user {
    @apply bg-white shadow-sm;
  }
  
  .chat-bubble-assistant {
    @apply bg-secondary/30;
  }

  .button-primary {
    @apply flex items-center justify-center px-6 py-3 rounded-full 
           bg-primary hover:bg-primary-dark text-white font-semibold
           transition-all duration-200 ease-in-out
           disabled:opacity-50 disabled:cursor-not-allowed;
  }

  .button-secondary {
    @apply flex items-center justify-center px-6 py-3 rounded-full 
           bg-secondary hover:bg-secondary/80 text-text-primary font-semibold
           transition-all duration-200 ease-in-out;
  }

  .input-primary {
    @apply w-full px-6 py-4 rounded-2xl bg-secondary
           text-text-primary placeholder:text-text-secondary
           focus:outline-none focus:ring-2 focus:ring-primary/20
           transition-all duration-200 ease-in-out;
  }
}

/* Custom animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Markdown content styling */
.prose pre {
  @apply bg-slate-800 text-white rounded-xl p-4 my-4 overflow-x-auto;
}

.prose code {
  @apply bg-slate-100 text-slate-800 rounded px-1.5 py-0.5 text-sm font-mono;
}

.prose ul {
  @apply list-disc pl-6 my-4;
}

.prose ol {
  @apply list-decimal pl-6 my-4;
}

.prose a {
  @apply text-primary hover:text-primary-dark underline;
}

.prose blockquote {
  @apply border-l-4 border-secondary pl-4 italic my-4;
}