dolphincss 1.2.5 → 1.2.7

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,25 +1,115 @@
1
- # 🇳🇵 DolphinCSS + React + Vite
2
-
3
- यो template ले minimal setup दिन्छ **React** को लागि **Vite**, **HMR**, **TailwindCSS**, र **DolphinCSS theme** सँग काम गर्न।
4
-
5
- DolphinCSS एक lightweight, world-class CSS library हो जसमा ready-to-use components र Tailwind-friendly utilities छन्।
6
-
7
- ---
8
-
9
- ## Features
10
-
11
- - Prebuilt **Dolphin theme colors** utilities
12
- - React-ready **components** (buttons, inputs, tables, etc.)
13
- - TailwindCSS v4+ compatible
14
- - Optimized for **Vite + React + HMR**
15
- - Fully **TypeScript compatible**
16
-
17
- ---
18
-
19
- ## Installation
20
-
21
- Install TailwindCSS & DolphinCSS:
22
-
23
- ```bash
24
- npm install tailwindcss dolphincss
25
- import 'dolphincss/dolphin-css.css';
1
+ <div align="center">
2
+ <h1>🐬 DolphinCSS</h1>
3
+ <p><strong>A Next-Generation UI Library for React + TailwindCSS</strong></p>
4
+ <p><em>Where Magic Component Generation meets Beautiful Global Classes.</em></p>
5
+ </div>
6
+
7
+ ---
8
+
9
+ DolphinCSS is not just another CSS framework. It fundamentally reimagines how developers build UI by combining the extreme customizability of **TailwindCSS**, the simplicity of **Bootstrap's Global Classes**, and an unprecedented **Vite-powered Magic Component Generator**.
10
+
11
+ Say goodbye to heavy vendor lock-ins (MUI, AntD) and tedious CLI commands (Shadcn UI).
12
+
13
+ ## The 4 Unique Superpowers
14
+
15
+ ### 1. 🪄 Magic Component Generation (Zero CLI)
16
+ We loved the idea of Shadcn giving you ownership of the code, but hated running CLI commands for every single component.
17
+
18
+ With DolphinCSS, **you never touch the terminal.** Just type a magic class in your editor and save:
19
+
20
+ ```jsx
21
+ // 1. You type this in your App.jsx:
22
+ <div className="dolphin-card"></div>
23
+
24
+ // 2. You hit Save (Ctrl+S)
25
+
26
+ // 3. 🪄 MAGIC! Vite instantly replaces that line IN YOUR FILE with the full React Component code!
27
+ <div className="glass card p-6 border border-white/20 rounded-2xl max-w-sm hover:shadow-xl hover:-translate-y-1 transition-all duration-300 relative overflow-hidden" style={{ backdropFilter: 'blur(20px)' }}>
28
+ {/* Full customizable code is now YOURS */}
29
+ </div>
30
+ ```
31
+
32
+ ### 2. 🎨 High-Level Global Classes
33
+ Tired of writing 20 utility classes for a single button? DolphinCSS brings back the simplicity of Global Classes, but with breathtaking modern aesthetics (Glassmorphism, Neon Glows).
34
+
35
+ ```jsx
36
+ /* The Tailwind Way (Messy) */
37
+ <button className="px-6 py-2 bg-blue-500 hover:bg-blue-600 text-white font-bold rounded-lg shadow-lg shadow-blue-500/50 transition-all">
38
+ Click
39
+ </button>
40
+
41
+ /* The DolphinCSS Way (Clean & Global) */
42
+ <button className="filled primary-500 glow btn-lg">
43
+ Click
44
+ </button>
45
+ ```
46
+
47
+ ### 3. 🧩 Infinite Class Composability (Nesting)
48
+ Classes in DolphinCSS are designed to stack perfectly. Combine background colors, gradients, glows, and animations endlessly without conflicts!
49
+
50
+ ```jsx
51
+ // Combine classes to create complex, animated, glowing UI instantly:
52
+ <button className="filled success gradient glow glow-pulse rounded-full">
53
+ I am a Glowing, Pulsing, Gradient Green Button!
54
+ </button>
55
+
56
+ // Create a frosted glass overlay with a dark tint:
57
+ <div className="overlay overlay-blur-xl overlay-dark-50"></div>
58
+ ```
59
+
60
+ ### 4. 🎬 World-Class Built-in Animations
61
+ No need for `framer-motion` or `animate.css`. DolphinCSS ships with a complete `@layer utilities` animation engine that you can drop on any HTML element.
62
+
63
+ - **Continuous:** `float`, `spin-slow`, `pulse`, `bounce`, `shimmer`, `gradient-flow`, `neon-flicker`
64
+ - **Hover:** `hover-pulse`, `hover-jelly`, `hover-glow`, `hover-ripple`
65
+ - **Entrance:** `fade-in`, `slide-up`, `zoom-in`, `rotate-3d`
66
+ - **Controls:** `delay-200`, `duration-500`
67
+
68
+ ```jsx
69
+ <img src="logo.png" className="float hover-jelly fade-in delay-200" />
70
+ ```
71
+
72
+ ---
73
+
74
+ ## 📦 Installation & Setup
75
+
76
+ 1. **Install via npm:**
77
+ ```bash
78
+ npm install tailwindcss dolphincss
79
+ ```
80
+
81
+ 2. **Add the Magic Vite Plugin:** (In `vite.config.js`)
82
+ ```javascript
83
+ import { defineConfig } from 'vite'
84
+ import react from '@vitejs/plugin-react'
85
+ import dolphincssPlugin from 'dolphincss/vite-plugin'
86
+
87
+ export default defineConfig({
88
+ plugins: [react(), dolphincssPlugin()]
89
+ })
90
+ ```
91
+
92
+ 3. **Import Styles:** (In your main `main.jsx` or `index.css`)
93
+ ```javascript
94
+ import 'dolphincss/dolphin-css.css';
95
+ ```
96
+
97
+ ---
98
+
99
+ ## 🐬 Available Magic Components
100
+
101
+ Type any of these magic markers in your `.jsx` or `.tsx` file, hit save, and watch the code generate instantly:
102
+
103
+ - `<div className="dolphin-form"></div>` (Beautiful Login/Action Form)
104
+ - `<div className="dolphin-table"></div>` (Responsive Data Table)
105
+ - `<div className="dolphin-toast"></div>` (Notification Toast)
106
+ - `<div className="dolphin-modal"></div>` (Native HTML Dialog Modal)
107
+ - `<div className="dolphin-button"></div>` (Button Variants Showcase)
108
+ - `<div className="dolphin-card"></div>` (Glassmorphic Profile Card)
109
+ - `<div className="dolphin-navbar"></div>` (Sleek Navigation Bar)
110
+ - `<div className="dolphin-alert"></div>` (Modern Alert Box)
111
+ - `<div className="dolphin-badge"></div>` (Status Badges)
112
+
113
+ ---
114
+
115
+ **Built with ❤️ in Nepal.** Ready for the future of UI development.