Skip to content

Commit e2fc20c

Browse files
committed
Styling tweaks
1 parent 37c3f71 commit e2fc20c

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

demo/src/sass/lib/fontface.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
font-family: 'Gordita';
88
font-style: normal;
99
font-weight: $font-weight-light;
10-
src: url('https://cdn.plyr.io/static/fonts/gordita-light.woff2') format('woff2'), url('https://cdn.plyr.io/static/fonts/gordita-light.woff') format('woff');
10+
src: url('https://cdn.plyr.io/static/fonts/gordita-light.woff2') format('woff2'),
11+
url('https://cdn.plyr.io/static/fonts/gordita-light.woff') format('woff');
1112
}
1213

1314
@font-face {
@@ -33,13 +34,15 @@
3334
font-family: 'Gordita';
3435
font-style: normal;
3536
font-weight: $font-weight-bold;
36-
src: url('https://cdn.plyr.io/static/fonts/gordita-bold.woff2') format('woff2'), url('https://cdn.plyr.io/static/fonts/gordita-bold.woff') format('woff');
37+
src: url('https://cdn.plyr.io/static/fonts/gordita-bold.woff2') format('woff2'),
38+
url('https://cdn.plyr.io/static/fonts/gordita-bold.woff') format('woff');
3739
}
3840

3941
@font-face {
4042
font-display: swap;
4143
font-family: 'Gordita';
4244
font-style: normal;
4345
font-weight: $font-weight-black;
44-
src: url('https://cdn.plyr.io/static/fonts/gordita-black.woff2') format('woff2'), url('https://cdn.plyr.io/static/fonts/gordita-black.woff') format('woff');
46+
src: url('https://cdn.plyr.io/static/fonts/gordita-black.woff2') format('woff2'),
47+
url('https://cdn.plyr.io/static/fonts/gordita-black.woff') format('woff');
4548
}

demo/src/sass/settings/plyr.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ $plyr-font-size-small: 12px;
1111
$plyr-font-size-time: 11px;
1212
$plyr-font-size-badges: 9px;
1313

14+
// Other
15+
$plyr-font-smoothing: true;
16+
1417
// Captions
1518
$plyr-font-size-captions-base: $plyr-font-size-base;
1619
$plyr-font-size-captions-small: $plyr-font-size-small;

src/sass/settings/sliders.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $plyr-range-thumb-border: 2px solid transparent !default;
1212
$plyr-range-thumb-shadow: 0 1px 1px rgba(#000, 0.15), 0 0 0 1px rgba($plyr-color-gunmetal, 0.2) !default;
1313

1414
// Track
15-
$plyr-range-track-height: 6px !default;
15+
$plyr-range-track-height: 4px !default;
1616
$plyr-range-max-height: ($plyr-range-thumb-active-shadow-width * 2) + $plyr-range-thumb-height !default;
1717

1818
// Fill

src/sass/settings/type.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ $plyr-font-weight-bold: 600 !default;
1717

1818
$plyr-line-height: 1.7 !default;
1919

20-
$plyr-font-smoothing: true !default;
20+
$plyr-font-smoothing: false !default;

0 commit comments

Comments
 (0)