@@ -14,35 +14,64 @@ Point is a flexible CSS Framework for building modern responsive web apps.
1414- 14KB gzipped
1515
1616## Setup
17- There are two ways to start
18- ### 1. Install with Yarn
17+ There are 3 ways to start
18+
19+ ### Install with Yarn
20+ ``` sh
21+ yarn add point-sass
22+ ```
23+
24+ ### Install with NPM
1925``` sh
20- yarn add point.css
26+ npm install point-sass --save
2127```
22- *****
23- ### 2. Download from the repository
24- [ https://github.com/moyus/ point] ( https://github.com/moyus/point )
28+
29+ ### Direct ` <script> ` Include
30+ ` <link rel="stylesheet" href="dist/ point.min.css" /> `
2531
2632## Customize
27- Point uses Gulp for compiling SASS into CSS, If you want to customize Point with
28- your own variables, just download the source files from the repository.
33+ Point is coded in [ SASS] ( http://sass-lang.com/ ) , If you're familiar with it, You can continue.
2934
30- ### 1. Install dependences
31- Navigate to the root directory of Point, then run the command below to install all dependencies.
35+ ### 1. Install the dependence
3236``` sh
33- yarn
37+ yarn add point-sass --dev
3438```
3539
36- ### 2. Override variables
37- All initial variables are located in ` src/_vars .scss` .
38-
39- ### 3. Compile
40- Run the command below to start compiling your own customized ** Point ** , you can
41- find the compiled CSS files in the ` ./dist ` directory
40+ ### 2. Set your variables
41+ you can reference all initial variables in ` scss/_ars .scss`
42+ ``` scss
43+ $master-palette : (
44+ primary : #e74c3c
45+ ) !default ;
4246
47+ $link-color : #e74c3c ;
4348```
44- gulp build
49+
50+ ### 3. Import Point at the end of your code
51+ ``` scss
52+ $master-palette : (
53+ primary : #e74c3c
54+ ) !default ;
55+
56+ $link-color : #e74c3c ;
57+
58+ // Your code
59+
60+ @import " node_modules/point-sass/point"
4561```
4662
63+ ## Browser Support
64+ Point uses [Normalize .css ](https :// necolas.github.io/normalize.css/) for CSS
65+ reset and [Autoprefixer ](https :// github.com/postcss/autoprefixer) to make styles
66+ compatible with earlier browser versions . For best user experience , these
67+ browsers are recommended :
68+
69+ - Chrome
70+ - Firefox
71+ - Safari
72+ - Opera
73+ - Microsoft Edge
74+ - Internet Explorer 10 +
75+
4776## Copyright and license
4877Code copyright 2017 moyu . Code released under [the MIT license ](https :// github.com/moyus/point/blob/master/LICENSE).
0 commit comments