baseui
Version:
A React Component library implementing the Base design language
69 lines (66 loc) • 1.7 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = 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.
*/
// borderColor is defaulted to the light theme values.
// Dark theme overrides the border colors.
const borders = {
border100: {
borderColor: 'hsla(0, 0%, 0%, 0.04)',
borderStyle: 'solid',
borderWidth: '1px'
},
border200: {
borderColor: 'hsla(0, 0%, 0%, 0.08)',
borderStyle: 'solid',
borderWidth: '1px'
},
border300: {
borderColor: 'hsla(0, 0%, 0%, 0.12)',
borderStyle: 'solid',
borderWidth: '1px'
},
border400: {
borderColor: 'hsla(0, 0%, 0%, 0.16)',
borderStyle: 'solid',
borderWidth: '1px'
},
border500: {
borderColor: 'hsla(0, 0%, 0%, 0.2)',
borderStyle: 'solid',
borderWidth: '1px'
},
border600: {
borderColor: 'hsla(0, 0%, 0%, 0.24)',
borderStyle: 'solid',
borderWidth: '1px'
},
radius100: '2px',
radius200: '4px',
radius300: '8px',
radius400: '12px',
radius500: '16px',
/** Datepicker (Range), Progress Bar, Slider, Tag */
useRoundedCorners: true,
/** Button, ButtonGroup */
buttonBorderRadiusMini: '4px',
buttonBorderRadius: '8px',
/** Checkbox */
checkboxBorderRadius: '0px',
/** Input, Select, Textarea */
inputBorderRadiusMini: '4px',
inputBorderRadius: '8px',
/** Popover, Menu, Tooltip */
popoverBorderRadius: '8px',
/** Card, Datepicker, Modal, Toast, Notification */
surfaceBorderRadius: '0px',
/** Tag */
tagBorderRadius: '24px'
};
var _default = exports.default = borders;