@master/css 1.35.14 → 1.35.15

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 +13 -22
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -32,9 +32,6 @@
32
32
  - [Features](#features)
33
33
  - [Why Master CSS](#why-master-css)
34
34
  - [Quick Start](#quick-start)
35
- - [Install](#install)
36
- - [Import](#import)
37
- - [Hello world](#hello-world)
38
35
  - [Inspiration](#inspiration)
39
36
  - [Related](#related)
40
37
  - [Developer tools](#developer-tools)
@@ -45,20 +42,20 @@ Let's have a quick overview of the **groundbreaking features** of Master CSS:
45
42
  - 🔥 A whole new **CSS language** instead of utilities/libraries.
46
43
  - 🔓 Write CSS properties, functions, selectors and even media queries directly in `class="..."`.
47
44
  - 🧠 Automatically generate corresponding CSS rules based on class names.
48
- - 🍬 With CSS syntax enhancements, you can **create UIs with less code**.
49
- - ⚡️ The JIT mode is only **~13KB**.
50
- - 💖 Directly use **performant JIT mode in production**.
45
+ - 💖 With enhanced CSS syntax, you can **build UIs with less code**.
46
+ - ⚡️ Directly use **performant JIT in production**. **~13KB**
51
47
  - 🧬 [An enhanced and structured CSS syntax](https://docs.master.co/css/syntax-tutorial) for class names.
52
48
  - 🌈 [A forerunner to syntax highlighting](https://docs.master.co/css/why-master-css#a-forerunner-to-syntax-highlighting) for class names.
53
49
  - ✨ [Hybrid Rendering](https://docs.master.co/css/hybrid-rendering) that allows you to **pre-generate CSS from HTML on the server side**, and then continue to **use JIT on the client side**.
54
- - 🤩 [Group Styles](https://docs.master.co/css/syntax-tutorial#group-styles) that allows you to extract the same selectors and media query styles and make it short.
55
- - 😲 [Reactive Styles](https://docs.master.co/css/syntax-tutorial#style-an-element-based-on-target-state) that allows you to style an element based on parent/sibling state.
56
- - ... [css.master.co ](https://css.master.co)
50
+ - ✨ [Group Styles](https://docs.master.co/css/syntax-tutorial#group-styles) that allows you to extract the same selectors and media query styles and make it short.
51
+ - ✨ [Reactive Styles](https://docs.master.co/css/syntax-tutorial#style-an-element-based-on-target-state) that allows you to style an element based on parent/sibling state.
52
+
53
+ To learn more, check out the [documentation](https://docs.master.co/css/why-master-css).
57
54
 
58
55
  # [Why Master CSS](https://docs.master.co/css/why-master-css)
59
56
  A brief introduction starts by giving you an understanding of **markup-driven CSS**.
60
57
 
61
- 🙁 This is your current/traditional code:
58
+ 😐 Traditional
62
59
  ```html
63
60
  <style>
64
61
  .home-section {
@@ -84,32 +81,26 @@ A brief introduction starts by giving you an understanding of **markup-driven CS
84
81
  ```html
85
82
  <section class="bg:blue bg:red:hover p:32 p:48@md text:center">...</section>
86
83
  ```
87
- To learn more, check out the documentation [Why Master CSS](https://docs.master.co/css/why-master-css).
84
+ To learn more, check out the [Why Master CSS](https://docs.master.co/css/why-master-css) documentation.
88
85
 
89
86
  # Quick Start
90
87
  This is a quick start guide, check out the [full setup guide](https://docs.master.co/css/setup) to integrate with your build tools and frameworks.
91
88
 
92
- ## Install
93
89
  ```shell
94
90
  npm install @master/css
95
91
  ```
92
+ ```js
93
+ import '@master/css';
94
+ ```
96
95
  or use a CDN
97
96
  ```html
98
97
  <script src="https://cdn.master.co/css"></script>
99
98
  ```
100
-
101
- ## Import
102
- Import to your entry file. e.g: `src/main.js`
103
- ```js
104
- import '@master/css';
105
- ```
106
-
107
- ## Hello world
108
- Now, start styling HTML with Master CSS 🎉
99
+ Now, start styling HTML with Master CSS. 🎉
109
100
  ```html
110
101
  <h1 class="font:40 font:heavy italic m:50 text:center">Hello World</h1>
111
102
  ```
112
- To learn more, check out the documentation [Syntax tutorial](https://docs.master.co/css/syntax-tutorial).
103
+ To learn more, check out the [Syntax tutorial](https://docs.master.co/css/syntax-tutorial) documentation.
113
104
 
114
105
  # Inspiration
115
106
  Some of our core concepts and designs are inspired by these giants.
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.35.14"
28
+ "version": "1.35.15"
29
29
  }