1
0
forked from test/crm

fix: fix collapser bg color for dark mode

This commit is contained in:
Shariq Ansari 2025-01-03 19:43:39 +05:30
parent afb71fd759
commit 553e59ac14

View File

@ -111,6 +111,14 @@ const htmlContent = `
<head>
<style>
${css}
:root {
--bg-surface-gray-3: #ededed;
--bg-surface-gray-4: #e2e2e2;
}
[data-theme='dark'] {
--bg-surface-gray-3: #343434;
--bg-surface-gray-4: #424242;
}
.replied-content .collapse {
margin: 10px 0 10px 0;
@ -121,14 +129,14 @@ const htmlContent = `
font-weight: 700;
height: 12px;
line-height: 0.1;
background: #e8eaed;
background: var(--bg-surface-gray-3);
width: 23px;
justify-content: center;
border-radius: 5px;
}
.replied-content .collapse:hover {
background: #dadce0;
background: var(--bg-surface-gray-4);
}
.replied-content .collapse + input {