baseui
Version:
A React Component library implementing the Base design language
44 lines (41 loc) • 928 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SIZE = exports.KIND = exports.HIERARCHY = void 0;
/*
Copyright (c) Uber Technologies, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
const SIZE = exports.SIZE = {
small: 'small',
medium: 'medium',
large: 'large'
};
const HIERARCHY = exports.HIERARCHY = Object.freeze({
primary: 'primary',
secondary: 'secondary'
});
// todo: dynamic identity map generation
const KIND = exports.KIND = {
custom: 'custom',
// semantic
neutral: 'neutral',
primary: 'primary',
accent: 'accent',
positive: 'positive',
warning: 'warning',
negative: 'negative',
// primitive
black: 'black',
blue: 'blue',
green: 'green',
red: 'red',
yellow: 'yellow',
orange: 'orange',
purple: 'purple',
brown: 'brown',
teal: 'teal',
lime: 'lime'
};