herxayah / league-launcher-theme Goto Github PK
View Code? Open in Web Editor NEWcustom theme for lick of leg-ends launcher
custom theme for lick of leg-ends launcher
A pretty theme, but you're doing in bad way.
There is no need to use CDN for CSS. Just use a local file:
function insertCss(css) {
const style = document.createElement('style')
style.textContent = css
document.body.append(style) // append to body
}
window.addEventListener('load', () => {
const css = require('./cute.theme.css') // require raw css
insertCss(css)
})
The style tag is appended to body, so dont need to wait 3.5s for the Client's style loaded.
https://github.com/PrincessAkira/league-launcher-theme/blob/7484f0eaf73a7db54730bcd942bb682100dd47c7/Cute/InjectCute.js#L6-L13
To lower the amount of repos that are being used, I have the idea to create first a new repo which will have the "league-launcher-theme" and "riot-tweakpane" merged together and start combining these projects into one project.
This is just a starter idea and should only be started if the other two repos are in a state where they can be merged together without any huge issues being created.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.