Skip to content

Commit

Permalink
chore: remove unused color code
Browse files Browse the repository at this point in the history
  • Loading branch information
hkonsti committed Sep 19, 2024
1 parent eb93cff commit 18fa215
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 95 deletions.
41 changes: 0 additions & 41 deletions packages/ui/src/components/controls/ColorInput.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions packages/ui/src/components/controls/ColorPreview.tsx

This file was deleted.

1 change: 0 additions & 1 deletion packages/ui/src/components/controls/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export * from './Button';
export * from './ButtonSelect';
export * from './Checkbox';
export * from './ColorInput';
export * from './Group';
export * from './IconButton';
export * from './IconCheckbox';
Expand Down
4 changes: 1 addition & 3 deletions packages/ui/src/components/fields/AutoField.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Color, Spacing, Vector2, isType} from '@revideo/core';
import {Spacing, Vector2, isType} from '@revideo/core';
import {FunctionComponent} from 'preact';
import {ArrayField} from './ArrayField';
import {ColorField} from './ColorField';
import {NumberField} from './NumberField';
import {SpacingField} from './SpacingField';
import {UnknownField} from './UnknownField';
Expand All @@ -13,7 +12,6 @@ export interface AutoFieldProps {

const TYPE_MAP: Record<symbol, FunctionComponent<{value: any}>> = {
[Vector2.symbol]: Vector2Field,
[Color.symbol]: ColorField,
[Spacing.symbol]: SpacingField,
};

Expand Down
34 changes: 0 additions & 34 deletions packages/ui/src/components/fields/ColorField.tsx

This file was deleted.

1 change: 0 additions & 1 deletion packages/ui/src/components/fields/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export * from './AutoField';
export * from './ColorField';
export * from './Expandable';
export * from './Layout';
export * from './NumberField';
Expand Down

0 comments on commit 18fa215

Please sign in to comment.