aboutsummaryrefslogtreecommitdiffstats
path: root/src/themes
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-07-02 05:13:38 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-07-02 06:19:03 +0530
commitd16cc1f2c59818e53f28b4d6b4d27250331f15d7 (patch)
tree57bf4d149ec2be88dd0d351142998ce96db0d659 /src/themes
parentchore: correctly export/import ui elements (diff)
downloadferdium-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.ts2
-rw-r--r--src/themes/default/index.ts2
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 @@
1export interface IStyleTypes { 1export 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';
2import { cloneDeep } from 'lodash'; 2import { cloneDeep } from 'lodash';
3 3
4import * as legacyStyles from '../legacy'; 4import * as legacyStyles from '../legacy';
5import type { IStyleTypes } from '../IStyleTypes'; 5import type IStyleTypes from '../IStyleTypes';
6 6
7export default (brandPrimary: string) => { 7export default (brandPrimary: string) => {
8 if (!brandPrimary) { 8 if (!brandPrimary) {