Skip to content

Commit 381dcc3

Browse files
committed
remove theme.rawColors reference
1 parent cf3808e commit 381dcc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/editor/src/Sx/ThemeColorPicker.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ export const ThemeColorPicker = ({
2222
// todo: look into supporting v0.2 functionality
2323
// const { colors } = theme || context.theme || {}
2424
const _theme = theme || context.theme || {}
25-
// FIXME: Where to add rawColors type?
26-
const colors = _theme.rawColors || _theme.colors || {}
25+
const colors = _theme.colors || {}
2726
const value = colors[props.value] || props.value
2827
const options = [
2928
'transparent',

0 commit comments

Comments
 (0)