Litzuck / lol-spectator-overlay-client

A client that produces an overlay similar to that of the one used in the broadcasts of LoL Esports during 2015-2017
MIT License
28 stars 10 forks source link

How do I change the font? #12

Closed Khhd1 closed 3 years ago

Khhd1 commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here. image I want to change the font for the countdown

Litzuck commented 3 years ago

Thanks for your feature request, but this won't be high on my priority list of new features, so don't expect anything soon. If you realy need another font you can always customize it by editing the code yourself or you can try to implement it yourself and open a pull request so others can use it too.

Sky-CSC commented 3 years ago

You can write this on the .css

@font-face {
    font-family: BeaufortforLOL-Bold;
    src: url(../../static/media/beaufortforlol-bold.4effc8d5.otf) format("OpenType");
}

div {
    font-family: BeaufortforLOL-Bold;
}

beaufortforlol-bold.4effc8d5.otf.zip

marsultor commented 3 years ago

Changing the font will remain up to the user to manually edit the css for now. If someone wants to implement that customization feature, feel free to let us know about it.