diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-07-02 05:13:38 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-07-02 06:19:03 +0530 |
commit | d16cc1f2c59818e53f28b4d6b4d27250331f15d7 (patch) | |
tree | 57bf4d149ec2be88dd0d351142998ce96db0d659 /src/themes | |
parent | chore: correctly export/import ui elements (diff) | |
download | ferdium-app-d16cc1f2c59818e53f28b4d6b4d27250331f15d7.tar.gz ferdium-app-d16cc1f2c59818e53f28b4d6b4d27250331f15d7.tar.zst ferdium-app-d16cc1f2c59818e53f28b4d6b4d27250331f15d7.zip |
Use default exports instead of named exports
Diffstat (limited to 'src/themes')
-rw-r--r-- | src/themes/IStyleTypes.ts | 2 | ||||
-rw-r--r-- | src/themes/default/index.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/themes/IStyleTypes.ts b/src/themes/IStyleTypes.ts index 48f52daf2..cf8bdea33 100644 --- a/src/themes/IStyleTypes.ts +++ b/src/themes/IStyleTypes.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | export interface IStyleTypes { | 1 | export default interface IStyleTypes { |
2 | [index: string]: { | 2 | [index: string]: { |
3 | accent: string; | 3 | accent: string; |
4 | contrast: string; | 4 | contrast: string; |
diff --git a/src/themes/default/index.ts b/src/themes/default/index.ts index 9e442f60e..2e18e1307 100644 --- a/src/themes/default/index.ts +++ b/src/themes/default/index.ts | |||
@@ -2,7 +2,7 @@ import color from 'color'; | |||
2 | import { cloneDeep } from 'lodash'; | 2 | import { cloneDeep } from 'lodash'; |
3 | 3 | ||
4 | import * as legacyStyles from '../legacy'; | 4 | import * as legacyStyles from '../legacy'; |
5 | import type { IStyleTypes } from '../IStyleTypes'; | 5 | import type IStyleTypes from '../IStyleTypes'; |
6 | 6 | ||
7 | export default (brandPrimary: string) => { | 7 | export default (brandPrimary: string) => { |
8 | if (!brandPrimary) { | 8 | if (!brandPrimary) { |