Skip to content

Commit

Permalink
feat: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
khoilen committed Dec 19, 2024
1 parent f7fe214 commit 9ceb413
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
19 changes: 11 additions & 8 deletions apps/nt-stylesheet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,28 @@ npx nt-stylesheet

You can customize nt-stylesheet by editing the `tailwind.config.js` file. Add your own styles or override existing ones to fit your design needs.

```css
@import 'nt-stylesheet/dist/styles.css';
@tailwind base;
@tailwind components;
@tailwind utilities;
- Import css file

```html
<link
rel="stylesheet"
href="node_modules/nt-stylesheet/dist/theme.css"
/>
```

- Import theme file to tailwind config

```js
/** @type {import('tailwindcss').Config} */
const ntTheme = require('nt-stylesheet/dist/theme.cjs');
const ntTheme = require('nt-stylesheet/dist/theme.cjs')

module.exports = {
content: ['*.{html,js}'],
theme: {
extend: ntTheme.extend,
},
plugins: [],
};

}
```

### Acknowledgements
Expand Down
2 changes: 1 addition & 1 deletion apps/nt-stylesheet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nt-stylesheet",
"version": "1.1.8",
"version": "1.1.9",
"description": "",
"packageManager": "[email protected]",
"scripts": {
Expand Down

0 comments on commit 9ceb413

Please sign in to comment.