@nuvoui/core 0.2.1 → 0.3.0

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 CHANGED
@@ -6,9 +6,37 @@ NuvoUI isn’t your next shiny, over-engineered UI library. It’s raw, lightwei
6
6
 
7
7
  ## Why NuvoUI?
8
8
 
9
- - **No Fluff**: Just what you need—nothing you don’t.
10
- - **Blazing Fast**: Tiny footprint, massive impact.
11
- - **Straightforward**: No steep learning curve, no hidden magic—just CSS that works.
9
+ > Simple to start, grows with you.
10
+
11
+ We do not like prefixes. Why make a button like this
12
+
13
+ ```html
14
+ <button class="btn btn-lg btn-primary btn-round py-40" >...
15
+ ```
16
+
17
+ when you can have, this
18
+
19
+ ```html
20
+ <button class="btn lg primary pill outline py-40" >...
21
+ ```
22
+
23
+ But wait, there is more... lets make it fully responsei
24
+ ```html
25
+ <button class="btn lg primary pill outline
26
+ py-40
27
+ py-20@sm
28
+ py-80@lg
29
+ outline" >...
30
+ ```
31
+ This will
32
+
33
+ 1. Use `padding-left: 40px;` and `padding-right: 40px;` as base
34
+ 2. Use `padding-left: 20px;` and `padding-right: 20px;` @ small screen
35
+ 3. Use `padding-left: 80px;` and `padding-right: 80px;` @ large screen
36
+
37
+ see this feels easy to us to remember ...
38
+
39
+
12
40
 
13
41
  ---
14
42
 
@@ -16,4 +44,61 @@ NuvoUI isn’t your next shiny, over-engineered UI library. It’s raw, lightwei
16
44
 
17
45
  1. **Install via npm**
18
46
  ```bash
19
- npm install nuvo-ui
47
+ npm install @nuvoui/core
48
+ - or
49
+ pnpm install @nuvoui/core
50
+ ```
51
+
52
+ 2. **Import SASS**
53
+
54
+ ```scss
55
+ @use '@nuvoui/core/src/styles/index.scss' as NuvoUI with (
56
+ $column-count: 25,
57
+ $color-dark: #1A1A1A,
58
+ $color-warning: #F8AF08,
59
+ $color-success: #34C759,
60
+ ...
61
+ );
62
+ ```
63
+
64
+
65
+ Another example
66
+
67
+ ```scss
68
+ img:nth-child(1) {
69
+ @include NuvoUI.mx-auto;
70
+ @include NuvoUI.my(40);
71
+ @include NuvoUI.animate-move((
72
+ horizontal: 3%,
73
+ duration: 25s,
74
+ ));
75
+ }
76
+ ```
77
+
78
+ will result in (*psst: dont worry, we are using caching...*)
79
+ ```css
80
+ img:nth-child(1) {
81
+ margin-left: auto;
82
+ margin-right: auto;
83
+ margin-top: 40px !important;
84
+ margin-bottom: 40px !important;
85
+ animation: anim-bounce-0per-3per 25s ease-in-out infinite;
86
+ }
87
+ @keyframes anim-bounce-0per-3per {
88
+ 0% {
89
+ transform: translateX(-0%) translateY(-3%);
90
+ }
91
+ 50% {
92
+ transform: translateX(0%) translateY(3%);
93
+ }
94
+ 100% {
95
+ transform: translateX(-0%) translateY(-3%);
96
+ }
97
+ }
98
+ ```
99
+
100
+
101
+
102
+ ## There are so many things to do, and we do need to make a documentation. Stay tuned...
103
+
104
+ ![working](https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExYjV3ZDhyeWp0bno2aTBjMzd5bTltazg0Y29mM2czeDl1aHNxam8xbSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/yYSSBtDgbbRzq/giphy.webp)