mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
chore: fix lint issues
This commit is contained in:
parent
6018042180
commit
d3655161fc
|
@ -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`
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)`
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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 = {};
|
||||
|
|
Loading…
Reference in New Issue
Block a user