diff --git a/editor/src/components/canvas/canvas-strategies/strategies/set-flex-gap-strategy.tsx b/editor/src/components/canvas/canvas-strategies/strategies/set-flex-gap-strategy.tsx
index 15b012d2b451..e247092ba7be 100644
--- a/editor/src/components/canvas/canvas-strategies/strategies/set-flex-gap-strategy.tsx
+++ b/editor/src/components/canvas/canvas-strategies/strategies/set-flex-gap-strategy.tsx
@@ -143,7 +143,7 @@ export const setFlexGapStrategy: CanvasStrategyFactory = (
control: FloatingIndicator,
props: {
...props,
- color: colorTheme.brandNeonPink.value,
+ color: colorTheme.brandNeonOrange.value,
},
key: 'padding-value-indicator-control',
show: 'visible-except-when-other-strategy-is-active',
diff --git a/editor/src/components/canvas/canvas-strategies/strategies/set-grid-gap-strategy.tsx b/editor/src/components/canvas/canvas-strategies/strategies/set-grid-gap-strategy.tsx
index e20678016012..484d19455ef5 100644
--- a/editor/src/components/canvas/canvas-strategies/strategies/set-grid-gap-strategy.tsx
+++ b/editor/src/components/canvas/canvas-strategies/strategies/set-grid-gap-strategy.tsx
@@ -132,7 +132,7 @@ export const setGridGapStrategy: CanvasStrategyFactory = (
control: FloatingIndicator,
props: {
...maybeIndicatorProps,
- color: colorTheme.brandNeonPink.value,
+ color: colorTheme.brandNeonOrange.value,
},
key: 'padding-value-indicator-control',
show: 'visible-except-when-other-strategy-is-active',
diff --git a/editor/src/components/canvas/controls/grid-controls.tsx b/editor/src/components/canvas/controls/grid-controls.tsx
index 2d70341e6b61..684ee4890c89 100644
--- a/editor/src/components/canvas/controls/grid-controls.tsx
+++ b/editor/src/components/canvas/controls/grid-controls.tsx
@@ -251,34 +251,22 @@ export const GridResizingControl = React.memo((props: GridResizingControlProps)
data-testid={labelId}
style={{
zoom: 1 / scale,
- width: GRID_RESIZE_HANDLE_SIZE,
height: GRID_RESIZE_HANDLE_SIZE,
- borderRadius: '100%',
- border: `1px solid ${colorTheme.border0.value}`,
- boxShadow: `${colorTheme.canvasControlsSizeBoxShadowColor50.value} 0px 0px
- 1px, ${colorTheme.canvasControlsSizeBoxShadowColor20.value} 0px 1px 2px 2px`,
- background: colorTheme.white.value,
+ borderRadius: 3,
+ padding: '0 4px',
+ border: `.1px solid ${colorTheme.white.value}`,
+ background: colorTheme.primary.value,
+ color: colorTheme.white.value,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
cursor: gridEdgeToCSSCursor(props.axis === 'column' ? 'column-start' : 'row-start'),
- fontSize: 8,
pointerEvents: 'initial',
}}
- css={{
- opacity: props.resizing !== 'not-resizing' ? 1 : 0.5,
- ':hover': {
- opacity: 1,
- },
- }}
onMouseDown={mouseDownHandler}
onMouseMove={onMouseMove}
>
- {props.axis === 'row' ? '↕' : '↔'}
- {when(
- props.dimension.areaName != null,
- {props.dimension.areaName},
- )}
+ {getLabelForAxis(props.dimension, props.dimensionIndex, props.fromPropsAxisValues)}
{when(
props.resizing !== 'not-resizing',
@@ -302,37 +290,34 @@ export const GridResizingControl = React.memo((props: GridResizingControlProps)
justifyContent: 'center',
border: `1px solid ${
props.resizeLocked
- ? colorTheme.brandNeonPink10.value
+ ? colorTheme.primary10.value
: props.resizing === 'resize-target'
- ? colorTheme.brandNeonPink.value
- : colorTheme.brandNeonPink60.value
+ ? colorTheme.primary.value
+ : colorTheme.primary50.value
}`,
...(props.resizeLocked
- ? UtopiaStyles.backgrounds.stripedBackground(colorTheme.brandNeonPink10.value, scale)
+ ? UtopiaStyles.backgrounds.stripedBackground(colorTheme.primary10.value, scale)
: props.resizing === 'resize-target'
- ? UtopiaStyles.backgrounds.stripedBackground(colorTheme.brandNeonPink60.value, scale)
- : UtopiaStyles.backgrounds.stripedBackground(
- colorTheme.brandNeonPink10.value,
- scale,
- )),
+ ? UtopiaStyles.backgrounds.stripedBackground(colorTheme.primary50.value, scale)
+ : UtopiaStyles.backgrounds.stripedBackground(colorTheme.primary10.value, scale)),
}}
>
-