svg icons working with theme function
This commit is contained in:
parent
da2e56d08e
commit
b99281d42a
10 changed files with 1506 additions and 134 deletions
assets/css
22
assets/css/_svg-icons.scss
Normal file
22
assets/css/_svg-icons.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
SVG ICON SYSTEM
|
||||
per https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
|
||||
*/
|
||||
.icon {
|
||||
display: inline-flex;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.icon svg,
|
||||
.icon img {
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
.icon.baseline svg,
|
||||
.icon img {
|
||||
top: 0.125em;
|
||||
position: relative;
|
||||
}
|
||||
|
|
@ -4,6 +4,9 @@
|
|||
/* Load Bootstrap v5 and customizations */
|
||||
@import "bs-load";
|
||||
|
||||
/*SVG ICON SYSTEM*/
|
||||
@import "svg-icons";
|
||||
|
||||
|
||||
|
||||
/* main */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue