ezeek / smartly

smartly - hubitat dashboard skin engine
https://hubitat.ezeek.us/smartly/
13 stars 1 forks source link

how-to CUSTOM CSS @font-face within @import #97

Closed ezeek closed 3 years ago

ezeek commented 3 years ago

davidscottjackson dman2306 mircolino

https://community.hubitat.com/t/release-ecowitt-gw1000-wi-fi-gateway/38983/629?u=spelcheck

ezeek commented 3 years ago

Fix is to extract any @font-face declarations from within the @import css and place it before the import.


/* ------- CUSTOM CSS BELOW THIS LINE - This CSS will be preserved during updates ------- */

@font-face {
  font-family: "Ecowitt Icons";
  src: url("https://mircolino.github.io/ecowitt/ecowitt.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@import url("https://mircolino.github.io/ecowitt/ecowitt.css");
ezeek commented 3 years ago

@mircolino would you mind posting this as a solution on HE community for dman2306 and davidscottjackson? thank you!