Skip to content

Commit 0df44b5

Browse files
committed
Revert "Move assets to lib since they are now being inlined"
This reverts commit dfbedb4.
1 parent dfbedb4 commit 0df44b5

14 files changed

+185
-183
lines changed

packages/uui-css/lib/typography/lato.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@font-face {
1313
font-family: 'Lato';
1414
src: local('LatoLatin Black'), local('LatoLatin-Black'),
15-
url('fonts/lato/LatoLatin-Black.woff2') format('woff2');
15+
url('../../assets/fonts/lato/LatoLatin-Black.woff2') format('woff2');
1616
font-style: normal;
1717
font-display: swap;
1818
font-weight: 900;
@@ -23,7 +23,7 @@
2323
@font-face {
2424
font-family: 'Lato';
2525
src: local('LatoLatin BlackItalic'), local('LatoLatin-BlackItalic'),
26-
url('fonts/lato/LatoLatin-BlackItalic.woff2') format('woff2');
26+
url('../../assets/fonts/lato/LatoLatin-BlackItalic.woff2') format('woff2');
2727
font-style: italic;
2828
font-weight: 900;
2929
font-display: swap;
@@ -34,7 +34,7 @@
3434
@font-face {
3535
font-family: 'Lato';
3636
src: local('LatoLatin Bold'), local('LatoLatin-Bold'),
37-
url('fonts/lato/LatoLatin-Bold.woff2') format('woff2');
37+
url('../../assets/fonts/lato/LatoLatin-Bold.woff2') format('woff2');
3838
font-style: normal;
3939
font-weight: 700;
4040
font-display: swap;
@@ -45,7 +45,7 @@
4545
@font-face {
4646
font-family: 'Lato';
4747
src: local('LatoLatin BoldItalic'), local('LatoLatin-BoldItalic'),
48-
url('fonts/lato/LatoLatin-BoldItalic.woff2') format('woff2');
48+
url('../../assets/fonts/lato/LatoLatin-BoldItalic.woff2') format('woff2');
4949
font-style: italic;
5050
font-weight: 700;
5151
font-display: swap;
@@ -56,7 +56,7 @@
5656
@font-face {
5757
font-family: 'Lato';
5858
src: local('LatoLatin Italic'), local('LatoLatin-Italic'),
59-
url('fonts/lato/LatoLatin-Italic.woff2') format('woff2');
59+
url('../../assets/fonts/lato/LatoLatin-Italic.woff2') format('woff2');
6060
font-style: italic;
6161
font-weight: 400;
6262
font-display: swap;
@@ -67,7 +67,7 @@
6767
@font-face {
6868
font-family: 'Lato';
6969
src: local('LatoLatin Regular'), local('LatoLatin-Regular'),
70-
url('fonts/lato/LatoLatin-Regular.woff2') format('woff2');
70+
url('../../assets/fonts/lato/LatoLatin-Regular.woff2') format('woff2');
7171
font-style: normal;
7272
font-weight: 400;
7373
font-display: swap;
@@ -78,7 +78,7 @@
7878
@font-face {
7979
font-family: 'Lato';
8080
src: local('LatoLatin Light'), local('LatoLatin-Light'),
81-
url('fonts/lato/LatoLatin-Light.woff2') format('woff2');
81+
url('../../assets/fonts/lato/LatoLatin-Light.woff2') format('woff2');
8282
font-style: normal;
8383
font-weight: 300;
8484
font-display: swap;
@@ -89,7 +89,7 @@
8989
@font-face {
9090
font-family: 'Lato';
9191
src: local('LatoLatin LightItalic'), local('LatoLatin-LightItalic'),
92-
url('fonts/lato/LatoLatin-LightItalic.woff2') format('woff2');
92+
url('../../assets/fonts/lato/LatoLatin-LightItalic.woff2') format('woff2');
9393
font-style: italic;
9494
font-weight: 300;
9595
font-display: swap;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.uui-root {
2+
font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
3+
font-size: 15px;
4+
line-height: calc(var(--uui-size-2) * 4);
5+
-webkit-font-smoothing: antialiased;
6+
font-smoothing: antialiased;
7+
}

0 commit comments

Comments
 (0)