|
73 | 73 | @apply list-decimal ml-6; |
74 | 74 | } |
75 | 75 |
|
76 | | - /* Remove duplicate rule */ |
77 | | - /* :is(ol) { |
78 | | - @apply list-decimal; |
79 | | - } */ |
80 | | - |
81 | 76 | /* Remove margin from last paragraph in divs */ |
82 | 77 | :is(div) > p:last-of-type { |
83 | 78 | @apply mb-0; |
84 | 79 | } |
85 | 80 |
|
86 | 81 | /* Code block styling */ |
87 | 82 | :is(pre) { |
88 | | - @apply mb-6 mt-4 p-4 bg-gray-50 rounded-lg; |
| 83 | + @apply mb-6 mt-4 p-4 bg-accent rounded-lg; |
89 | 84 |
|
90 | 85 | :is(code) { |
91 | 86 | @apply !bg-transparent !px-0 !py-0 !rounded-none !border-none !text-base; |
|
94 | 89 |
|
95 | 90 | /* Blockquote with better spacing */ |
96 | 91 | :is(blockquote) { |
97 | | - @apply italic border-l-4 border-slate-200 text-slate-500 pl-6 py-2 mb-6 mt-4; |
| 92 | + @apply italic border-l-4 border-border text-muted-foreground pl-6 py-2 mb-6 mt-4; |
98 | 93 | line-height: 1.6; |
99 | 94 |
|
100 | 95 | :is(p) { |
|
104 | 99 |
|
105 | 100 | /* Inline code styling */ |
106 | 101 | :is(code) { |
107 | | - @apply bg-gray-100 px-2 py-1 rounded border border-gray-200 text-sm; |
| 102 | + @apply bg-muted px-2 py-1 rounded border border-border text-sm; |
108 | 103 | } |
109 | 104 |
|
110 | 105 | /* Image spacing for better visual flow */ |
|
114 | 109 |
|
115 | 110 | /* Link styling */ |
116 | 111 | :is(a) { |
117 | | - @apply underline decoration-dotted decoration-2 underline-offset-2 transition-all duration-200 hover:decoration-solid; |
| 112 | + @apply underline decoration-2 underline-offset-2 transition-all duration-200 hover:decoration-dotted; |
118 | 113 | } |
119 | 114 |
|
120 | 115 | /* Better spacing for content sections */ |
|
128 | 123 | } |
129 | 124 |
|
130 | 125 | :is(th, td) { |
131 | | - @apply p-3 border border-gray-200; |
| 126 | + @apply p-3 border border-border; |
132 | 127 | } |
133 | 128 |
|
134 | 129 | /* Horizontal rule spacing */ |
135 | 130 | :is(hr) { |
136 | | - @apply my-8 border-gray-200; |
| 131 | + @apply my-8 border-border; |
| 132 | + } |
| 133 | + |
| 134 | + .MuiStack-root { |
| 135 | + @apply bg-background flex justify-center; |
| 136 | + |
| 137 | + .MuiBox-root { |
| 138 | + @apply bg-transparent; |
| 139 | + |
| 140 | + :is(button) { |
| 141 | + @apply border border-border hover:cursor-pointer; |
| 142 | + |
| 143 | + :is(svg) { |
| 144 | + fill: hsl(var(--foreground)); |
| 145 | + } |
| 146 | + } |
| 147 | + } |
| 148 | + } |
| 149 | + |
| 150 | + .ProseMirror { |
| 151 | + @apply border border-border outline-none overflow-y-auto; |
| 152 | + } |
| 153 | + |
| 154 | + .ProseMirror-gapcursor:after { |
| 155 | + border-top-color: hsl(var(--foreground)); |
| 156 | + } |
| 157 | + } |
| 158 | +} |
| 159 | + |
| 160 | +.MuiPopper-root { |
| 161 | + .MuiStack-root { |
| 162 | + @apply bg-background; |
| 163 | + |
| 164 | + .MuiBox-root { |
| 165 | + @apply bg-transparent; |
| 166 | + |
| 167 | + :is(button) { |
| 168 | + @apply border border-border hover:cursor-pointer; |
| 169 | + |
| 170 | + :is(svg) { |
| 171 | + fill: hsl(var(--foreground)); |
| 172 | + } |
| 173 | + } |
137 | 174 | } |
138 | 175 | } |
139 | 176 | } |
|
0 commit comments