Skip to content

Commit

Permalink
chore: interpolate font and spacing related variables
Browse files Browse the repository at this point in the history
  • Loading branch information
inikolova authored and epetrow committed Apr 19, 2024
1 parent c264b27 commit ef88ed8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/bootstrap/scss/dataviz/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ $kendo-chart-line-height: var( --kendo-line-height, normal )!default;
$kendo-chart-sm-font-size: 11px !default;
$kendo-chart-md-font-size: 12px !default;
$kendo-chart-lg-font-size: 16px !default;
$kendo-chart-tooltip-font-size: calc( var( --kendo-font-size, inherit ) * .929) !default;
$kendo-chart-tooltip-font-size: calc( #{$kendo-font-size} * .929) !default;
$kendo-chart-label-font-size: .857em !default;
$kendo-chart-title-font-size: 1.143em !default;
$kendo-chart-pane-title-font-size: $kendo-chart-label-font-size !default;
Expand Down
2 changes: 1 addition & 1 deletion packages/classic/scss/dataviz/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ $kendo-chart-line-height: var( --kendo-line-height, normal ) !default;
$kendo-chart-sm-font-size: 11px !default;
$kendo-chart-md-font-size: 12px !default;
$kendo-chart-lg-font-size: 16px !default;
$kendo-chart-tooltip-font-size: calc( var( --kendo-font-size, inherit ) * .929) !default;
$kendo-chart-tooltip-font-size: calc( #{$kendo-font-size} * .929) !default;
$kendo-chart-label-font-size: .857em !default;
$kendo-chart-title-font-size: 1.143em !default;
$kendo-chart-pane-title-font-size: $kendo-chart-label-font-size !default;
Expand Down
2 changes: 1 addition & 1 deletion packages/default/scss/dataviz/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ $kendo-chart-line-height: var( --kendo-line-height, normal ) !default;
$kendo-chart-sm-font-size: 11px !default;
$kendo-chart-md-font-size: 12px !default;
$kendo-chart-lg-font-size: 16px !default;
$kendo-chart-tooltip-font-size: calc( var( --kendo-font-size, inherit ) * .929) !default;
$kendo-chart-tooltip-font-size: calc( #{$kendo-font-size} * .929) !default;
$kendo-chart-label-font-size: .857em !default;
$kendo-chart-title-font-size: 1.143em !default;
$kendo-chart-pane-title-font-size: $kendo-chart-label-font-size !default;
Expand Down
4 changes: 2 additions & 2 deletions packages/default/scss/scrollview/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@

&::before {
content: "";
width: ($kendo-scrollview-pagebutton-size + $kendo-scrollview-pager-item-spacing);
height: ($kendo-scrollview-pagebutton-size + $kendo-scrollview-pager-item-spacing);
width: calc( #{$kendo-scrollview-pagebutton-size} + #{$kendo-scrollview-pager-item-spacing} );
height: calc( #{$kendo-scrollview-pagebutton-size} + #{$kendo-scrollview-pager-item-spacing} );
display: block;
position: absolute;
top: 50%;
Expand Down
2 changes: 1 addition & 1 deletion packages/material/scss/dataviz/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ $kendo-chart-line-height: var( --kendo-line-height, normal ) !default;
$kendo-chart-sm-font-size: 11px !default;
$kendo-chart-md-font-size: 12px !default;
$kendo-chart-lg-font-size: 16px !default;
$kendo-chart-tooltip-font-size: calc( var( --kendo-font-size, inherit ) * .929 ) !default;
$kendo-chart-tooltip-font-size: calc( #{$kendo-font-size} * .929) !default;
$kendo-chart-label-font-size: .857em !default;
$kendo-chart-title-font-size: 1.143em !default;
$kendo-chart-pane-title-font-size: $kendo-chart-label-font-size !default;
Expand Down

0 comments on commit ef88ed8

Please sign in to comment.