Skip to content

Commit 8b5002f

Browse files
committed
refactor: replace hardcoded background with UnoCSS @apply directive
1 parent 40518da commit 8b5002f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/Code/Viewer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ watch(
157157
158158
/* Highlighted lines in code content - extend full width with negative margin */
159159
.code-content :deep(.line.highlighted) {
160-
background: rgb(234 179 8 / 0.2); /* yellow-500/20 */
160+
@apply bg-yellow-500/20;
161161
margin: 0 -1rem;
162162
padding: 0 1rem;
163163
}

0 commit comments

Comments
 (0)