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 { transparentize } from 'polished';
|
||||||
|
import styled from '../styled-components';
|
||||||
import { deprecatedCss } from './mixins';
|
import { deprecatedCss } from './mixins';
|
||||||
|
|
||||||
export const PropertiesTableCaption = styled.caption`
|
export const PropertiesTableCaption = styled.caption`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
import { transparentize } from 'polished';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { PropertyNameCell } from './fields-layout';
|
import { PropertyNameCell } from './fields-layout';
|
||||||
import { transparentize } from 'polished';
|
|
||||||
|
|
||||||
export const ClickablePropertyNameCell = PropertyNameCell.extend`
|
export const ClickablePropertyNameCell = PropertyNameCell.extend`
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import styled from '../../styled-components';
|
import styled from '../../styled-components';
|
||||||
|
|
||||||
import { UnderlinedHeader } from '../../common-elements';
|
|
||||||
import { transparentize } from 'polished';
|
import { transparentize } from 'polished';
|
||||||
|
import { UnderlinedHeader } from '../../common-elements';
|
||||||
import { ResponseTitle } from './ResponseTitle';
|
import { ResponseTitle } from './ResponseTitle';
|
||||||
|
|
||||||
export const StyledResponseTitle = styled(ResponseTitle)`
|
export const StyledResponseTitle = styled(ResponseTitle)`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
import { transparentize } from 'polished';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import styled from '../../styled-components';
|
import styled from '../../styled-components';
|
||||||
import { transparentize } from 'polished';
|
|
||||||
|
|
||||||
import { UnderlinedHeader } from '../../common-elements/headers';
|
import { UnderlinedHeader } from '../../common-elements/headers';
|
||||||
import { SecurityRequirementModel } from '../../services/models/SecurityRequirement';
|
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 { querySelector } from '../utils/dom';
|
||||||
import { isNumeric, mergeObjects } from '../utils/helpers';
|
import { isNumeric, mergeObjects } from '../utils/helpers';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { lighten } from 'polished';
|
import { lighten } from 'polished';
|
||||||
|
|
||||||
const theme: ThemeInterface = {
|
const defaultTheme: ThemeInterface = {
|
||||||
spacingUnit: 20,
|
spacingUnit: 20,
|
||||||
breakpoints: {
|
breakpoints: {
|
||||||
small: '50rem',
|
small: '50rem',
|
||||||
|
@ -64,7 +64,7 @@ const theme: ThemeInterface = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default theme;
|
export default defaultTheme;
|
||||||
|
|
||||||
export function resolveTheme(theme: ThemeInterface): ResolvedThemeInterface {
|
export function resolveTheme(theme: ThemeInterface): ResolvedThemeInterface {
|
||||||
const resolvedValues = {};
|
const resolvedValues = {};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user