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 f17980f
Show file tree
Hide file tree
Showing 2 changed files with 26 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]
18 changes: 18 additions & 0 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,21 @@ 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 f17980f

Please sign in to comment.