Skip to content

Commit

Permalink
docs: complete global css setup in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stropitek committed Jan 24, 2025
1 parent 1ef3d22 commit 5198fd4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,19 @@ React components to build scientific applications UI.

### Global css

If you use tailwindcss and already you added `@tailwind base;` to your tailwind stylesheet, you can skip this step.
Import the preflight css stylesheet, unless you use tailwindcss and you already added `@tailwind base;` to your tailwind stylesheet:

Otherwise, import the global styles in your application:
```js
import 'react-science/styles/preflight.css';
```

Then import the blueprint stylesheets:

`import 'react-science/styles/preflight.css';`
```js
import '@blueprintjs/core/lib/css/blueprint.css';
import '@blueprintjs/select/lib/css/blueprint-select.css';
import '@blueprintjs/icons/lib/css/blueprint-icons.css';
```

## Introduction

Expand Down

0 comments on commit 5198fd4

Please sign in to comment.