Moved /docs back into root

This commit is contained in:
Kyle Pollard 2019-05-27 21:27:14 -07:00
parent 5cf0f08d5e
commit 216432bf8f
5 changed files with 0 additions and 0 deletions

4
script.js Normal file
View file

@ -0,0 +1,4 @@
document.getElementById('switch').addEventListener('click', function() {
const stylesheet = document.getElementById('stylesheet');
stylesheet.href = stylesheet.href.replace(/dark|light/, function(replaced) { return replaced === 'dark' ? 'light' : 'dark' });
});