@function palette ($name, $tone : 'default') {
	 @return map-get(map-get($palette, $name), $tone);
}

$primary: #d9232a;
$error: #d9232a;
$secondary: #ff00ff;
$facebook: #46629e;

$palette: (
	primary: (
		lightest: lighten($primary, 20%),
		lighter: lighten($primary, 15%),
		light: lighten($primary, 10%),
		default: $primary,
		dark: darken($primary, 5%),
		darker: darken($primary, 10%),
		darkest: darken($primary, 15%),
	),
	secondary: (
		light: #fdf881,
        // default: #ffe588,
		default: $secondary,
		dark: darken($secondary, 10%),
		darker : darken($secondary, 20%),
	),
    tone: (
        black: #000000,
        dark: #373a3c,
        default: #55595c,
        light:  #818a91,
        lighter: #e4e8ee,
        lightest: #f7f7f9,
        white : #ffffff,
    ),
    danger: (
        dark: darken($error, 20%),
        default: $error,
        light: lighten($error, 20%),
    )
);
