Skip to content

Commit

Permalink
chore(docs): Add a deprecation badge to foundation elements that have…
Browse files Browse the repository at this point in the history
… been deprecated

To make it more noticeable, and also changed sidebar width via the config file instead
  • Loading branch information
lzcabrera committed Sep 6, 2017
1 parent f865ec2 commit e64a145
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion config/styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ module.exports = {
color: {
link: '#4B286D',
linkHover: '#54595F'
}
},
sidebarWidth: 240
}
}
2 changes: 2 additions & 0 deletions docs/elements/buttons.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![deprecated](http://badges.github.io/stability-badges/dist/deprecated.svg)

**The button CSS classes are deprecated and should not be used. Use the [Button](#button) component instead.**

## Overview
Expand Down
2 changes: 2 additions & 0 deletions docs/elements/links.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![deprecated](http://badges.github.io/stability-badges/dist/deprecated.svg)

**The link CSS classes are deprecated and should not be used. Use the [Link](#link) component instead.**

## Text links
Expand Down
2 changes: 2 additions & 0 deletions docs/elements/typography.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![deprecated](http://badges.github.io/stability-badges/dist/deprecated.svg)

** The typography CSS classes are deprecated and should not be used. Use the [Typography](#typography-1) components instead. **

## Overview
Expand Down
5 changes: 0 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
<script src="//assets.adobedtm.com/6462022b939758565769298a6393ed7a46ee6817/satelliteLib-1a62f312773f2a4b9eaa85dbf0ec0bb49095fd2e.js"></script>
</head>
<body>
<style>
.sidebar-0-4{
width: 230px;
}
</style>
<div id="app"></div>
<script type="text/javascript">_satellite.pageBottom();</script>
</body>
Expand Down

0 comments on commit e64a145

Please sign in to comment.