Skip to content

Commit c2c2cb6

Browse files
committed
address review nits on dark mode warning callout + alpha consistency
- standardize alpha values to 2-decimal form (0.1 → 0.10) so the surface depth scale reads uniformly (0.02 / 0.04 / 0.08 / 0.10 / 0.14) - add comment above warning callout block noting the selector depends on mintlify's yellow-* tailwind classes and silently no-ops if renamed
1 parent 51766d4 commit c2c2cb6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,15 @@ table tbody td:first-child {
183183
html.dark .prose table,
184184
html.dark article table,
185185
html.dark table {
186-
border-color: rgba(237, 238, 240, 0.1) !important;
186+
border-color: rgba(237, 238, 240, 0.10) !important;
187187
background-color: rgba(237, 238, 240, 0.02) !important;
188188
}
189189

190190
html.dark .prose table thead th,
191191
html.dark article table thead th,
192192
html.dark table thead th {
193193
background-color: rgba(237, 238, 240, 0.04) !important;
194-
border-bottom-color: rgba(237, 238, 240, 0.1) !important;
194+
border-bottom-color: rgba(237, 238, 240, 0.10) !important;
195195
}
196196

197197
html.dark .prose table tbody tr,
@@ -219,7 +219,7 @@ html.dark {
219219
/* hero bot dark recolor */
220220
html.dark img[src*="/images/tinker-bot.svg"] { content: url("/images/tinker-bot-dark.svg"); }
221221

222-
/* warning callout */
222+
/* warning callout — selector depends on mintlify's yellow-* classes; renames silently break this */
223223
html.dark .callout[class*="yellow"] {
224224
background-color: rgba(237, 238, 240, 0.03) !important;
225225
border-color: rgba(237, 238, 240, 0.10) !important;

0 commit comments

Comments
 (0)