Skip to content

Commit f5c6237

Browse files
committed
Update README and package.json
1 parent 9a8583f commit f5c6237

File tree

2 files changed

+27
-31
lines changed

2 files changed

+27
-31
lines changed

README.md

+24-28
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,42 @@
1-
# Fave Tailwind Presets
1+
# Fave Tailwindcss Presets
22

3-
Fave Tailwind Presets provides a set of preset css styling inlcuding primary color that default uses by Fave.
3+
A plugin provides a set of tailwindcss presets that uses by Fave.
44

55
## Presets
66

7-
- Font Family - ```inter```
8-
- Primary Color - ```primary-pink ```
9-
- Theme Color
10-
- ```white ```
11-
- ```slate-100,700```
12-
- ```neutral-100,300,400,500,700```
13-
- ```yellow-400```
14-
- ```green-400```
15-
- BoxShadow ```BoxShadow-sm,md,lg,xl,2xl,inner```
16-
- Element Class ```.h1,.h2.h3,.body,.caption,.title```
7+
- Font Family - `inter`
8+
- Primary Color - `primary-pink`
9+
- Theme Colors
10+
- `white`
11+
- `slate: 100, 700`
12+
- `neutral: 100, 300, 400, 500, 700`
13+
- `yellow: 400`
14+
- `green: 400`
15+
- Box Shadow `sm, md, lg, xl, 2xl, inner`
16+
- Element Class `.h1, .h2, .h3, .body, .caption, .title`
1717

1818
## Installation
1919

20-
Fave-Preset requires tailwinds css to run.
21-
22-
Install the dependencies and devDependencies and start connect the presets package.
20+
Install the plugin from npm
2321

2422
```sh
25-
cd Your Project
26-
```
27-
28-
Install Package
23+
# Using npm
24+
npm install -D fave-tailwindcss-presets
2925

30-
```sh
31-
npm install --Fave-Preset
32-
```
33-
or
34-
```sh
35-
yarn install --Fave-Preset
26+
# Using yarn
27+
yarn add -D fave-tailwindcss-presets
3628
```
3729

38-
Open ```Tailwind.Config.Js``` in your project root and include the package into your config.
30+
Then add the plugin to your `tailwind.config.js` file:
3931

4032
```sh
33+
// tailwind.config.js
34+
module.exports = {
4135
presets: [
42-
require('./fave-preset'),
36+
require('fave-tailwindcss-presets'),
4337
],
38+
...
39+
}
4440
```
4541

46-
Congratulation, your have already include the Fave Preset into your project.
42+
Congratulation, your have already included the Fave Tailwindcss Preset into your project.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "fave-presets",
3-
"version": "1.0.0",
4-
"description": "preset css styling for Fave UI Components",
2+
"name": "fave-tailwindcss-presets",
3+
"version": "0.1.0",
4+
"description": "A Tailwind CSS presets that uses by Fave.",
55
"main": "src/index.js",
66
"files": [
77
"src/*.js"

0 commit comments

Comments
 (0)