Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Global Link Decoration Variable #3041

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ <h3>Links</h3>
<input type="text" class="span3" placeholder="#08c">
<label>@linkColorHover</label>
<input type="text" class="span3" placeholder="darken(@linkColor, 15%)">
<label>@linkDecor</label>
<input type="text" class="span3" placeholder="none">
<label>@linkDecorHover</label>
<input type="text" class="span3" placeholder="underline">

<h3>Colors</h3>
<label>@blue</label>
<input type="text" class="span3" placeholder="#049cdb">
Expand Down
5 changes: 5 additions & 0 deletions docs/templates/pages/download.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@
<input type="text" class="span3" placeholder="#08c">
<label>@linkColorHover</label>
<input type="text" class="span3" placeholder="darken(@linkColor, 15%)">
<label>@linkDecor</label>
<input type="text" class="span3" placeholder="none">
<label>@linkDecorHover</label>
<input type="text" class="span3" placeholder="underline">

<h3>{{_i}}Colors{{/i}}</h3>
<label>@blue</label>
<input type="text" class="span3" placeholder="#049cdb">
Expand Down
4 changes: 2 additions & 2 deletions less/scaffolding.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ body {

a {
color: @linkColor;
text-decoration: none;
text-decoration: @linkDecor;
}
a:hover {
color: @linkColorHover;
text-decoration: underline;
text-decoration: @linkDecorHover;
}
2 changes: 2 additions & 0 deletions less/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
// -------------------------
@linkColor: #08c;
@linkColorHover: darken(@linkColor, 15%);
@linkDecor: none;
@linkDecorHover: underline;


// Typography
Expand Down