-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating link styles for active and focus state (#1622)
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
packages/design-system/src/components/Links/Links.stories.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* eslint-disable jsx-a11y/anchor-is-valid */ | ||
/* eslint-disable react/no-multi-comp */ | ||
import React from 'react'; | ||
|
||
export default { | ||
title: 'Typography/Links', | ||
parameters: { | ||
docs: { | ||
source: { | ||
type: 'dynamic', | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
export const Links = () => ( | ||
<> | ||
<a href="#" className="ds-c-link ds-u-font-size--lg"> | ||
Link Text | ||
</a> | ||
<div className="ds-u-padding--1 ds-base--inverse"> | ||
<a href="#" className="ds-u-font-size--lg ds-c-link ds-c-link--inverse"> | ||
Link Text | ||
</a> | ||
</div> | ||
</> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters