@dammgo/vena-visual-engine 0.3.0-alpha.1 → 0.3.0-alpha.3
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 +32 -13
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.js +8 -0
- package/dist/protocols/vena.js +11 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
# VENA Visual Engine 🚀
|
|
2
2
|
|
|
3
|
-
> **"
|
|
3
|
+
> **"Reality-Aware Infrastructure. Engineering as Art."**
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@dammgo/vena-visual-engine)
|
|
6
6
|
[](https://github.com/dammgo/vena-visual-engine/blob/main/LICENSE)
|
|
7
7
|
|
|
8
8
|
## 🧬 The Manifesto
|
|
9
9
|
|
|
10
|
-
The web has been colonized by the generic.
|
|
10
|
+
The web has been colonized by the generic. **VENA Visual Engine (VVE)** is a rebellion. It is not another CSS framework for "friendly" apps. It is a **Sovereign Infrastructure** for building digital interfaces that reflect precision, authority, and longevity.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Starting from **v0.3.0**, VVE evolves from a static preset to a **Reality-Aware Engine** that understands the observer's environment and the developer's intention.
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
## 🏛️ Axioms of the Engine
|
|
17
17
|
|
|
18
|
-
1. **
|
|
19
|
-
2. **
|
|
20
|
-
3. **
|
|
21
|
-
4. **
|
|
18
|
+
1. **Holistic Responsiveness:** We don't just look at width. We look at **Intention** and **Altitude**. Components shrink and expand based on the total available surface area (Width + Height).
|
|
19
|
+
2. **The Reality Categories (VRC):** The engine differentiates between **App**, **Content**, and **Landing** realities, injecting specific mathematical formulas for typography and spacing in each.
|
|
20
|
+
3. **Layout Sovereignty:** VVE provides the **DNA (The Skin)**, but the **Page owns the Skeleton**. Structural positioning (Flex, Grid, Height) remains local to ensure perfect compiler visibility and flexibility.
|
|
21
|
+
4. **Precision over Organic:** We reject the "round-everything" culture. Surfaces should feel like precision-cut steel, calibrated for professional hardware.
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
25
|
## 🛠️ Installation
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
npm install @dammgo/vena-visual-engine unocss
|
|
28
|
+
npm install @dammgo/vena-visual-engine@alpha unocss
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## 📡 Quick Start (UnoCSS)
|
|
@@ -43,20 +43,39 @@ export default defineConfig({
|
|
|
43
43
|
protocol: 'erpbsg' // Options: 'erpbsg' | 'dammgo' | 'vena' | 'kode-reboot'
|
|
44
44
|
}),
|
|
45
45
|
],
|
|
46
|
+
content: {
|
|
47
|
+
pipeline: {
|
|
48
|
+
include: [
|
|
49
|
+
'src/**/*.{js,ts,jsx,tsx}',
|
|
50
|
+
'node_modules/@dammgo/vena-visual-engine/dist/**/*.js', // Required for Shortcut resolution
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
46
54
|
})
|
|
47
55
|
```
|
|
48
56
|
|
|
49
57
|
---
|
|
50
58
|
|
|
59
|
+
## 🎭 Activating Realities
|
|
60
|
+
|
|
61
|
+
To use the elastic units of VVE, wrap your container with a **Reality Class**:
|
|
62
|
+
|
|
63
|
+
- **`.vve-reality-app`**: Prioritizes height. Ideal for Logins/Dashboards. Everything fits in 600px altitude.
|
|
64
|
+
- **`.vve-reality-content`**: Prioritizes width and readability. Ideal for Documentation/Blogs.
|
|
65
|
+
- **`.vve-reality-landing`**: Prioritizes monumental impact. Ideal for Marketing.
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
51
69
|
## 📚 Documentation
|
|
52
70
|
|
|
53
71
|
Detailed guides for our sovereign syntax:
|
|
54
72
|
|
|
55
|
-
- [**Architecture Blueprint**](./docs/ARCHITECTURE.md):
|
|
56
|
-
- [**
|
|
57
|
-
- [**
|
|
58
|
-
- [**
|
|
73
|
+
- [**Architecture Blueprint**](./docs/ARCHITECTURE.md): The multi-protocol factory and the Elastic Root.
|
|
74
|
+
- [**Reality Manual**](./docs/REALITY_MANUAL.md): How to implement intentions and use VENA Units.
|
|
75
|
+
- [**Technical Specification**](./docs/SPECIFICATION.md): The mathematical formulas behind VRC.
|
|
76
|
+
- [**Protocol Handbook**](./docs/PROTOCOL_HANDBOOK.md): Registering and building new brand identities.
|
|
77
|
+
- [**Changelog**](./docs/CHANGELOG.md): Tracking the visual revolution.
|
|
59
78
|
|
|
60
79
|
---
|
|
61
|
-
**dammgo labs** - _Engineering
|
|
80
|
+
**dammgo labs** - _Engineering Reality._
|
|
62
81
|
© 2026. Distributed under the MIT License.
|
package/dist/core/index.d.ts
CHANGED
package/dist/core/index.js
CHANGED
|
@@ -5,6 +5,11 @@ import { presetUno, presetWebFonts } from 'unocss';
|
|
|
5
5
|
*/
|
|
6
6
|
export const coreTheme = {
|
|
7
7
|
colors: {
|
|
8
|
+
// --- SOVEREIGN TOKENS (Direct Access) ---
|
|
9
|
+
void: '#030712', // Negro abisal (Sovereign Base)
|
|
10
|
+
cobalt: '#00d4ff', // VENA Intelligence (Cyan Electric)
|
|
11
|
+
armor: '#1e293b', // Gris blindaje (Border/Infrastructure)
|
|
12
|
+
// --- LEGACY NAMESPACE (BOS) ---
|
|
8
13
|
bos: {
|
|
9
14
|
slate: '#020617',
|
|
10
15
|
pink: '#E91E63',
|
|
@@ -44,6 +49,9 @@ export const coreShortcuts = [
|
|
|
44
49
|
['precision-bracket', 'relative before:content-[""] before:absolute before:-top-1 before:-left-1 before:w-2 before:h-2 before:border-t-1 before:border-l-1 before:border-bos-pink after:content-[""] after:absolute after:-bottom-1 after:-right-1 after:w-2 after:h-2 after:border-b-1 after:border-r-1 after:border-bos-pink'],
|
|
45
50
|
['infra-grid', 'relative before:content-[""] before:absolute before:inset-0 before:opacity-0 before:pointer-events-none before:[background-image:radial-gradient(#f8fafc_1px,transparent_1px)] before:[background-size:10px_10px] focus-within:before:opacity-10 before:transition-opacity'],
|
|
46
51
|
['synapse-line', 'h-1 bg-white/5 relative overflow-hidden after:content-[""] after:absolute after:inset-0 after:bg-gradient-to-r after:from-transparent after:via-bos-pink after:to-transparent after:animate-pulse'],
|
|
52
|
+
// --- CINEMATIC SHORCUTS ---
|
|
53
|
+
['glass-armor', 'backdrop-blur-md bg-void/10 border border-armor/20'],
|
|
54
|
+
['text-glow', 'drop-shadow-[0_0_10px_currentColor]'],
|
|
47
55
|
];
|
|
48
56
|
/**
|
|
49
57
|
* Reality Category Preflights (The Elastic Root)
|
package/dist/protocols/vena.js
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
export const venaShortcuts = [
|
|
2
2
|
// --- IDENTIDAD DE INTELIGENCIA (ATÓMICA) ---
|
|
3
|
-
['vena-monitor', 'bg-black border-[0.5px] border-
|
|
4
|
-
['vena-pulse-line', 'h-[1px] bg-
|
|
3
|
+
['vena-monitor', 'bg-black border-[0.5px] border-cobalt/20 font-mono text-[11px] text-cobalt/80'],
|
|
4
|
+
['vena-pulse-line', 'h-[1px] bg-cobalt/10 relative overflow-hidden after:content-[""] after:absolute after:inset-0 after:bg-cobalt after:animate-scan'],
|
|
5
|
+
// --- ESTRUCTURAS CINEMÁTICAS (Soberanía Visual) ---
|
|
6
|
+
['vena-glass-armor', 'glass-armor'],
|
|
7
|
+
['vena-text-glow', 'text-glow'],
|
|
8
|
+
// --- PROTOCOLOS DE CAPTURA (Ingeniería de Precisión) ---
|
|
9
|
+
// El input cinemático de VENA: Fondo abisal, texto blanco y brackets de cobalto al enfocar.
|
|
10
|
+
['vena-input', 'bg-void border border-armor/50 px-4 py-3 font-mono text-sm text-white placeholder:text-armor/50 outline-none transition-all focus:border-cobalt/50 relative before:content-[""] before:absolute before:-top-1 before:-left-1 before:w-2 before:h-2 before:border-t-1 before:border-l-1 before:border-cobalt before:opacity-0 focus:before:opacity-100 after:content-[""] after:absolute after:-bottom-1 after:-right-1 after:w-2 after:h-2 after:border-b-1 after:border-r-1 after:border-cobalt after:opacity-0 focus:after:opacity-100'],
|
|
11
|
+
// --- ACCIONES SOBERANAS (Contraste Máximo) ---
|
|
12
|
+
// El botón de vanguardia: Cobalto con texto abisal. Invierte en hover.
|
|
13
|
+
['vena-btn-primary', 'bg-cobalt text-void font-black uppercase tracking-[0.2em] text-[10px] px-8 py-4 hover:bg-white hover:text-void transition-all duration-500 shadow-[0_0_15px_rgba(0,212,255,0.3)] shadow-glow disabled:opacity-50 disabled:cursor-not-allowed'],
|
|
5
14
|
];
|
|
6
15
|
export const venaRules = [
|
|
7
16
|
['animate-scan', { animation: 'scan 2s linear infinite' }],
|
package/package.json
CHANGED