Skip to content

Commit

Permalink
fix: styles need to be imported by consumers (#451)
Browse files Browse the repository at this point in the history
* fix: styles need to be imported by consumers

* fix: use localized css modules
  • Loading branch information
SgtPooki authored Oct 17, 2024
1 parent 7ffbcca commit b195bc0
Show file tree
Hide file tree
Showing 17 changed files with 843 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ export default {

// vite stuff
'rollup-plugin-node-polyfills',

// typescript plugins
'typescript-plugin-css-modules'
],
productionIgnorePatterns: [
'.aegir.js',
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
storybook-static
.vscode
2 changes: 0 additions & 2 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ globalThis.Buffer = Buffer
// import CSS files
import 'ipfs-css'
import 'tachyons'
import '../src/components/loader/loader.css'
import '../src/components/object-info/links-table.css'

const preview: Preview = {
// tags: ['autodocs']
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ And, assuming you are using `create-react-app` or a similar webpack set up, you'
```js
import 'tachyons'
import 'ipfs-css'
import 'ipld-explorer-components/css'
```
### Customizing the links displayed in the StartExploringPage
Expand Down
Loading

0 comments on commit b195bc0

Please sign in to comment.