@master/css 1.16.5 → 1.16.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +38 -22
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -22,42 +22,58 @@
22
22
 
23
23
  ![image](https://raw.githubusercontent.com/master-co/css-language-service/alpha/images/cover.jpg)
24
24
 
25
+ Documentation
25
26
  - [Introduction](https://css.master.co)
26
27
  - [Setup](https://docs.master.co/css/setup)
27
28
  - [Why](https://docs.master.co/css/why)
28
29
 
29
- # Quick Started
30
- This is just a quick start guide, the full official [documentation](https://docs.master.co/styles/setup) here.
31
- ## Setup
32
- The `normal.css` is an optional official package.
33
- ```bash
34
- npm install @master/css @master/normal.css
35
- ```
36
- import `@master/css` into your main js file
37
- ```js
38
- import '@master/css'
39
- ```
40
- import `@master/normal.css` into your global css file
41
- ```css
42
- @import '@master/normal.css'
30
+ Community
31
+ - [Github Discussions](https://github.com/master-co/css/discussions)
32
+ - [Join Master Discord](https://discord.gg/sZNKpAAAw6)
33
+
34
+ Extension
35
+ - A [Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=masterco.master-css-language-service) for Master CSS. Provides code-completion and syntax highlighting.
36
+
37
+ On this page
38
+ - [Quick Start](#quick-start)
39
+ - [1. Download](#1-download)
40
+ - [2. Import into your js file](#2-import-into-your-js-file)
41
+ - [Hello World](#hello-world)
42
+ - [Official Normal CSS](#official-normal-css)
43
+
44
+ # Quick Start
45
+ This is just a quick start guide, the official [documentation](https://docs.master.co/styles/setup) here.
46
+
47
+ ## 1. Download
48
+ ```shell
49
+ npm install @master/css
43
50
  ```
44
- or use CDNs
51
+ Or use a CDN
45
52
  ```html
46
- <link href="https://cdn.jsdelivr.net/npm/@master/normal.css" rel="stylesheet">
47
53
  <script src="https://cdn.jsdelivr.net/npm/@master/css"></script>
48
54
  ```
49
55
 
56
+ ## 2. Import into your js file
57
+ ```js
58
+ import '@master/css'
59
+ ```
60
+
50
61
  ## Hello World
51
62
  ```html
52
63
  <h1 class="font:40 font:heavy bg:blue:hover m:50 text:center@md">
53
64
  Hello World
54
65
  </h1>
55
66
  ```
67
+ Next, learn the common [Syntax - Master CSS](https://docs.master.co/styles/syntax)!
56
68
 
57
- # Community
58
- - [Github Discussions](https://github.com/master-co/css/discussions)
59
- - [Join Master Discord](https://discord.gg/sZNKpAAAw6)
60
-
61
- # Language Service
69
+ # Official Normal CSS
70
+ Normalize browser's styles: [`@master/normal.css`](https://github.com/master-co/normal.css)
62
71
 
63
- A [Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=masterco.master-css-language-service) for [Master CSS](https://github.com/master-co/css). Provides code-completion and syntax highlighting.
72
+ import `@master/normal.css` into your global css file
73
+ ```css
74
+ @import '@master/normal.css';
75
+ ```
76
+ or use a CDN
77
+ ```html
78
+ <link href="https://cdn.jsdelivr.net/npm/@master/normal.css" rel="stylesheet">
79
+ ```
package/package.json CHANGED
@@ -25,5 +25,5 @@
25
25
  "type": "git",
26
26
  "url": "https://github.com/master-co/css.git"
27
27
  },
28
- "version": "1.16.5"
28
+ "version": "1.16.6"
29
29
  }