UNPKG

carbon-components

Version:

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

60 lines (58 loc) 2 kB
(function (global, factory) { if (typeof define === "function" && define.amd) { define([], factory); } else if (typeof exports !== "undefined") { factory(); } else { var mod = { exports: {} }; factory(); global.codeSnippetConfig = mod.exports; } })(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function () { /** * 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; module.exports = { context: { prefix: prefix }, variants: [{ name: 'default', label: 'Single Line', notes: "\n Code snippets are small blocks of reusable code that can be inserted in a code file.\n\n The Single style is for single-line code snippets.\n ", context: { variant: 'single' } }, { name: 'multi', label: 'Multi Line', notes: "\n Code snippets are small blocks of reusable code that can be inserted in a code file.\n\n The Multi-line style is for larger code blocks.\n ", context: { variant: 'multi' } }, { name: 'inline', label: 'Inline', notes: "\n Code snippets are small blocks of reusable code that can be inserted in a code file.\n\n The inline style is for code blocks within a block of text on a white background.\n ", context: { variant: 'inline' } }, { name: 'inline-light', label: 'Inline (Light)', notes: "\n Code snippets are small blocks of reusable code that can be inserted in a code file.\n\n The inline style is for code blocks within a block of text.\n ", context: { variant: 'inline', light: 'true' } }] }; });