Skip to content

Commit

Permalink
fix: colors schemas typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Erta committed Nov 22, 2022
1 parent 08142ba commit 09679b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/core/tests/parsers/colors.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Theme } from "@morfeo/spec"
import { Theme } from '@morfeo/spec';
import { parsers, theme } from '../../src';

const THEME = {
Expand Down
5 changes: 4 additions & 1 deletion packages/spec/src/allProperties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ export const transitionsProperties = createPropertiesMap(
transitionsMap,
'transitions',
);
export const colorSchemasProperties = createPropertiesMap(colorSchemasMap, 'colorSchemas');
export const colorSchemasProperties = createPropertiesMap(
colorSchemasMap,
'colorSchemas',
);

export const allProperties = {
...fontProperties,
Expand Down
5 changes: 1 addition & 4 deletions packages/spec/src/properties/colorSchemas.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
export const colorSchemasMap = [
'schema',
'colorSchema',
] as const;
export const colorSchemasMap = ['colorSchema'] as const;

0 comments on commit 09679b5

Please sign in to comment.