UNPKG

carbon-components

Version:

The Carbon Design System is IBM’s open-source design system for products and experiences.

60 lines (58 loc) 939 B
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var _require = require('../../globals/js/settings'), prefix = _require.prefix; var tags = [{ type: 'red', label: 'Red' }, { type: 'magenta', label: 'Magenta' }, { type: 'purple', label: 'Purple' }, { type: 'blue', label: 'Blue' }, { type: 'cyan', label: 'Cyan' }, { type: 'teal', label: 'Teal' }, { type: 'green', label: 'Green' }, { type: 'gray', label: 'Gray' }, { type: 'cool-gray', label: 'Cool-Gray' }, { type: 'warm-gray', label: 'Warm-Gray' }]; module.exports = { context: { prefix: prefix }, variants: [{ name: 'default', label: 'Tag', context: { tags: tags } }, { name: 'filter', label: 'Tag (filter)', context: { filter: true } }] };