Commit b86393c

HPCesia <me@hpcesia.com>
2025-02-07 07:46:58
perf: task list style
1 parent 4f0148d
Changed files (1)
src
src/styles/markdown.scss
@@ -140,7 +140,15 @@ article {
       transition: 300ms all ease;
 
       &:checked {
-        @apply bg-primary/50;
+        @apply bg-primary/75;
+
+        &::after {
+          content: '✓';
+          position: absolute;
+          font-size: 0.75em;
+          line-height: 0.75em;
+          color: theme('colors.primary-content');
+        }
       }
     }
   }