@nuvoui/core 1.1.3 → 1.1.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 +56 -47
- package/dist/nuvoui.min.css +1 -0
- package/package.json +11 -4
- package/src/styles/base/_base.scss +113 -6
- package/src/styles/base/_reset.scss +2 -6
- package/src/styles/index.scss +1 -3
- package/src/styles/layouts/_container.scss +10 -19
- package/src/styles/layouts/_flex.scss +42 -17
- package/src/styles/layouts/_grid.scss +47 -66
- package/src/styles/mixins-map.scss +118 -74
- package/src/styles/themes/_theme.scss +63 -114
- package/src/styles/utilities/_borders.scss +1 -5
- package/src/styles/utilities/_colors.scss +39 -85
- package/src/styles/utilities/_functions.scss +125 -0
- package/src/styles/utilities/_media-queries.scss +24 -8
- package/src/styles/utilities/_shadows.scss +1 -1
- package/src/styles/utilities/_sizing.scss +10 -4
- package/src/styles/utilities/_spacing.scss +14 -15
- package/src/styles/utilities/_variables.scss +52 -22
- package/dist/nuvoui.css +0 -1
- package/src/styles/themes/_dark.scss +0 -26
- package/src/styles/themes/_light.scss +0 -23
package/README.md
CHANGED
|
@@ -1,71 +1,64 @@
|
|
|
1
1
|
# NuvoUI
|
|
2
2
|
|
|
3
|
+
[](https://github.com/NuvoUI/core)
|
|
4
|
+
[](https://github.com/NuvoUI/core)
|
|
5
|
+
[](https://www.npmjs.com/package/@nuvoui/core)
|
|
3
6
|
[](https://discord.gg/nWGsbQKE)
|
|
4
7
|
|
|
8
|
+
## Welcome to NuvoUI 🎉
|
|
5
9
|
|
|
6
|
-
NuvoUI
|
|
10
|
+
NuvoUI is a modern, human-friendly SCSS framework designed for developers who value simplicity, flexibility, and performance. Whether you're a seasoned CSS wizard or just getting started, NuvoUI makes building responsive, performant, and visually stunning web designs a breeze.
|
|
7
11
|
|
|
8
|
-
---
|
|
9
12
|
|
|
10
|
-
## Why NuvoUI?
|
|
13
|
+
## Why Choose NuvoUI?
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
✨ **Natural Language-Like Syntax**
|
|
16
|
+
Write CSS that feels intuitive and effortless. Use classes like `px-20` for padding or `px-20@lg` for responsive styles—all without breaking a sweat.
|
|
13
17
|
|
|
14
|
-
|
|
18
|
+
🔥 **Fully Mixin-Based**
|
|
19
|
+
Seamlessly integrate NuvoUI into your SCSS pipeline. Write reusable, modular, and clean SCSS code with our powerful mixins.
|
|
15
20
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
```
|
|
21
|
+
🚀 **Optimized Animations**
|
|
22
|
+
Define animations on the fly. NuvoUI caches animations intelligently, ensuring your code stays DRY (Don't Repeat Yourself).
|
|
19
23
|
|
|
20
|
-
when you can have, this
|
|
21
24
|
|
|
22
|
-
```html
|
|
23
|
-
<button class="btn lg primary pill outline py-40" >...
|
|
24
|
-
```
|
|
25
25
|
|
|
26
|
-
|
|
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
|
|
26
|
+
## Key Features
|
|
35
27
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
28
|
+
- **Dynamic Responsive Design**: Use `@lg`, `@sm`, etc., to generate responsive styles with ease.
|
|
29
|
+
- **Flexible Animations**: Create complex animations with simple mixins like `@include NuvoUI.animate-bounce((horizontal: 3%, duration: 25s))`.
|
|
30
|
+
- **Developer-First Approach**: NuvoUI is built by developers for developers, offering the flexibility to build custom solutions effortlessly.
|
|
31
|
+
- **Simple Installation**: Get started with a single command via npm.
|
|
39
32
|
|
|
40
|
-
|
|
33
|
+
---
|
|
41
34
|
|
|
35
|
+
## Installation
|
|
42
36
|
|
|
37
|
+
To start using NuvoUI, install it via npm or pnpm:
|
|
43
38
|
|
|
44
|
-
|
|
39
|
+
```bash
|
|
40
|
+
npm instal @nuvoui/core
|
|
41
|
+
// or
|
|
42
|
+
pnpm install @nuvoui/core
|
|
43
|
+
```
|
|
45
44
|
|
|
46
|
-
## How to Use It
|
|
47
45
|
|
|
48
|
-
1. **Install via npm**
|
|
49
|
-
```bash
|
|
50
|
-
npm install @nuvoui/core
|
|
51
|
-
- or
|
|
52
|
-
pnpm install @nuvoui/core
|
|
53
|
-
```
|
|
54
46
|
|
|
55
|
-
|
|
47
|
+
## Usage Examples
|
|
56
48
|
|
|
57
|
-
|
|
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
|
-
```
|
|
49
|
+
### Example 1: Intuitive HTML Classes
|
|
66
50
|
|
|
51
|
+
```html
|
|
52
|
+
<div class="
|
|
53
|
+
px-40
|
|
54
|
+
px-20@sm
|
|
55
|
+
px-80@lg
|
|
56
|
+
">
|
|
57
|
+
Responsive Padding Example
|
|
58
|
+
</div>
|
|
59
|
+
```
|
|
67
60
|
|
|
68
|
-
|
|
61
|
+
### Example 2: Elegant SCSS Mixins
|
|
69
62
|
|
|
70
63
|
```scss
|
|
71
64
|
img:nth-child(1) {
|
|
@@ -78,7 +71,8 @@ img:nth-child(1) {
|
|
|
78
71
|
}
|
|
79
72
|
```
|
|
80
73
|
|
|
81
|
-
|
|
74
|
+
Generated CSS:
|
|
75
|
+
|
|
82
76
|
```css
|
|
83
77
|
img:nth-child(1) {
|
|
84
78
|
margin-left: auto;
|
|
@@ -87,6 +81,7 @@ img:nth-child(1) {
|
|
|
87
81
|
margin-bottom: 40px !important;
|
|
88
82
|
animation: anim-bounce-0per-3per 25s ease-in-out infinite;
|
|
89
83
|
}
|
|
84
|
+
|
|
90
85
|
@keyframes anim-bounce-0per-3per {
|
|
91
86
|
0% {
|
|
92
87
|
transform: translateX(-0%) translateY(-3%);
|
|
@@ -102,6 +97,20 @@ img:nth-child(1) {
|
|
|
102
97
|
|
|
103
98
|
|
|
104
99
|
|
|
105
|
-
##
|
|
100
|
+
## Join the NuvoUI Community 🌟
|
|
101
|
+
|
|
102
|
+
We welcome developers of all levels to contribute, suggest features, or just give us a star ⭐️ on GitHub. Let’s build something amazing together!
|
|
103
|
+
|
|
104
|
+
- GitHub: [NuvoUI Core](https://github.com/NuvoUI/core)
|
|
105
|
+
- NPM: [NuvoUI Core Package](https://www.npmjs.com/package/@nuvoui/core)
|
|
106
|
+
- DISOCRD: [NuvoUI Discord](https://discord.gg/nWGsbQKE)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
## License
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
NuvoUI is open-source and licensed under the [MIT License](https://github.com/NuvoUI/core/blob/main/LICENSE).
|
|
113
|
+
|
|
114
|
+
Feel free to use NuvoUI in your projects—commercial or personal. Just don't forget to give us a shoutout when possible!
|
|
106
115
|
|
|
107
|
-

|
|
116
|
+

|