summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2016-08-22 17:25:00 (GMT)
committerTobias Markmann <tm@ayena.de>2016-08-22 17:25:00 (GMT)
commitec40ba1c1ff258bfe24bc5e7b024cf2e6eaed810 (patch)
treea112793d3d777a7a1b0f38d7b8e18f12d04a7f0d /Swift/resources/themes
parent15d1f20836d4246f3d5a4eafbeb5095d4c4ba7bc (diff)
downloadswift-ec40ba1c1ff258bfe24bc5e7b024cf2e6eaed810.zip
swift-ec40ba1c1ff258bfe24bc5e7b024cf2e6eaed810.tar.bz2
Set correct font family and font weight in lato.css
All fonts belong to the same font family, i.e. Late. Set the correct font weights obtained from the download page of the font website. Test-Information: Verified in Web Inspector that all fonts are loaded. Previously only two fonts were loaded. Change-Id: Ifa0a01058d80c1ddf3c500a28bd3e50823eb4246
Diffstat (limited to 'Swift/resources/themes')
-rw-r--r--Swift/resources/themes/Default/lato.css113
1 files changed, 56 insertions, 57 deletions
diff --git a/Swift/resources/themes/Default/lato.css b/Swift/resources/themes/Default/lato.css
index e081767..c8bc47a 100644
--- a/Swift/resources/themes/Default/lato.css
+++ b/Swift/resources/themes/Default/lato.css
@@ -1,64 +1,56 @@
@font-face {
- font-family: 'LatoBlack';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-Black.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-Hairline.ttf') format('truetype');
font-style: normal;
- font-weight: normal;
+ font-weight: 100;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoBlack';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-BlackItalic.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-HairlineItalic.ttf') format('truetype');
font-style: italic;
- font-weight: normal;
+ font-weight: 100;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoBold';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-Bold.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-Thin.ttf') format('truetype');
font-style: normal;
- font-weight: normal;
+ font-weight: 200;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoBold';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-BoldItalic.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-ThinItalic.ttf') format('truetype');
font-style: italic;
- font-weight: normal;
+ font-weight: 200;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoHairline';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-Hairline.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-Light.ttf') format('truetype');
font-style: normal;
- font-weight: normal;
+ font-weight: 300;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoHairline';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-HairlineItalic.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-LightItalic.ttf') format('truetype');
font-style: italic;
- font-weight: normal;
+ font-weight: 300;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoHeavy';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-Heavy.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-Regular.ttf') format('truetype');
font-style: normal;
- font-weight: normal;
- text-rendering: optimizeLegibility;
-}
-
-@font-face {
- font-family: 'LatoHeavy';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-HeavyItalic.ttf') format('truetype');
- font-style: italic;
- font-weight: normal;
+ font-weight: 400;
text-rendering: optimizeLegibility;
}
@@ -66,79 +58,86 @@
font-family: 'Lato';
src: url('qrc:///themes/Default/Lato2OFL/Lato-Italic.ttf') format('truetype');
font-style: italic;
- font-weight: normal;
+ font-weight: 400;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoLight';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-Light.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-Medium.ttf') format('truetype');
font-style: normal;
- font-weight: normal;
+ font-weight: 500;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoLight';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-LightItalic.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-MediumItalic.ttf') format('truetype');
font-style: italic;
- font-weight: normal;
+ font-weight: 500;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoMedium';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-Medium.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-Semibold.ttf') format('truetype');
font-style: normal;
- font-weight: normal;
+ font-weight: 600;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoMedium';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-MediumItalic.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-SemiboldItalic.ttf') format('truetype');
font-style: italic;
- font-weight: normal;
+ font-weight: 600;
text-rendering: optimizeLegibility;
}
@font-face {
font-family: 'Lato';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-Regular.ttf') format('truetype');
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-Bold.ttf') format('truetype');
font-style: normal;
- font-weight: normal;
+ font-weight: 700;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoSemibold';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-Semibold.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-BoldItalic.ttf') format('truetype');
+ font-style: italic;
+ font-weight: 700;
+ text-rendering: optimizeLegibility;
+}
+
+@font-face {
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-Heavy.ttf') format('truetype');
font-style: normal;
- font-weight: normal;
+ font-weight: 800;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoSemibold';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-SemiboldItalic.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-HeavyItalic.ttf') format('truetype');
font-style: italic;
- font-weight: normal;
+ font-weight: 800;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoThin';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-Thin.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-Black.ttf') format('truetype');
font-style: normal;
- font-weight: normal;
+ font-weight: 900;
text-rendering: optimizeLegibility;
}
@font-face {
- font-family: 'LatoThin';
- src: url('qrc:///themes/Default/Lato2OFL/Lato-ThinItalic.ttf') format('truetype');
+ font-family: 'Lato';
+ src: url('qrc:///themes/Default/Lato2OFL/Lato-BlackItalic.ttf') format('truetype');
font-style: italic;
- font-weight: normal;
+ font-weight: 900;
text-rendering: optimizeLegibility;
}
-