Update index.html
Browse files- index.html +11 -0
index.html
CHANGED
|
@@ -413,6 +413,11 @@
|
|
| 413 |
<input name="nameSpaceLength" type="range" class="form-control form-range"
|
| 414 |
id="nameSpaceLength" value="3" step="1" min="0" max="12">
|
| 415 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 416 |
<div class="input-group">
|
| 417 |
<span class="input-group-text bg-secondary text-light">StrokeColor</span>
|
| 418 |
<input name="strokeColor" type="color" class="form-control form-control-color"
|
|
@@ -473,6 +478,7 @@
|
|
| 473 |
<li>
|
| 474 |
<ul>
|
| 475 |
<li>Google Fontsからフォントを選択できるようにした。</li>
|
|
|
|
| 476 |
</ul>
|
| 477 |
</li>
|
| 478 |
<li>
|
|
@@ -854,6 +860,11 @@
|
|
| 854 |
f.textContent = 'body { font-family: "' + i.value.trim() + '"; }';
|
| 855 |
});
|
| 856 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 857 |
document.getElementById("windowSize").addEventListener("change", function () {
|
| 858 |
document.documentElement.style.setProperty('--messageWindowSize', this.value + "%");
|
| 859 |
createEditor();
|
|
|
|
| 413 |
<input name="nameSpaceLength" type="range" class="form-control form-range"
|
| 414 |
id="nameSpaceLength" value="3" step="1" min="0" max="12">
|
| 415 |
</div>
|
| 416 |
+
<div class="input-group">
|
| 417 |
+
<span class="input-group-text bg-secondary text-light">fontColor</span>
|
| 418 |
+
<input name="fontColor" type="color" class="form-control form-control-color"
|
| 419 |
+
id="fontColor" value="#ffffff">
|
| 420 |
+
</div>
|
| 421 |
<div class="input-group">
|
| 422 |
<span class="input-group-text bg-secondary text-light">StrokeColor</span>
|
| 423 |
<input name="strokeColor" type="color" class="form-control form-control-color"
|
|
|
|
| 478 |
<li>
|
| 479 |
<ul>
|
| 480 |
<li>Google Fontsからフォントを選択できるようにした。</li>
|
| 481 |
+
<li>FontColorの変更に対応した。</li>
|
| 482 |
</ul>
|
| 483 |
</li>
|
| 484 |
<li>
|
|
|
|
| 860 |
f.textContent = 'body { font-family: "' + i.value.trim() + '"; }';
|
| 861 |
});
|
| 862 |
|
| 863 |
+
document.getElementById("fontColor").addEventListener("change", function () {
|
| 864 |
+
document.documentElement.style.setProperty('--bs-light-rgb', hex2rgb(document.getElementById("fontColor").value));
|
| 865 |
+
createEditor();
|
| 866 |
+
});
|
| 867 |
+
|
| 868 |
document.getElementById("windowSize").addEventListener("change", function () {
|
| 869 |
document.documentElement.style.setProperty('--messageWindowSize', this.value + "%");
|
| 870 |
createEditor();
|