Skip to content

Commit

Permalink
docs(foundational-elements): Remove dated copy
Browse files Browse the repository at this point in the history
and add back to TDS Guidelines link
  • Loading branch information
lzcabrera committed Jan 19, 2018
1 parent 6332256 commit 307f3a7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 32 deletions.
30 changes: 1 addition & 29 deletions config/styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,37 +63,9 @@ module.exports = {
showCode: false,

sections: [
{
name: 'TELUS Design System',
content: path.resolve('docs/intro/welcome.md'),
sections: [
{
name: 'Getting started',
content: path.resolve('docs/intro/getting-started.md'),
},
{
name: 'Design vision',
content: path.resolve('docs/intro/design-vision.md'),
},
{
name: 'Releases',
content: path.resolve('docs/intro/releases.md'),
},
{
name: 'Contributing',
content: path.resolve('docs/intro/contributions.md'),
},
],
},
{
name: 'Foundational elements',
content: path.resolve('docs/elements/intro.md'),
sections: [
{
name: 'Colours',
content: path.resolve('docs/elements/colours.md'),
},
],
content: path.resolve('docs/elements/colours.md'),
},
{
name: 'Components',
Expand Down
10 changes: 9 additions & 1 deletion docs/components/Logo/Logo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,23 @@ import React from 'react'
import { version } from '../../../package.json'
import logo from './Logo.svg'

import Box from '../../../src/components/Box/Box'
import Text from '../../../src/components/Typography/Text/Text'
import ChevronLink from '../../../src/components/Link/ChevronLink/ChevronLink'

const Logo = () => (
<div>
<a href="#styleguidist-top" title="TELUS Design System">
<img src={logo} alt="TELUS Logo" />
</a>

<Text size="small">TDS v{version}</Text>
<Text size="small">v{version}</Text>

<Box horizontal={1} vertical={2}>
<ChevronLink href="//tds.telus.com" variant="secondary" direction="left">
TDS Guidelines
</ChevronLink>
</Box>
</div>
)

Expand Down
10 changes: 8 additions & 2 deletions docs/elements/colours.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
These are the brand-approved colours available as sass variables which can be consumed in your application styles by including the following statement: `@import '~@telusdigital/tds/dist/scss/colours';`.
## Colours

For more information on the usage of each colour please refer to the [colour principles and guidelines](//tds.telus.com/design/colour.html) section.
These are the brand-approved colours available as sass variables which can be consumed in your application styles by including the following statement:

```scss
@import '~@telusdigital/tds/dist/scss/colours';
```

For more information on the usage of each colour please refer to the [colour principles and guidelines](//tds.telus.com/design/colour.html).

```jsx noeditor
<div className="container colors">
Expand Down

0 comments on commit 307f3a7

Please sign in to comment.