-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(link): restyle to match spec (#1802)
* docs(link): remove `href` from "disabled" link * fix(link): restyle to match spec * refactor(link): create disabled class * feat(link): style placeholder links * fix(link): avoid using visited color token * feat(link): add helper class for visited links * refactor(link): rename disabled link class * docs(link): add long link example * fix(link): apply type styles to disable link helper class * fix(link): reduce outline width
- Loading branch information
Showing
2 changed files
with
29 additions
and
12 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1,9 +1,14 @@ | ||
<!-- | ||
<!-- | ||
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. | ||
--> | ||
|
||
<a href="#" class="{{@root.prefix}}--link">Link</a> | ||
<a href="#" class="{{@root.prefix}}--link" tabindex="-1" aria-disabled="true">Link</a> | ||
<a class="{{@root.prefix}}--link">Placeholder link</a> | ||
<p class="{{@root.prefix}}--link--disabled">Disabled Link</p> | ||
<br> | ||
<a href="#" class="{{@root.prefix}}--link">Lorem ipsum dolor sit amet consectetur adipisicing elit. Corrupti explicabo | ||
nobis consequatur quod qui quam laboriosam placeat repudiandae. Ducimus ea aut omnis asperiores mollitia | ||
necessitatibus architecto temporibus provident quo? Repellat!</a> |