Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@magnesium/framework

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magnesium/framework

The Sass Framework for Web Design System.

latest
Source
npmnpm
Version
3.0.4
Version published
Weekly downloads
31
342.86%
Maintainers
1
Weekly downloads
 
Created
Source

Magnesium Design

Version Downloads License

Introduction

Easily develop your Design System for the web, The Magnesium Sass Framework is here for that!

Installing

npm install @magnesium/framework

Theme

The theme component help you to easily manage theme styles with generate CSS custom properties declarations from user-provided theme's tokens map.

@use "@magnesium/framework/theme";

.foo {
    $theme: theme.create-theme-vars((
        "text-color": darkcyan
    ), "button");

    @include theme.emit-theme-vars($theme);
}

Output

.foo {
    --mg-button-text-color: darkcyan;
}

Keywords

sass

FAQs

Package last updated on 09 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts