Files
nibiru-framework.com/docs/design-system/tailwind.preset.js
stephan 48c839d927 Initial public push: docs cosmos v4 + AI module + framework groundwork
This is the snapshot the production landing site (nibiru-framework.com) is
deployed from. Brings together the recent splash + docs migration to the v4
"Cosmos" design system, the new in-framework AI module, and the framework
groundwork that backs the framework-reference extraction.

What lands:
- docs/: Astro + Starlight site with the v4 dark cosmic palette, GalaxyHero
  canvas constellation, Mission Control chat (wired to /api/oracle →
  api.neuronetz.ai via providers.mjs Ollama), 5-panel MMVC stage
  (Model · AI · Module · Controller · View), translated EN/DE/JA/ES/FR
  content, PWA + sitemap + llms.txt + Umami analytics.
- docs/design-system/: canonical mockup bundle (source/index-v2.html for
  splash, source/docs-system.html + preview/ for docs, SPEC.md, tokens).
- docs/scripts/extraction/framework-reference-v2.md: deep framework
  reference (~1.6k lines, file:line citations, every public factory and
  idiom — basis for the LoRA training corpus.
- application/module/ai/: AI module with chat / embed / RAG / agent
  plugins, plus pdoQuery / httpGet / fileRead tools and Modelfile +
  smoke-test in training/.
- application/module/users/: user / ACL / form-factory traits used as the
  reference plugin pattern for the framework docs.
- application/settings/config/database/: schema + seed migrations
  including the AI module tables (200–203).
- Form factory + autogenerator changes the framework-reference-v2 covers.

Production secrets stay out: docs/.env, settings.production.ini and
ai.production.ini are all gitignored (.example files are in tree).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 15:22:18 +02:00

109 lines
3.7 KiB
JavaScript

/**
* Nibiru Design System — v4.0.0 Tailwind Preset
*
* // tailwind.config.js
* module.exports = {
* presets: [require('@nibiru/design-system/tailwind.preset')],
* content: ['./src/**\/*.{html,js,ts,jsx,tsx,vue,astro}'],
* };
*/
module.exports = {
theme: {
extend: {
colors: {
nibiru: {
void: '#06030f',
space: '#0a0414',
night: '#120825',
plum: '#1c0f3a',
'nebula-mag': '#b86bff',
'nebula-blue': '#5b8dff',
'nebula-amber': '#ffb574',
iris: '#b86bff',
'iris-deep': '#8a3fd0',
'iris-soft': '#d4b4ff',
skyfall: '#5b8dff',
'skyfall-deep': '#3a6ad0',
'skyfall-soft': '#a8c0ff',
aurum: '#ffb574',
star: '#f4eedb',
paper: '#f4eedb',
'paper-2': '#ebe3c8',
mist: '#f8f3e2',
ink: '#0a0414',
'ink-2': '#2a2438',
'ink-deep': '#06030f',
'ink-faint': '#6e6680',
muted: '#6e6680',
success: '#7ad6a3',
rose: '#ff8a9d',
'code-bg': '#050208',
'code-text': '#f4eedb',
},
},
fontFamily: {
display: ['"Inter Tight"', 'ui-sans-serif', 'system-ui', 'sans-serif'],
sans: ['"Inter Tight"', 'ui-sans-serif', 'system-ui', 'sans-serif'],
mono: ['"JetBrains Mono"', 'ui-monospace', '"SF Mono"', 'Menlo', 'monospace'],
},
fontSize: {
hero: ['clamp(3.5rem, 7vw + 0.5rem, 7.75rem)', { lineHeight: '0.95', letterSpacing: '-0.04em' }],
section: ['clamp(2.5rem, 4vw + 0.5rem, 5rem)', { lineHeight: '1.02', letterSpacing: '-0.03em' }],
},
letterSpacing: {
display: '-0.04em',
heading: '-0.03em',
body: '-0.005em',
mono: '0.04em',
label: '0.10em',
eyebrow: '0.18em',
},
borderRadius: {
sm: '6px',
md: '10px',
lg: '14px',
xl: '18px',
'2xl':'22px',
pill: '999px',
},
boxShadow: {
'nibiru-sm': '0 1px 2px rgba(0, 0, 0, 0.20)',
'nibiru-md': '0 8px 24px -8px rgba(0, 0, 0, 0.40)',
'nibiru-lg': '0 30px 60px -30px rgba(0, 0, 0, 0.7)',
'nibiru-xl': '0 60px 120px -40px rgba(0, 0, 0, 0.7)',
'nibiru-cosmos': '0 60px 120px -40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(184, 107, 255, 0.06) inset',
'nibiru-glow-mag': '0 0 24px rgba(184, 107, 255, 0.45)',
'nibiru-glow-amb': '0 0 24px rgba(255, 181, 116, 0.45)',
'nibiru-glow-blue':'0 0 24px rgba(91, 141, 255, 0.45)',
},
backgroundImage: {
'iris-to-sky': 'linear-gradient(135deg, #b86bff 0%, #5b8dff 100%)',
'headline': 'linear-gradient(110deg, #ffb574 0%, #b86bff 50%, #5b8dff 100%)',
'accent': 'linear-gradient(110deg, #ffb574, #b86bff 70%)',
'accent-light': 'linear-gradient(110deg, #b46500, #5b1f9e 70%)',
'nebula': 'radial-gradient(120% 90% at 50% 20%, #2a2156 0%, #1a1442 24%, #0e0a2a 52%, #06050f 82%), linear-gradient(180deg, #06050f 0%, #07060f 100%)',
'mmvc-stage': 'radial-gradient(ellipse at 50% 50%, #1c0f3a, #0a0414 60%)',
},
animation: {
'tele-pulse': 'nibiru-tele-pulse 2.4s ease-in-out infinite',
blink: 'nibiru-blink 1s steps(1) infinite',
breathe: 'nibiru-breathe 18s ease-in-out infinite',
},
keyframes: {
'nibiru-tele-pulse': {
'0%, 100%': { opacity: '0.5', transform: 'scale(0.85)' },
'50%': { opacity: '1', transform: 'scale(1.15)' },
},
'nibiru-blink': {
'50%': { opacity: '0' },
},
'nibiru-breathe': {
'0%, 100%': { transform: 'translateY(0) rotate(0deg)' },
'50%': { transform: 'translateY(-6px) rotate(0.6deg)' },
},
},
},
},
};