Skip to content

Commit fb36497

Browse files
authored
fix: atoms fonts for non next apps (calcom#22886)
* fix: atoms fonts for non next apps * chore: add changeset
1 parent a2205d4 commit fb36497

11 files changed

Lines changed: 15 additions & 9 deletions

.changeset/tough-mugs-design.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@calcom/atoms": minor
3+
---
4+
5+
bundle fonts to fix atoms in non-next apps
18.4 KB
Binary file not shown.
25.3 KB
Binary file not shown.
18.6 KB
Binary file not shown.
72.6 KB
Binary file not shown.
40 KB
Binary file not shown.
11 KB
Binary file not shown.
47.4 KB
Binary file not shown.
10 KB
Binary file not shown.

packages/platform/atoms/globals.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
font-style: normal;
88
font-weight: 100 900;
99
font-display: swap;
10-
src: url(/_next/static/media/55c55f0601d81cf3-s.woff2) format('woff2');
10+
src: url(./fonts/55c55f0601d81cf3-s.woff2) format('woff2');
1111
unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
1212
}
1313

@@ -17,7 +17,7 @@
1717
font-style: normal;
1818
font-weight: 100 900;
1919
font-display: swap;
20-
src: url(/_next/static/media/26a46d62cd723877-s.woff2) format('woff2');
20+
src: url(./fonts/26a46d62cd723877-s.woff2) format('woff2');
2121
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
2222
}
2323

@@ -27,7 +27,7 @@
2727
font-style: normal;
2828
font-weight: 100 900;
2929
font-display: swap;
30-
src: url(/_next/static/media/97e0cb1ae144a2a9-s.woff2) format('woff2');
30+
src: url(./fonts/97e0cb1ae144a2a9-s.woff2) format('woff2');
3131
unicode-range: U+1F00-1FFF;
3232
}
3333

@@ -37,7 +37,7 @@
3737
font-style: normal;
3838
font-weight: 100 900;
3939
font-display: swap;
40-
src: url(/_next/static/media/581909926a08bbc8-s.woff2) format('woff2');
40+
src: url(./fonts/581909926a08bbc8-s.woff2) format('woff2');
4141
unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
4242
}
4343

@@ -47,7 +47,7 @@
4747
font-style: normal;
4848
font-weight: 100 900;
4949
font-display: swap;
50-
src: url(/_next/static/media/df0a9ae256c0569c-s.woff2) format('woff2');
50+
src: url(./fonts/df0a9ae256c0569c-s.woff2) format('woff2');
5151
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
5252
}
5353

@@ -57,7 +57,7 @@
5757
font-style: normal;
5858
font-weight: 100 900;
5959
font-display: swap;
60-
src: url(/_next/static/media/6d93bde91c0c2823-s.woff2) format('woff2');
60+
src: url(./fonts/6d93bde91c0c2823-s.woff2) format('woff2');
6161
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
6262
}
6363

@@ -67,7 +67,7 @@
6767
font-style: normal;
6868
font-weight: 100 900;
6969
font-display: swap;
70-
src: url(/_next/static/media/a34f9d1faa5f3315-s.p.woff2) format('woff2');
70+
src: url(./fonts/a34f9d1faa5f3315-s.p.woff2) format('woff2');
7171
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
7272
}
7373

@@ -94,7 +94,7 @@
9494
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
9595
@font-face {
9696
font-family: '__calFont_a90182';
97-
src: url(/_next/static/media/90475aac776488b6-s.p.woff2) format('woff2');
97+
src: url(./fonts/90475aac776488b6-s.p.woff2) format('woff2');
9898
font-display: block;
9999
font-weight: 600;
100100
}

0 commit comments

Comments
 (0)