1.0.1 • Published 1 year ago

umany-styles v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Umany Global Styling

repository created to handle style constants

Colors

import { colors } from "umany-styles"

Fonts

import { colors } from "umany-styles"


To add new values to the created constants


Go to:

assets/<constant>.mjs

Set variables:

export const Primary600 '#371E80'
export const Primary500 = '#4B358B'

To add new constants


Create container constant file in:

assets/<constant>.mjs

Define variables to import:

export const Primary600 = '#371E80'
export const Primary500 = '#4B358B'

Import new constant file to index.mjs

import * as colors from "./assets/colors.mjs";
import * as fonts from "./assets/fonts.mjs";

export { colors, fonts };

Npm Login


Npm Publish