Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New toolbar icons #4295

Merged
merged 14 commits into from
Oct 3, 2023
Binary file modified editor/resources/editor/icons/light/element/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
Binary file modified editor/resources/editor/icons/light/tools/[email protected]
12 changes: 4 additions & 8 deletions editor/src/components/canvas/ui/floating-insert-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,7 @@ export function useComponentSelectorStyles(): StylesConfig<InsertMenuItem, false
}) as CSSObject),
paddingLeft: 4,
backgroundColor: colorTheme.seperator.value,
// color: 'black',
// fontSize: 11,
flexGrow: 1,
// letterSpacing: 0.3,
// background: 'transparent',
display: 'flex',
alignItems: 'center',
}
Expand All @@ -250,7 +246,7 @@ export function useComponentSelectorStyles(): StylesConfig<InsertMenuItem, false
paddingRight: 4,
cursor: isDisabled ? 'not-allowed' : 'default',
color: isFocused ? colorTheme.bg0.value : colorTheme.fg0.value,
backgroundColor: isFocused ? colorTheme.dynamicBlue.value : 'transparent',
backgroundColor: 'transparent',
borderRadius: UtopiaTheme.inputBorderRadius,
}
},
Expand Down Expand Up @@ -286,15 +282,15 @@ export const CustomComponentOption = (props: OptionProps<InsertMenuItem, false>)
paddingLeft: 4,
paddingRight: 4,
cursor: isDisabled ? 'not-allowed' : 'default',
color: isFocused ? colorTheme.bg0.value : colorTheme.fg0.value,
backgroundColor: isFocused ? colorTheme.dynamicBlue.value : 'transparent',
color: isFocused ? colorTheme.dynamicBlue.value : colorTheme.fg0.value,
backgroundColor: 'transparent',
borderRadius: UtopiaTheme.inputBorderRadius,
}}
>
<div style={{ paddingRight: 2 }}>{label}</div>
<div
style={{
color: colorTheme.fg7.value,
color: isFocused ? colorTheme.dynamicBlue30.value : colorTheme.fg7.value,
height: UtopiaTheme.layout.rowHeight.smaller,
right: 12,
display: 'flex',
Expand Down
Loading
Loading