@createiq/swagger-ui-scss

5.25.2 • Public • Published

swagger-ui-scss

A repackaging of Swagger UI's SCSS files, for use in projects that would like to adapt them by overriding the variables.

Usage

npm i @createiq/swagger-ui-scss

Replace any import of the default Swagger UI CSS file with a reference to main.scss:

- @import '~swagger-ui-react/swagger-ui.css';
+ @import '~@createiq/swagger-ui-scss/style/main.scss';

Then you can override the variables that are used internally by Swagger UI:

$color-primary: #6750a4;

Readme

Keywords

none

Package Sidebar

Install

npm i @createiq/swagger-ui-scss

Weekly Downloads

128

Version

5.25.2

License

Apache-2.0

Unpacked Size

73.1 kB

Total Files

43

Last publish

Collaborators

  • ihammond
  • mathewmannion
  • henricook