1.4.2 • Published 6 months ago

@nuvoui/core v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

NuvoUI

Human-readable SCSS for modern devs. Discover NuvoUI

GitHub stars GitHub forks npm version Discord Twitter

The Human-First SCSS Framework

NuvoUI is designed for developers who want a better way to build responsive, beautiful websites without unnecessary complexity. Write CSS as naturally as you would speak it.

✨ Why Choose NuvoUI?

  • 💬 Human-Readable - Intuitive, readable class names and mixins
  • 📱 Responsive First - Use @lg or @sm directly in class names - being natural like font-bold@lg
  • 🧩 Component-Focused - Container queries for truly modular design
  • 🌙 Dark Mode Built In - Theme switching with zero effort
  • 🚀 Performance Focused - Smaller CSS footprint than most frameworks
  • ⚙️ Fully Customizable - Configure everything via SCSS variables
  • 📦 Zero Runtime - Pure CSS, no JavaScript dependencies

Quick Installation

# Using npm
npm install @nuvoui/core

# Using pnpm
pnpm add @nuvoui/core

# Using yarn
yarn add @nuvoui/core

Usage

SCSS Import (Recommended)

// Basic import with defaults
@use '@nuvoui/core' as NuvoUI;

// Or customize with your preferences
@use '@nuvoui/core' as NuvoUI with (
  $primary: #ff6f00,
  $secondary: #03DAC6,
  $column-count: 12,
  $enable-dark-mode: true,
  // Add more customizations as needed
);

Direct CSS Import (coming soon to CDN)

<link rel="stylesheet" href="node_modules/@nuvoui/core/dist/nuvoui.min.css">

Core Features

🎨 Beautiful Color System

NuvoUI includes a comprehensive color system with semantic color variables and automatic dark mode support.

<div class="bg-primary text-white">Primary color with contrast text</div>
<div class="bg-success-200 text-success-900">Success colors with different shades</div>

📐 Flexible Layout System

Build complex layouts with ease using our grid and flexbox utilities.

<!-- Responsive grid with auto placement -->
<div class="grid cols-12 gap-4">
  <div class="col-span-12 col-span-6@md col-span-4@lg">Responsive column</div>
  <div class="col-span-12 col-span-6@md col-span-8@lg">Another column</div>
</div>

<!-- Flexbox with alignment -->
<div class="flex between y-center wrap">
  <div>Left content</div>
  <div>Right content</div>
</div>

.floating-element {
  @include NuvoUI.animate-float((
    distance: 10px,
    duration: 3s,
    direction: vertical
  ));
}

🌓 Simple Dark Mode

Example 2: Elegant SCSS Mixins

<html data-theme="dark">
  <!-- Your content will use dark theme colors -->
</html>

Toggle with a simple script:

<button onclick="document.documentElement.setAttribute('data-theme', 
  document.documentElement.getAttribute('data-theme') === 'dark' ? 'light' : 'dark')">
  Toggle Theme
</button>

Step 3: Implementing Responsive Design

.hero-image {
  @include NuvoUI.mx-auto;
  @include NuvoUI.my(40);
  @include NuvoUI.rounded(8);
  @include NuvoUI.shadow-lg;
  
  // Add custom animation
  @include NuvoUI.animate-bounce((
    horizontal: 3%,
    duration: 25s,
  ));
  
  // Responsive behavior
  @include NuvoUI.media-up(lg) {
    @include NuvoUI.max-width(80%);
  }
}

// Generated CSS:
.hero-image {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px !important;
  margin-bottom: 40px !important;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  animation: anim-bounce-0p-3per 25s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .hero-image {
    max-width: 80%;
  }
}

@keyframes anim-bounce-0p-3per {
  0% {
    transform: translateX(-0%) translateY(-3%);
  }
  50% {
    transform: translateX(0%) translateY(3%);
  }
  100% {
    transform: translateX(-0%) translateY(-3%);
  }
}

Documentation

For complete documentation, examples, and guides:

Visit the NuvoUI Documentation Site →.

Community & Support

License

NuvoUI is open-source and licensed under the MIT License.

Feel free to use NuvoUI in your projects—commercial or personal. Just don't forget to give us a shoutout when possible!

Working with CSS

1.4.2

6 months ago

1.4.1

6 months ago

1.4.0

7 months ago

1.3.5

7 months ago

1.3.4

7 months ago

1.3.3

7 months ago

1.3.2

7 months ago

1.3.1

7 months ago

1.3.0

7 months ago

1.2.7

8 months ago

1.2.6

8 months ago

1.2.5

8 months ago

1.2.4

8 months ago

1.2.3

9 months ago

1.2.2

9 months ago

1.2.1

9 months ago

1.2.0

9 months ago

1.1.8

9 months ago

1.1.7

9 months ago

1.1.6

9 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.0.1

12 months ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago