diff --git a/client/web/src/components/panels/Document.vue b/client/web/src/components/panels/Document.vue index de71e6c4a..f502eebcd 100644 --- a/client/web/src/components/panels/Document.vue +++ b/client/web/src/components/panels/Document.vue @@ -104,39 +104,45 @@
- - - - + + + + - - - + + + - - - - - - + + + + + + - - - - - - - - + + + + + + + +
- +
+ +
+ + +
+
@@ -169,6 +175,10 @@ flex: 0 0 auto; display: flex; flex-direction: column; + + .working-colors .swap-and-reset { + font-size: 0; + } } .viewport { @@ -196,9 +206,9 @@ import { makeModifiersBitfield } from "@/utilities/input"; import { ResponseType, registerResponseHandler, Response, UpdateCanvas, SetActiveTool, ExportDocument, SetCanvasZoom, SetCanvasRotation } from "@/utilities/response-handler"; import LayoutRow from "@/components/layout/LayoutRow.vue"; import LayoutCol from "@/components/layout/LayoutCol.vue"; -import SwatchPair from "@/components/widgets/inputs/SwatchPair.vue"; +import SwatchPairInput from "@/components/widgets/inputs/SwatchPairInput.vue"; import { MenuDirection } from "@/components/widgets/floating-menus/FloatingMenu.vue"; -import ShelfItem from "@/components/widgets/inputs/ShelfItem.vue"; +import ShelfItemInput from "@/components/widgets/inputs/ShelfItemInput.vue"; import Separator, { SeparatorDirection, SeparatorType } from "@/components/widgets/separators/Separator.vue"; import IconButton from "@/components/widgets/buttons/IconButton.vue"; import PopoverButton from "@/components/widgets/buttons/PopoverButton.vue"; @@ -331,8 +341,8 @@ export default defineComponent({ components: { LayoutRow, LayoutCol, - SwatchPair, - ShelfItem, + SwatchPairInput, + ShelfItemInput, Separator, IconButton, PopoverButton, diff --git a/client/web/src/components/panels/LayerTree.vue b/client/web/src/components/panels/LayerTree.vue index 8a52cbc33..5d11cef3a 100644 --- a/client/web/src/components/panels/LayerTree.vue +++ b/client/web/src/components/panels/LayerTree.vue @@ -30,7 +30,7 @@ >
- +
{{ layer.name }} @@ -112,7 +112,7 @@ import NumberInput from "@/components/widgets/inputs/NumberInput.vue"; import PopoverButton from "@/components/widgets/buttons/PopoverButton.vue"; import { MenuDirection } from "@/components/widgets/floating-menus/FloatingMenu.vue"; import IconButton from "@/components/widgets/buttons/IconButton.vue"; -import Icon from "@/components/widgets/labels/Icon.vue"; +import IconLabel from "@/components/widgets/labels/IconLabel.vue"; import DropdownInput from "@/components/widgets/inputs/DropdownInput.vue"; import { SectionsOfMenuListEntries } from "@/components/widgets/floating-menus/MenuList.vue"; @@ -230,7 +230,7 @@ export default defineComponent({ PopoverButton, NumberInput, IconButton, - Icon, + IconLabel, DropdownInput, }, }); diff --git a/client/web/src/components/widgets/buttons/IconButton.vue b/client/web/src/components/widgets/buttons/IconButton.vue index 6047c3d79..d2dec1077 100644 --- a/client/web/src/components/widgets/buttons/IconButton.vue +++ b/client/web/src/components/widgets/buttons/IconButton.vue @@ -1,6 +1,6 @@ @@ -53,7 +53,7 @@ diff --git a/client/web/src/components/widgets/floating-menus/MenuList.vue b/client/web/src/components/widgets/floating-menus/MenuList.vue index 2dd5cc23a..05d4ad281 100644 --- a/client/web/src/components/widgets/floating-menus/MenuList.vue +++ b/client/web/src/components/widgets/floating-menus/MenuList.vue @@ -12,10 +12,10 @@ @mouseleave="handleEntryMouseLeave(entry)" :data-hover-menu-spawner-extend="entry.children && []" > - +
- +
@@ -53,7 +53,7 @@ flex: 0 0 auto; } - .icon svg { + .icon-label svg { fill: var(--color-e-nearwhite); } @@ -66,7 +66,7 @@ margin-left: 8px; } - .icon, + .icon-label, .no-icon { margin: 0 4px; @@ -125,7 +125,7 @@ import { defineComponent, PropType } from "vue"; import { keyboardLockApiSupported } from "@/utilities/fullscreen"; import FloatingMenu, { MenuDirection, MenuType } from "@/components/widgets/floating-menus/FloatingMenu.vue"; import Separator, { SeparatorDirection, SeparatorType } from "@/components/widgets/separators/Separator.vue"; -import Icon from "@/components/widgets/labels/Icon.vue"; +import IconLabel from "@/components/widgets/labels/IconLabel.vue"; import UserInputLabel from "@/components/widgets/labels/UserInputLabel.vue"; export type MenuListEntries = Array; @@ -259,7 +259,7 @@ const MenuList = defineComponent({ components: { FloatingMenu, Separator, - Icon, + IconLabel, UserInputLabel, }, }); diff --git a/client/web/src/components/widgets/inputs/CheckboxInput.vue b/client/web/src/components/widgets/inputs/CheckboxInput.vue index 775eab99c..3e7e2c872 100644 --- a/client/web/src/components/widgets/inputs/CheckboxInput.vue +++ b/client/web/src/components/widgets/inputs/CheckboxInput.vue @@ -3,7 +3,7 @@
@@ -26,7 +26,7 @@ padding: 2px; border-radius: 2px; - .icon { + .icon-label { fill: var(--color-2-mildblack); } } @@ -40,7 +40,7 @@ .checkbox-box { background: var(--color-accent); - .icon { + .icon-label { fill: var(--color-f-white); } } @@ -54,7 +54,7 @@ diff --git a/client/web/src/components/widgets/inputs/DropdownInput.vue b/client/web/src/components/widgets/inputs/DropdownInput.vue index 30b74da76..b6d146dc8 100644 --- a/client/web/src/components/widgets/inputs/DropdownInput.vue +++ b/client/web/src/components/widgets/inputs/DropdownInput.vue @@ -1,9 +1,9 @@