Skip to content

Commit 22ba9c3

Browse files
committed
feat: Icon coloring
Resolves #265
1 parent 4ed8a0b commit 22ba9c3

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

preview-src/samples/edge-cases/index.adoc

+8
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,11 @@ Content-Length: 121
122122
} ]
123123
}
124124
----
125+
126+
== Icon coloring
127+
128+
icon:heart[2x,role=red]
129+
icon:heart[2x,role=blue]
130+
icon:heart[2x,role=green]
131+
icon:heart[2x,role=orange]
132+
icon:heart[2x,role=yellow]

src/css/main.css

+16
Original file line numberDiff line numberDiff line change
@@ -327,3 +327,19 @@ html.dark-theme #modal-versions .modal-versions-close .cls-1h {
327327
html.dark-theme .invert-dark img {
328328
filter: invert(1);
329329
}
330+
331+
.icon.red {
332+
color: red;
333+
}
334+
.icon.blue {
335+
color: blue;
336+
}
337+
.icon.yellow {
338+
color: yellow;
339+
}
340+
.icon.orange {
341+
color: orange;
342+
}
343+
.icon.green {
344+
color: green;
345+
}

0 commit comments

Comments
 (0)