@master/css 1.16.4 → 1.16.5
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.
- package/README.md +31 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,16 +20,44 @@
|
|
|
20
20
|
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
|
+

|
|
24
|
+
|
|
23
25
|
- [Introduction](https://css.master.co)
|
|
24
26
|
- [Setup](https://docs.master.co/css/setup)
|
|
25
27
|
- [Why](https://docs.master.co/css/why)
|
|
26
28
|
|
|
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'
|
|
43
|
+
```
|
|
44
|
+
or use CDNs
|
|
45
|
+
```html
|
|
46
|
+
<link href="https://cdn.jsdelivr.net/npm/@master/normal.css" rel="stylesheet">
|
|
47
|
+
<script src="https://cdn.jsdelivr.net/npm/@master/css"></script>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Hello World
|
|
51
|
+
```html
|
|
52
|
+
<h1 class="font:40 font:heavy bg:blue:hover m:50 text:center@md">
|
|
53
|
+
Hello World
|
|
54
|
+
</h1>
|
|
55
|
+
```
|
|
56
|
+
|
|
27
57
|
# Community
|
|
28
58
|
- [Github Discussions](https://github.com/master-co/css/discussions)
|
|
29
59
|
- [Join Master Discord](https://discord.gg/sZNKpAAAw6)
|
|
30
60
|
|
|
31
61
|
# Language Service
|
|
32
62
|
|
|
33
|
-
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.
|
|
34
|
-
|
|
35
|
-

|
|
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.
|
package/package.json
CHANGED