Skip to content

Commit dbaa60f

Browse files
committed
Improve discernability of task list checkmarks
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
1 parent 7dd24ea commit dbaa60f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

dist/assets/stylesheets/modern/main.71200a3a.min.css renamed to dist/assets/stylesheets/modern/main.21338c02.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{% endblock %}
4848
{% block styles %}
4949
{% if config.theme.variant == "modern" %}
50-
{% set href = 'assets/stylesheets/modern/main.71200a3a.min.css' | url %}
50+
{% set href = 'assets/stylesheets/modern/main.21338c02.min.css' | url %}
5151
{% else %}
5252
{% set href = 'assets/stylesheets/classic/main.6eec86b3.min.css' | url %}
5353
{% endif %}

src/assets/stylesheets/modern/main/extensions/pymdownx/_tasklist.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929

3030
// Tasklist variables
3131
:root {
32-
--md-tasklist-icon: svg-load("lucide/circle-check.svg");
32+
--md-tasklist-icon: svg-load("lucide/circle.svg");
33+
--md-tasklist-icon--checked: svg-load("lucide/circle-check-big.svg");
3334
}
3435

3536
// ----------------------------------------------------------------------------
@@ -75,5 +76,6 @@
7576
// Tasklist indicator in checked state
7677
[type="checkbox"]:checked + .task-list-indicator::before {
7778
background-color: $clr-green-a400;
79+
mask-image: var(--md-tasklist-icon--checked);
7880
}
7981
}

0 commit comments

Comments
 (0)