Skip to content

Commit

Permalink
feat: Icon coloring
Browse files Browse the repository at this point in the history
Resolves #265
  • Loading branch information
oodamien committed Oct 14, 2024
1 parent 4ed8a0b commit 22ba9c3
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions preview-src/samples/edge-cases/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,11 @@ Content-Length: 121
} ]
}
----

== Icon coloring

icon:heart[2x,role=red]
icon:heart[2x,role=blue]
icon:heart[2x,role=green]
icon:heart[2x,role=orange]
icon:heart[2x,role=yellow]
16 changes: 16 additions & 0 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,19 @@ html.dark-theme #modal-versions .modal-versions-close .cls-1h {
html.dark-theme .invert-dark img {
filter: invert(1);
}

.icon.red {
color: red;
}
.icon.blue {
color: blue;
}
.icon.yellow {
color: yellow;
}
.icon.orange {
color: orange;
}
.icon.green {
color: green;
}

0 comments on commit 22ba9c3

Please sign in to comment.