fix background transparency on notes

This commit is contained in:
Marie 2025-05-03 22:39:49 +00:00
parent 69448c0204
commit a7fa4100be

View file

@ -60,7 +60,7 @@ defineExpose({
container-type: inline-size; container-type: inline-size;
&.noGap { &.noGap {
background: var(--MI_THEME-panel); background: color-mix(in srgb, var(--MI_THEME-panel) 65%, transparent);
.note { .note {
border-bottom: solid 0.5px var(--MI_THEME-divider); border-bottom: solid 0.5px var(--MI_THEME-divider);
@ -78,7 +78,7 @@ defineExpose({
background: var(--MI_THEME-bg); background: var(--MI_THEME-bg);
.note { .note {
background: var(--MI_THEME-panel); background: color-mix(in srgb, var(--MI_THEME-panel) 65%, transparent);
border-radius: var(--MI-radius); border-radius: var(--MI-radius);
} }
} }