0.0.20 • Published 6 months ago

valliumui v0.0.20

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

ValliumUI

Small UI library for react projects. Build with the vallium design system.

Be aware that this library is still experimental and in development!

Installation

Style compilation

Add the node module package to the content in the tailwind.config.js file to enable the compilation of the tailwind styles used by vallium.

	content: [
		"./node_modules/valliumui/**/*.{js,ts,jsx,tsx}",
	],

Colors

Add the follwing colors to the tailwind.config.js file in your project.

This is also where you can configure the colors used by vallium.

theme: {
    extend: {
        colors: {
            vallium: {
                50: "#eef9ff",
                100: "#d9f2ff",
                200: "#bbe9ff",
                300: "#8cdcff",
                400: "#56c6ff",
                500: "#2eaaff",
                600: "#188cf8",
                700: "#1178ee",
                800: "#145db9",
                900: "#174f91",
                950: "#133158",
            }
        }
    }
}

Example

Your final config should look something like this:

import type { Config } from "tailwindcss";

const config: Config = {
	content: [
		"./src/**/*.{js,ts,jsx,tsx,mdx}",
		"./node_modules/valliumui/**/*.{js,ts,jsx,tsx,mdx}",
	],
	theme: {
		extend: {
			colors: {
				vallium: {
					50: "#eef9ff",
					100: "#d9f2ff",
					200: "#bbe9ff",
					300: "#8cdcff",
					400: "#56c6ff",
					500: "#2eaaff",
					600: "#188cf8",
					700: "#1178ee",
					800: "#145db9",
					900: "#174f91",
					950: "#133158",
				},
			},
		},
	},
	plugins: [],
};
export default config;
0.0.20

6 months ago

0.0.19

6 months ago

0.0.18

6 months ago

0.0.17

6 months ago

0.0.16

6 months ago

0.0.15

6 months ago

0.0.14

6 months ago

0.0.13

6 months ago

0.0.12

6 months ago

0.0.11

6 months ago

0.0.4

6 months ago

0.0.3

6 months ago

0.0.1

6 months ago