feat(static): colorize weather icons
This commit is contained in:
6
static/src/lib/weather-icons/index.ts
Normal file
6
static/src/lib/weather-icons/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { WeatherIconElement } from "./weather-icon";
|
||||
|
||||
export const init = (iconsPath: string) => {
|
||||
WeatherIconElement.iconsPath = iconsPath;
|
||||
customElements.define("weather-icon", WeatherIconElement);
|
||||
};
|
||||
Reference in New Issue
Block a user