kempo-css 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.html +14 -14
- package/package.json +1 -1
package/index.html
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>
|
|
7
|
-
<link rel="stylesheet" href="./
|
|
8
|
-
<link rel="stylesheet" href="./
|
|
6
|
+
<title>Kempo CSS</title>
|
|
7
|
+
<link rel="stylesheet" href="./kempo.css" />
|
|
8
|
+
<link rel="stylesheet" href="./kempo-hljs.css" />
|
|
9
9
|
<style>
|
|
10
10
|
main {
|
|
11
11
|
position: relative;
|
|
@@ -43,25 +43,25 @@
|
|
|
43
43
|
<button></button>
|
|
44
44
|
</theme-btn>
|
|
45
45
|
</div>
|
|
46
|
-
<h1 class="ta-center">
|
|
46
|
+
<h1 class="ta-center">Kempo CSS</h1>
|
|
47
47
|
<div class="mb">
|
|
48
48
|
<div class="card p mb">
|
|
49
|
-
<h2 class="mt0">How to use
|
|
49
|
+
<h2 class="mt0">How to use Kempo CSS</h2>
|
|
50
50
|
|
|
51
51
|
<div class="mb">
|
|
52
52
|
<h4>NPM</h4>
|
|
53
|
-
<pre><code class="d-block mb-sm">npm install
|
|
54
|
-
<p>Then include it in your build system, or import it directly from <code>node_modules/
|
|
53
|
+
<pre><code class="d-block mb-sm">npm install kempo-css</code></pre>
|
|
54
|
+
<p>Then include it in your build system, or import it directly from <code>node_modules/kempocss/dist/kempo.css</code>.</p>
|
|
55
55
|
</div>
|
|
56
56
|
<hr />
|
|
57
57
|
<h4>Direct Download</h4>
|
|
58
|
-
<a href="./
|
|
59
|
-
Download
|
|
58
|
+
<a href="./kempo.css" download="kempo.css" class="btn primary mb">
|
|
59
|
+
Download kempo.css
|
|
60
60
|
</a><br />
|
|
61
|
-
<a href="./
|
|
62
|
-
Download
|
|
61
|
+
<a href="./kempo-hljs.css" download="kempo-hljs.css" class="btn secondary mb">
|
|
62
|
+
Download kempo-hljs.css
|
|
63
63
|
</a><br />
|
|
64
|
-
<a href="https://github.com/dustinpoissant/
|
|
64
|
+
<a href="https://github.com/dustinpoissant/kempo-css" target="_blank" class="btn">
|
|
65
65
|
<svg height="1.15em" viewBox="0 0 173.18974 46.836636"xmlns="http://www.w3.org/2000/svg"><path fill="#0f0e0f" d="M 19.681725,2.6489257e-8 C 9.9664034,2.6489257e-8 3.7329102e-7,4.133725 3.7329102e-7,24.004338 3.7329102e-7,43.87543 11.41032,46.836632 21.025631,46.836632 c 7.961227,0 12.790338,-3.402023 12.790338,-3.402023 0.199066,-0.109629 0.221166,-0.388163 0.221166,-0.515586 V 20.726985 c 0,-0.375534 -0.304869,-0.680404 -0.680402,-0.680404 H 18.803398 c -0.375535,0 -0.680406,0.30487 -0.680406,0.680404 v 7.115371 c 0,0.375533 0.304871,0.681108 0.680406,0.681108 h 5.677081 v 8.84033 c 0,0 -1.274214,0.43388 -4.798754,0.43388 -4.157802,0 -9.9665886,-1.518345 -9.9665886,-14.291314 0,-12.775371 6.0485566,-14.456837 11.7267656,-14.456837 4.915121,0 7.032378,0.86574 8.379683,1.282626 0.423618,0.129343 0.815642,-0.292192 0.815642,-0.667726 l 1.623532,-6.874482 c 0,-0.175983 -0.05988,-0.388016 -0.259906,-0.531787 C 31.453659,1.867714 28.115616,2.6489257e-8 19.681725,2.6489257e-8 Z M 77.169581,1.696786 c -0.372654,0 -0.676181,0.305506 -0.676181,0.683926 v 42.880284 c 0,0.377938 0.303527,0.685335 0.676181,0.685335 h 8.194438 c 0.375052,0 0.676181,-0.307397 0.676181,-0.685335 V 26.919652 h 12.772731 c 0,0 -0.0219,18.339901 -0.0219,18.341344 0,0.377938 0.30347,0.685335 0.679,0.685335 h 8.213449 c 0.37505,0 0.67522,-0.307397 0.67618,-0.685335 V 2.380712 c 0,-0.37842 -0.29994,-0.683926 -0.67547,-0.683926 h -8.194439 c -0.37457,0 -0.6783,0.305506 -0.6783,0.683926 l 0.002,15.836664 H 86.0402 V 2.380712 c 0,-0.37842 -0.30112,-0.683926 -0.676172,-0.683926 z m 67.904519,0 c -0.37361,0 -0.67759,0.305506 -0.67759,0.683926 v 42.880284 c 0,0.378418 0.30372,0.686039 0.67829,0.686039 h 5.70174 c 0.25676,0 0.45141,-0.132379 0.59518,-0.36415 0.14185,-0.230323 0.34584,-1.977117 0.34584,-1.977117 0,0 3.36047,3.184376 9.72147,3.184376 7.46837,0 11.75072,-3.788626 11.75072,-17.005889 0,-13.217261 -6.84012,-14.944248 -11.46193,-14.944248 -4.61845,0 -7.75986,2.060935 -7.75986,2.060935 V 2.380712 c 0,-0.37842 -0.30305,-0.683926 -0.67618,-0.683926 z M 43.536035,2.673019 c -2.915798,0 -5.28335,2.384348 -5.28335,5.334766 0,2.947533 2.367552,5.338289 5.28335,5.338289 2.918684,0 5.284054,-2.390756 5.284054,-5.338289 0,-2.950418 -2.36537,-5.334766 -5.284054,-5.334766 z m 13.20309,4.480387 c -0.325527,0 -0.500089,0.143395 -0.500089,0.45642 v 8.391657 c 0,0 -4.198103,1.013046 -4.481798,1.095268 -0.282732,0.08174 -0.490933,0.342537 -0.490933,0.653639 v 5.273489 c 0,0.378899 0.303016,0.68463 0.677588,0.68463 h 4.295143 v 12.6868 c 0,9.422492 6.609133,10.348349 11.068901,10.348349 2.038269,0 4.476588,-0.654384 4.87905,-0.802963 0.243303,-0.08943 0.38528,-0.341783 0.38528,-0.6149 l 0.0064,-5.801048 c 0,-0.378418 -0.319329,-0.684631 -0.678995,-0.684631 -0.358225,0 -1.275308,0.145097 -2.218711,0.145097 -3.019179,0 -4.04228,-1.403214 -4.04228,-3.220299 V 23.708509 h 6.146885 c 0.374574,0 0.678996,-0.305731 0.678996,-0.68463 v -6.605418 c 0,-0.37842 -0.304422,-0.683224 -0.678996,-0.683224 h -6.146883 c 0,0 -0.0091,-8.119262 -0.0091,-8.121185 0,-0.307256 -0.158356,-0.460646 -0.514178,-0.460646 z m -17.351023,8.585353 c -0.375053,0 -0.71069,0.386095 -0.71069,0.762109 v 28.358647 c 0,0.83281 0.519552,1.08118 1.191764,1.08118 h 7.359781 c 0.807326,0 1.005111,-0.396869 1.005111,-1.094563 V 36.215698 16.421982 c 0,-0.375534 -0.302536,-0.683223 -0.677588,-0.683223 z m 73.668948,0.0648 c -0.37217,0 -0.67759,0.306915 -0.67759,0.685333 V 36.21288 c 0,8.527652 4.75283,10.613889 11.29077,10.613889 5.36423,0 9.68837,-2.963916 9.68837,-2.963916 0,0 0.20559,1.562375 0.29936,1.747499 0.0928,0.184642 0.33545,0.371195 0.59799,0.371195 l 5.25024,-0.02325 c 0.37217,0 0.67759,-0.307655 0.67759,-0.684632 l -0.003,-28.784778 c 0,-0.378418 -0.30373,-0.685334 -0.67831,-0.685334 h -8.13167 c -0.37314,0 -0.67618,0.306916 -0.67618,0.685334 v 21.025629 c 0,0 -2.06665,1.511541 -4.99879,1.511541 -2.93215,0 -3.70982,-1.330382 -3.70982,-4.201462 v -18.33571 c 0,-0.378418 -0.30306,-0.685334 -0.67619,-0.685334 z m 46.02028,6.852646 c 2.5018,0.0892 4.66211,1.530523 4.66211,7.64293 0,7.36595 -1.27349,8.820115 -5.21925,8.700868 -2.8206,-0.08607 -4.73324,-1.36574 -4.73324,-1.36574 V 24.055057 c 0,0 1.88715,-1.156867 4.20286,-1.363627 0.36604,-0.03276 0.73012,-0.04795 1.08752,-0.03522 z" /></svg>
|
|
66
66
|
</a>
|
|
67
67
|
</div>
|
|
@@ -1276,7 +1276,7 @@
|
|
|
1276
1276
|
// Initialize theme from localStorage on page load
|
|
1277
1277
|
function initializeTheme() {
|
|
1278
1278
|
const savedTheme =
|
|
1279
|
-
localStorage.getItem("
|
|
1279
|
+
localStorage.getItem("kempo-css-theme") || "auto";
|
|
1280
1280
|
document.documentElement.setAttribute("theme", savedTheme);
|
|
1281
1281
|
}
|
|
1282
1282
|
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
set theme(v) {
|
|
1316
1316
|
document.documentElement.setAttribute("theme", v);
|
|
1317
1317
|
// Save theme to localStorage
|
|
1318
|
-
localStorage.setItem("
|
|
1318
|
+
localStorage.setItem("kempo-css-theme", v);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
1321
|
); // Set max-width for resizable table card based on initial size const resizableCard = document.getElementById('resizable-table-card');
|