diff --git a/client/web/src/App.vue b/client/web/src/App.vue
index 0c6c29acc..f171cecde 100644
--- a/client/web/src/App.vue
+++ b/client/web/src/App.vue
@@ -3,12 +3,38 @@
diff --git a/client/web/src/components/widgets/Separator.vue b/client/web/src/components/widgets/Separator.vue
new file mode 100644
index 000000000..e83c822a8
--- /dev/null
+++ b/client/web/src/components/widgets/Separator.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
diff --git a/client/web/src/components/widgets/ShelfItem.vue b/client/web/src/components/widgets/ShelfItem.vue
index acf48e878..cf934afd2 100644
--- a/client/web/src/components/widgets/ShelfItem.vue
+++ b/client/web/src/components/widgets/ShelfItem.vue
@@ -10,11 +10,11 @@
border-radius: 2px;
&:hover {
- background: #666;
+ background: var(--color-6-lowergray);
}
&.active {
- background: #3194d6;
+ background: var(--color-accent);
}
svg {
diff --git a/client/web/src/components/widgets/buttons/IconButton.vue b/client/web/src/components/widgets/buttons/IconButton.vue
index 0a2769514..f9a248f88 100644
--- a/client/web/src/components/widgets/buttons/IconButton.vue
+++ b/client/web/src/components/widgets/buttons/IconButton.vue
@@ -1,5 +1,5 @@
-
@@ -14,7 +14,7 @@
border-radius: 2px;
background: none;
vertical-align: top;
- fill: #ddd;
+ fill: var(--color-e-nearwhite);
width: 16px;
height: 16px;
@@ -23,14 +23,10 @@
margin-left: 0;
}
- &.gap-after + .icon-button {
- margin-left: 8px;
- }
-
&:hover {
- background: #666;
- color: white;
- fill: white;
+ background: var(--color-6-lowergray);
+ color: var(--color-f-white);
+ fill: var(--color-f-white);
}
&.size-10 {
diff --git a/client/web/src/components/widgets/buttons/PopoverButton.vue b/client/web/src/components/widgets/buttons/PopoverButton.vue
index 27e1cbf0c..987851e07 100644
--- a/client/web/src/components/widgets/buttons/PopoverButton.vue
+++ b/client/web/src/components/widgets/buttons/PopoverButton.vue
@@ -15,7 +15,7 @@
position: relative;
width: 16px;
height: 24px;
- margin: 2px 4px;
+ flex: 0 0 auto;
.popover {
left: 50%;
@@ -29,12 +29,12 @@
border: none;
border-radius: 2px;
vertical-align: top;
- background: #111;
- fill: #ddd;
+ background: var(--color-1-nearblack);
+ fill: var(--color-e-nearwhite);
&:hover {
- background: #666;
- fill: #fff;
+ background: var(--color-6-lowergray);
+ fill: var(--color-f-white);
}
}
}
diff --git a/client/web/src/components/widgets/inputs/MenuBarInput.vue b/client/web/src/components/widgets/inputs/MenuBarInput.vue
index 632d76627..1db86e1f6 100644
--- a/client/web/src/components/widgets/inputs/MenuBarInput.vue
+++ b/client/web/src/components/widgets/inputs/MenuBarInput.vue
@@ -20,18 +20,18 @@
padding: 0 8px;
svg {
- fill: #ddd;
+ fill: var(--color-e-nearwhite);
}
&:hover {
- background: #666;
+ background: var(--color-6-lowergray);
svg {
- fill: #fff;
+ fill: var(--color-f-white);
}
span {
- color: #fff;
+ color: var(--color-f-white);
}
}
}
diff --git a/client/web/src/components/widgets/inputs/NumberInput.vue b/client/web/src/components/widgets/inputs/NumberInput.vue
index ec6b56a68..935cbe2a0 100644
--- a/client/web/src/components/widgets/inputs/NumberInput.vue
+++ b/client/web/src/components/widgets/inputs/NumberInput.vue
@@ -2,7 +2,7 @@
-
+
@@ -12,7 +12,7 @@
height: 24px;
position: relative;
border-radius: 2px;
- background: #111;
+ background: var(--color-1-nearblack);
overflow: hidden;
input {
@@ -23,13 +23,13 @@
background: none;
padding: 0;
line-height: 24px;
- color: #ddd;
+ color: var(--color-e-nearwhite);
font-size: inherit;
text-align: center;
font-family: inherit;
&::selection {
- background: #3194d6;
+ background: var(--color-accent);
}
}
@@ -46,14 +46,14 @@
padding: 9px 0;
&:hover {
- background: #666;
+ background: var(--color-6-lowergray);
&.right::before {
- border-color: transparent transparent transparent #fff;
+ border-color: transparent transparent transparent var(--color-f-white);
}
&.left::after {
- border-color: transparent #fff transparent transparent;
+ border-color: transparent var(--color-f-white) transparent transparent;
}
}
@@ -68,7 +68,7 @@
height: 0;
border-style: solid;
border-width: 3px 0 3px 3px;
- border-color: transparent transparent transparent #ddd;
+ border-color: transparent transparent transparent var(--color-e-nearwhite);
display: block;
}
}
@@ -84,7 +84,7 @@
height: 0;
border-style: solid;
border-width: 3px 3px 3px 0;
- border-color: transparent #ddd transparent transparent;
+ border-color: transparent var(--color-e-nearwhite) transparent transparent;
display: block;
}
}
@@ -97,6 +97,9 @@ import { defineComponent } from "vue";
export default defineComponent({
components: {},
- props: {},
+ props: {
+ value: { type: Number, required: true },
+ unit: { type: String, default: "" },
+ },
});
diff --git a/client/web/src/components/widgets/inputs/RadioInput.vue b/client/web/src/components/widgets/inputs/RadioInput.vue
index b87d1c87c..ec3b7318a 100644
--- a/client/web/src/components/widgets/inputs/RadioInput.vue
+++ b/client/web/src/components/widgets/inputs/RadioInput.vue
@@ -29,17 +29,17 @@
}
}
- button {
- background: #555;
- fill: #ddd;
+ & > button {
+ background: var(--color-5-dullgray);
+ fill: var(--color-e-nearwhite);
&:hover {
- background: #666;
+ background: var(--color-6-lowergray);
}
&.active {
- background: #3194d6;
- fill: #fff;
+ background: var(--color-accent);
+ fill: var(--color-f-white);
}
}
}
diff --git a/client/web/src/components/widgets/inputs/SwatchPairInput.vue b/client/web/src/components/widgets/inputs/SwatchPairInput.vue
index dd0bd39be..e5316d3d3 100644
--- a/client/web/src/components/widgets/inputs/SwatchPairInput.vue
+++ b/client/web/src/components/widgets/inputs/SwatchPairInput.vue
@@ -1,13 +1,13 @@
-
+
@@ -24,15 +24,15 @@
.swatch {
width: 28px;
height: 28px;
- margin: 2px;
+ margin: 0 2px;
position: relative;
button {
width: 100%;
height: 100%;
border-radius: 50%;
- border: 2px #888 solid;
- box-shadow: 0 0 0 2px #333;
+ border: 2px var(--color-7-middlegray) solid;
+ box-shadow: 0 0 0 2px var(--color-3-darkgray);
margin: 0;
padding: 0;
box-sizing: border-box;
diff --git a/client/web/src/components/widgets/labels/Icon.vue b/client/web/src/components/widgets/labels/Icon.vue
index 0bdf3fad2..fcd542620 100644
--- a/client/web/src/components/widgets/labels/Icon.vue
+++ b/client/web/src/components/widgets/labels/Icon.vue
@@ -1,5 +1,5 @@
-
+
@@ -8,14 +8,11 @@
.icon {
display: inline-block;
flex: 0 0 auto;
- fill: #ddd;
+ fill: var(--color-e-nearwhite);
vertical-align: top;
width: 16px;
height: 16px;
-
- &:not(.gap-after) + .icon {
- margin-left: 0;
- }
+ margin-left: 0;
&.size-10 {
width: 10px;
diff --git a/client/web/src/components/widgets/labels/UserInputLabel.vue b/client/web/src/components/widgets/labels/UserInputLabel.vue
index a91543f8d..e9ef40001 100644
--- a/client/web/src/components/widgets/labels/UserInputLabel.vue
+++ b/client/web/src/components/widgets/labels/UserInputLabel.vue
@@ -38,12 +38,12 @@
font-family: "Inconsolata", monospace;
font-weight: bold;
text-align: center;
- color: #111;
- background: #ddd;
+ color: var(--color-2-mildblack);
+ background: var(--color-e-nearwhite);
border: 1px;
box-sizing: border-box;
border-style: solid;
- border-color: #888;
+ border-color: var(--color-7-middlegray);
border-radius: 4px;
height: 16px;
line-height: 16px;
@@ -71,11 +71,11 @@
.input-mouse {
.bright {
- fill: #ddd;
+ fill: var(--color-e-nearwhite);
}
.dim {
- fill: #888;
+ fill: var(--color-7-middlegray);
}
svg {
diff --git a/client/web/src/components/widgets/overlays/Popover.vue b/client/web/src/components/widgets/overlays/Popover.vue
index 17f874c69..245d8b205 100644
--- a/client/web/src/components/widgets/overlays/Popover.vue
+++ b/client/web/src/components/widgets/overlays/Popover.vue
@@ -10,6 +10,8 @@
diff --git a/client/web/src/components/window/title-bar/WindowButtonsWindows.vue b/client/web/src/components/window/title-bar/WindowButtonsWindows.vue
index a376670a1..3bafe1c89 100644
--- a/client/web/src/components/window/title-bar/WindowButtonsWindows.vue
+++ b/client/web/src/components/window/title-bar/WindowButtonsWindows.vue
@@ -20,14 +20,14 @@
padding: 0 20px;
svg {
- fill: #ddd;
+ fill: var(--color-e-nearwhite);
}
&:hover {
- background: #666;
+ background: var(--color-6-lowergray);
svg {
- fill: #fff;
+ fill: var(--color-f-white);
}
}
diff --git a/client/web/src/components/workspace/Panel.vue b/client/web/src/components/workspace/Panel.vue
index ae1f062db..5c50563c1 100644
--- a/client/web/src/components/workspace/Panel.vue
+++ b/client/web/src/components/workspace/Panel.vue
@@ -22,7 +22,7 @@