Urgent.News

What's breaking now, across thousands of outlets.

Tech

MOGP: A SCSS Layout System That Only Does One Thing

Container, grid, span, gap, offset — nothing more. Today I'm open-sourc* ing **MOGP Layout System *, a minimal SCSS library built around a simple idea: **layout doesn't need a framework, it needs a system. The problem Most CSS frameworks try to do everything — layout, typography, color, components, animations, utility classes for margin and padding in every direction. That's useful when you want…

A new SCSS layout system, **MOGP Layout System**, has been open-sourced, aiming to provide only the essentials needed for layout design. Unlike many CSS frameworks that try to encompass layout, typography, color, components, and utilities, MOGP focuses on simplicity and minimalism. It comprises five core features: a container for centering content, a configurable-grid system, span for controlling the number of columns an element occupies, gap for spacing between grid items, and offset for adjusting elements horizontally.

The system is designed to integrate seamlessly with existing design systems, thanks to its namespaced classes and CSS custom properties. Developers can drop MOGP into their projects without worrying about naming collisions. The grid system is not limited to the standard 12-column layout; it can be customized according to the project's requirements.

Additionally, MOGP introduces auto-rhythm utilities, such as `pi-auto` and `gap-auto`, which apply spacing that automatically adjusts per breakpoint, simplifying responsive design.

One notable feature is the clean reset of offsets. If an element is offset at a smaller breakpoint, MOGP's `offset-lg-auto` can cancel this offset at a larger breakpoint, returning to the grid's default placement. The system also includes compile-time validation to ensure that any configuration errors are caught immediately, preventing the shipping of broken CSS.

MOGP comes in two compiled CSS files: a minimal variant and a full variant, offering flexibility depending on the developer's needs. While still in its early stages (v0.1.0), the core API for the system is stable and ready for further development. The project is licensed under MIT, with no dependencies aside from Dart Sass. It can be integrated either through a compile-time SCSS import or by using the ready-made CSS files. The developers are eager to receive feedback and suggestions to improve the system further.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Jour 1/100 · 75 minutes

Suite à ma rentrée en cycle ingé à Polytech Nice Sophia, je me lance un défi : coder au minimum 1h par jour pendant 100 jours. Cette heure doit servir ma progression académique.

StyleSmuggler: How a Payment Failure Email Became a Remote Code Execution Path in Magento

StyleSmuggler: How a Payment Failure Email Became a Remote Code Execution Path in Magento A storefront can pass every routine security check and still be running an exploitable template engine.

  • StyleSmuggler vulnerability allows remote code execution via payment failure emails in Magento.
  • CVE-2026-75650 assigned high CVSS score of 10.0, classified as critical by CWE-1336.
  • Adobe hotfix VULN-39341 and credential rotation required to remediate vulnerability.

Auto-localize prices in React with react-currency-localizer-realtime

If you sell to international customers, showing prices in the visitor's local currency isn't a nice-to-have — it's a conversion-rate lever.

  • react-currency-localizer-realtime simplifies price localization for international customers
  • Uses real-time mid-market rates from AllRatesToday API (160+ currencies)
  • Three usage patterns: component, hook, or manual override

What is a product engineer, and how is that different from a programmer?

A product engineer is the person responsible for making your digital product work and solve what your business needs, not just for writing the code you asked for.

  • Product engineers ensure product functionality and meet business requirements.
  • They define project scope, design solutions, and oversee product launch.
  • Programmers execute predetermined tasks, unlike product engineers.

More from Saturday 19 September →