From 5f1e553ef460e9a588efbeb143eecbea9d2f3d16 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Tue, 20 Mar 2018 11:52:08 +0200 Subject: [PATCH] chore: fix lint issues --- cli/README.md | 12 +++--------- src/theme.ts | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/cli/README.md b/cli/README.md index de04413a..085d3cb8 100644 --- a/cli/README.md +++ b/cli/README.md @@ -14,14 +14,8 @@ Twe following commans are available: Some examples: -- Bundle with main color changed to `orange`: - - `$ redoc-cli bundle [spec] --options.theme.colors.main=orange` -- Serve with `nativeScrollbars` option set to true: - - `$ redoc-cli serve [spec] --options.nativeScrollbars` -- Bundle using custom template (check [default template](https://github.com/Rebilly/ReDoc/blob/react-rewrite/cli/template.hbs) for reference): - - `$ redoc-cli bundle [spec] -t custom.hbs` +- Bundle with main color changed to `orange`:
`$ redoc-cli bundle [spec] --options.theme.colors.main=orange` +- Serve with `nativeScrollbars` option set to true:
`$ redoc-cli serve [spec] --options.nativeScrollbars` +- Bundle using custom template (check [default template](https://github.com/Rebilly/ReDoc/blob/react-rewrite/cli/template.hbs) for reference):
`$ redoc-cli bundle [spec] -t custom.hbs` For more details run `redoc-cli --help`. \ No newline at end of file diff --git a/src/theme.ts b/src/theme.ts index 98426984..f18ebddd 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -1,4 +1,4 @@ -import { lighten, adjustHue, desaturate } from 'polished'; +import { adjustHue, desaturate, lighten } from 'polished'; const defaultTheme: ThemeInterface = { spacingUnit: 20,