Skip to content

Commit

Permalink
feat(ld-button): on-brand and secondary-on-brand modes
Browse files Browse the repository at this point in the history
  • Loading branch information
borisdiakur committed May 28, 2021
1 parent a586fd2 commit 372a5e4
Show file tree
Hide file tree
Showing 116 changed files with 2,898 additions and 1,015 deletions.
6 changes: 5 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = function (eleventyConfig) {
lang = 'html',
stacked,
opened,
brand,
heighlight,
heighlightCssComponent
) {
Expand All @@ -70,7 +71,10 @@ module.exports = function (eleventyConfig) {
)}" `
}

output += `${stacked ? 'stacked' : ''} ${opened ? 'opened' : ''}>\n`
output += `${stacked ? ' stacked' : ''}`
output += `${opened ? ' opened' : ''}`
output += `${brand ? ' brand' : ''}`
output += '>\n'
output += `<div slot="code">\n\n`
output += `\`\`\`${lang}${
heighlight ? '/' + heighlight : ''
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> ⚠️ **Important**: Liquid is currently in its early development stage and subject to major changes.
Liquid is a UI component library based on the [Liquid Design System](https://lds.merck.design/), focusing on accessibility and interoperability. It's built with [Stencil.js](https://stenciljs.com) and contains, inter alia, CSS components and Web Components, bundled in several bundle formats, which you can use in a wide veriaty of plattforms and projects.
Liquid is a UI component library based on the [Liquid Design System](https://lds.merck.design/), focusing on accessibility and interoperability. It's built with [Stencil.js](https://stenciljs.com) and contains, inter alia, CSS Components and Web Components, bundled in several bundle formats, which you can use in a wide veriaty of plattforms and projects.

## Install

Expand Down
Loading

0 comments on commit 372a5e4

Please sign in to comment.