Skip to content

Commit

Permalink
[less] Use @ts-fontsize-* variables everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Spitzer committed Oct 12, 2018
1 parent 6b096a8 commit 720416b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/src/xhtml/components/icons/list.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
&.icons-size-app {
i {
font-size: 36px; // App Icon Size
font-size: @ts-fontsize-xxbig; // App Icon Size
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/xhtml/design/assets/css/design.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ article {
text-align: left;
font-weight: 300;
font-style: italic;
font-size: 12px;
font-size: @ts-fontsize-mini;
padding: @ts-unit;
padding-top: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/xhtml/design/copy/assets/copy.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ figure {
&:before {
display: block;
text-transform: uppercase;
font-size: 11px;
font-size: @ts-fontsize-small;
font-weight: 400;
padding: @ts-unit-quarter @ts-unit-half @ts-unit-quarter @ts-unit;
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/less/ts-cards.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
.ts-companycard-name {
margin: 0;
font-size: 16px;
font-size: @ts-fontsize-medium;
font-weight: @ts-fontweight-semibold;
max-height: @ts-unit-double;
overflow: hidden;
Expand Down Expand Up @@ -145,7 +145,7 @@
}
.ts-usercard-name {
margin-top: 0;
font-size: 16px;
font-size: @ts-fontsize-medium;
font-weight: @ts-fontweight-semibold;
max-height: @ts-unit-double;
overflow: hidden;
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/less/ts-elements.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ code,
kbd,
var {
font-family: @ts-fontstack-mono;
font-size: 16px;
font-size: @ts-fontsize-medium;
}
a {
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/less/ts-main.less
Original file line number Diff line number Diff line change
Expand Up @@ -213,5 +213,5 @@ body > .ts-panel {
z-index: @ts-zindex-spin;
width: 100%;
text-align: center;
font-size: 16px;
font-size: @ts-fontsize-medium;
}
2 changes: 1 addition & 1 deletion src/runtime/less/ts-pagers.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
content: '';
position: absolute;
font-weight: @ts-fontweight;
font-size: 12px;
font-size: @ts-fontsize-mini;
}
&.ts-less span:before {
margin-left: -13px;
Expand Down

0 comments on commit 720416b

Please sign in to comment.