Skip to content

Commit 4221a7e

Browse files
Fix use segoe ui in website (#9586)
fix #7727 Seems like we have to include those fonts
1 parent b48efe2 commit 4221a7e

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

packages/astro-utils/src/css/fluentui.css

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,68 @@ html {
111111
-webkit-font-smoothing: antialiased;
112112
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
113113
}
114+
115+
@font-face {
116+
font-family: "Segoe UI";
117+
src:
118+
local("Segoe UI Light"),
119+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff2)
120+
format("woff2"),
121+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff)
122+
format("woff"),
123+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf)
124+
format("truetype");
125+
font-weight: 100;
126+
}
127+
128+
@font-face {
129+
font-family: "Segoe UI";
130+
src:
131+
local("Segoe UI Semilight"),
132+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.woff2)
133+
format("woff2"),
134+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.woff)
135+
format("woff"),
136+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.ttf)
137+
format("truetype");
138+
font-weight: 200;
139+
}
140+
141+
@font-face {
142+
font-family: "Segoe UI";
143+
src:
144+
local("Segoe UI"),
145+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2)
146+
format("woff2"),
147+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff)
148+
format("woff"),
149+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf)
150+
format("truetype");
151+
font-weight: 400;
152+
}
153+
154+
@font-face {
155+
font-family: "Segoe UI";
156+
src:
157+
local("Segoe UI Semibold"),
158+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.woff2)
159+
format("woff2"),
160+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.woff)
161+
format("woff"),
162+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.ttf)
163+
format("truetype");
164+
font-weight: 600;
165+
}
166+
167+
@font-face {
168+
font-family: "Segoe UI";
169+
src:
170+
local("Segoe UI Bold"),
171+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.woff2)
172+
format("woff2"),
173+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.woff)
174+
format("woff"),
175+
url(https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.ttf)
176+
format("truetype");
177+
font-weight: 700;
178+
}

0 commit comments

Comments
 (0)