Add toolbar icon color

This commit is contained in:
Aaron Kollasch 2021-11-03 13:14:26 -04:00
parent 66b90006bd
commit 2b1afa724a
No known key found for this signature in database
GPG key ID: F813CAE853E39883
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@
--icon-button-size: calc(calc(var(--block-line-separation-size) * 2) + 1.66rem); /* 20px */
--inactive-opacity: 0.3;
--overflow-size: 1px;
--icon-fit: 8;
--icon-fit: 9;
background: var(--bgColor);
margin-block: 0;

View file

@ -1813,7 +1813,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
return Utils.escaped`<input type="radio" value="${containerColor}" name="container-color" id="edit-container-panel-choose-color-${containerColor}" />
<label for="edit-container-panel-choose-color-${containerColor}" class="usercontext-icon choose-color-icon" data-identity-icon="circle" data-identity-color="${containerColor}">`;
};
const colors = ["blue", "turquoise", "green", "yellow", "orange", "red", "pink", "purple"];
const colors = ["blue", "turquoise", "green", "yellow", "orange", "red", "pink", "purple", "toolbar"];
const colorRadioFieldset = document.getElementById("edit-container-panel-choose-color");
colors.forEach((containerColor) => {
const templateInstance = document.createElement("div");