Skip to content

kabledev/symmetrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symmetrix

A lightweight CSS framework built with Sass. Provides practical, reusable utility classes for Sass-based projects.

Installation

npm install symmetrix

Basic Usage

// style.scss

@use "symmetrix";
// or
@forward "symmetrix";

Customize

To customize the default variables, import each module separately. This allows you to configure abstracts before the rest of the framework loads.

// style.scss

@use "symmetrix/abstracts/vars" with (
  $theming: (
    fontFamily: (
      "Roboto, sans-serif",
    ),
    fontSize: 1rem,
    lineHeight: 1.25,

    colorScheme: (
      light: (
        bgColor: white,
        textColor: var(--sym-gray-800),
        headingColor: var(--sym-gray-950),
        borderColor: var(--sym-gray-200),
      ),
      dark: (
        bgColor: var(--sym-gray-950),
        textColor: var(--sym-gray-100),
        headingColor: white,
        borderColor: var(--sym-gray-800),
      ),
    ),
  )
);

@forward "symmetrix/base";
@forward "symmetrix/layout";
@forward "symmetrix/elements";
@forward "symmetrix/utils";

Modules

Module Description
symmetrix/abstracts Variables, functions, mixins
symmetrix/base Reset and base styles
symmetrix/layout Grid and layout utilities
symmetrix/elements HTML element styles
symmetrix/utils Utility classes

License

MIT

About

A lightweight Sass-based CSS framework with practical utility classes

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors