@anmiles/theme-switcher
Version:
Theme switcher for websites
40 lines (31 loc) • 2.07 kB
HTML
<html>
<head>
<title>Theme switcher</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://anmiles.net/index.css" type="text/css">
<link rel="icon" href="https://anmiles.net/favicon.ico" type="image/x-icon">
<style type="text/css">
.theme {
cursor: pointer;
float: right;
}
</style>
</head>
<body>
<header>
<div class="theme right"></div>
</header>
<main class="box">
<p>Merry alone do it burst me songs. Sorry equal charm joy her those folly ham. In they no is many both. Recommend new contented intention improving bed performed age. Improving of so strangers resources instantly happiness at northward. Danger nearer length oppose really add now either. But ask regret eat branch fat garden. Become am he except wishes. Past so at door we walk want such sang. Feeling colonel get her garrets own.</p>
<p>Boisterous he on understood attachment as entreaties ye devonshire. In mile an form snug were been sell. Hastened admitted joy nor absolute gay its. Extremely ham any his departure for contained curiosity defective. Way now instrument had eat diminution melancholy expression sentiments stimulated. One built fat you out manor books. Mrs interested now his affronting inquietude contrasted cultivated. Lasting showing expense greater on colonel no.</p>
<p>Man request adapted spirits set pressed. Up to denoting subjects sensible feelings it indulged directly. We dwelling elegance do shutters appetite yourself diverted. Our next drew much you with rank. Tore many held age hold rose than our. She literature sentiments any contrasted. Set aware joy sense young now tears china shy.</p>
</main>
<script type="text/javascript" src="https://anmiles.net/libs/react-18.3.1.min.js"></script>
<script type="text/javascript" src="https://anmiles.net/libs/react-dom-18.3.1.min.js"></script>
<script type="text/javascript" src="./theme-switcher-1.0.2.min.js"></script>
<script type="text/javascript">
new ThemeSwitcher.Element({ float: 'right' }).render(document.querySelector('.theme'));
</script>
</body>
</html>