@nuvoui/core 0.2.1 → 0.3.1

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