Skip to main content
VelinStyle v1.3.0
⌂ Home
  1. Docs
  2. CLI & Extend
  3. Approach

Approach beta

Understand the design principles behind VelinStyle — why it works the way it does. Deutsch: Ansatz

Maturity: This surface is beta / foundation in VelinStyle 1.2.0 — usable now; schemas and coverage still expanding. CSS / Web Components / runtime remain stable. Studio and the complete Utility Engine stay planned.

When to use

When not

Philosophy

CSS Layers

VelinStyle uses @layer to organize its CSS into predictable cascade levels:

@layer velin.base;      /* Reboot, typography, base styles */
@layer velin.components; /* Component styles */
@layer velin.utilities;  /* Utility classes (highest priority) */

/* Your custom CSS (unlayered) always wins */
.my-class { color: red; }

Mobile-First

All responsive utilities are mobile-first — the base class applies to all screen sizes, and breakpoint variants apply from that breakpoint upward using min-width media queries.

/* Base: applies everywhere */
.velin-d-flex { display: flex; }

/* md breakpoint: applies at 768px and up */
@media (min-width: 768px) {
  .velin-d-md-block { display: block; }
}