Skip to content

Commit

Permalink
revert models import in theme (#1432)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanmau authored May 21, 2024
1 parent 44d4f0b commit c0c355d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "15.0.1",
"version": "15.0.2",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/theme/colors.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Theme } from 'baseui/theme';
import { CustomColors } from '../models';
import { CustomColors } from 'models';
import { DeepPartial } from '../utils';

export const customColors: CustomColors = {
Expand Down
2 changes: 1 addition & 1 deletion src/theme/overrides.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomOverrideType } from '../models';
import { CustomOverrideType } from 'models';
import { customColors } from './colors';
import { customSizing } from './sizing';
import { typography } from './typography';
Expand Down
2 changes: 1 addition & 1 deletion src/theme/sizing.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomSizing } from '../models';
import { CustomSizing } from 'models';

export const customSizing: CustomSizing = {
scale0250: '-7px',
Expand Down
2 changes: 1 addition & 1 deletion src/theme/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
createThemedWithStyle,
createThemedUseStyletron,
} from 'baseui';
import { CustomThemeType, CustomOverrideType, CustomColors } from '../models';
import { CustomThemeType, CustomOverrideType, CustomColors } from 'models';

import { default as basePrimitives } from './primitives';
import { default as baseOverrides } from './overrides';
Expand Down

0 comments on commit c0c355d

Please sign in to comment.