diff --git a/src/common-elements/fields-layout.ts b/src/common-elements/fields-layout.ts index 0d5131de..5cc6302d 100644 --- a/src/common-elements/fields-layout.ts +++ b/src/common-elements/fields-layout.ts @@ -1,5 +1,5 @@ -import styled from '../styled-components'; import { transparentize } from 'polished'; +import styled from '../styled-components'; import { deprecatedCss } from './mixins'; export const PropertiesTableCaption = styled.caption` diff --git a/src/common-elements/fields.ts b/src/common-elements/fields.ts index 1c8939a1..0920fcce 100644 --- a/src/common-elements/fields.ts +++ b/src/common-elements/fields.ts @@ -1,6 +1,6 @@ +import { transparentize } from 'polished'; import styled from 'styled-components'; import { PropertyNameCell } from './fields-layout'; -import { transparentize } from 'polished'; export const ClickablePropertyNameCell = PropertyNameCell.extend` cursor: pointer; diff --git a/src/components/Responses/styled.elements.ts b/src/components/Responses/styled.elements.ts index dd37654b..20a83a0a 100644 --- a/src/components/Responses/styled.elements.ts +++ b/src/components/Responses/styled.elements.ts @@ -1,7 +1,7 @@ import styled from '../../styled-components'; -import { UnderlinedHeader } from '../../common-elements'; import { transparentize } from 'polished'; +import { UnderlinedHeader } from '../../common-elements'; import { ResponseTitle } from './ResponseTitle'; export const StyledResponseTitle = styled(ResponseTitle)` diff --git a/src/components/SecurityRequirement/SecuirityRequirement.tsx b/src/components/SecurityRequirement/SecuirityRequirement.tsx index 89ea0359..a8734319 100644 --- a/src/components/SecurityRequirement/SecuirityRequirement.tsx +++ b/src/components/SecurityRequirement/SecuirityRequirement.tsx @@ -1,6 +1,6 @@ +import { transparentize } from 'polished'; import * as React from 'react'; import styled from '../../styled-components'; -import { transparentize } from 'polished'; import { UnderlinedHeader } from '../../common-elements/headers'; import { SecurityRequirementModel } from '../../services/models/SecurityRequirement'; diff --git a/src/services/RedocNormalizedOptions.ts b/src/services/RedocNormalizedOptions.ts index 7ae0c3c0..acccfe4c 100644 --- a/src/services/RedocNormalizedOptions.ts +++ b/src/services/RedocNormalizedOptions.ts @@ -1,4 +1,4 @@ -import defaultTheme, { ResolvedThemeInterface, ThemeInterface, resolveTheme } from '../theme'; +import defaultTheme, { ResolvedThemeInterface, resolveTheme, ThemeInterface } from '../theme'; import { querySelector } from '../utils/dom'; import { isNumeric, mergeObjects } from '../utils/helpers'; diff --git a/src/theme.ts b/src/theme.ts index cf46f531..94c0d4e5 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -1,6 +1,6 @@ import { lighten } from 'polished'; -const theme: ThemeInterface = { +const defaultTheme: ThemeInterface = { spacingUnit: 20, breakpoints: { small: '50rem', @@ -64,7 +64,7 @@ const theme: ThemeInterface = { }, }; -export default theme; +export default defaultTheme; export function resolveTheme(theme: ThemeInterface): ResolvedThemeInterface { const resolvedValues = {};