aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/fonts.css.jinja2
blob: c48dfbf953d0ae533b45b0cdedc42cac139888da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) 2023 fontsource
 * Copyright (c) 2024 Kristóf Marussy
 *
 * SPDX-License-Identifier: MIT
 *
 * Unicode ranges in this file have been copied from
 * https://github.com/fontsource/font-files/blob/8f1eca463641648fc45ec8f3c7b7b195a8e6da9d/fonts/variable/recursive/full.css
 *
 * This file is automatically generated from `scripts/fonts.css.jinja2`
 * by `scripts/subset_fonts.py`.
 */

{% for name, unicodes in unicodes_map.items() %}
@font-face {
  font-family: 'Recursive Variable';
  font-style: oblique 0deg 15deg;
  font-display: swap;
  font-weight: 300 1000;
  src: url(@site/src/fonts/{{name }}) format('woff2-variations');
  unicode-range: {{ unicodes }};
}
{% endfor %}