Skip to content

Commit

Permalink
Switch to the company font
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche committed Nov 23, 2023
1 parent 8f047a9 commit 54fcf32
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 40 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
([#452](https://github.com/python-attrs/cattrs/pull/452))
- Imports are now sorted using Ruff.
- Tests are run with the pytest-xdist plugin by default.
- The docs now use the Inter font.

## 23.2.2 (2023-11-21)

Expand Down
44 changes: 5 additions & 39 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -1,45 +1,11 @@
/* roboto-regular - latin-ext_latin */
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 400;
src: local(""),
url("./fonts/roboto-v30-latin-ext_latin-regular.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("./fonts/roboto-v30-latin-ext_latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@import url('https://rsms.me/inter/inter.css');

/* roboto-italic - latin-ext_latin */
@font-face {
font-family: "Roboto";
font-style: italic;
font-weight: 400;
src: local(""),
url("./fonts/roboto-v30-latin-ext_latin-italic.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("./fonts/roboto-v30-latin-ext_latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
:root {
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}

/* roboto-700 - latin-ext_latin */
@font-face {
font-family: "Roboto";
font-style: normal;
font-weight: 700;
src: local(""),
url("./fonts/roboto-v30-latin-ext_latin-700.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("./fonts/roboto-v30-latin-ext_latin-700.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-700italic - latin-ext_latin */
@font-face {
font-family: "Roboto";
font-style: italic;
font-weight: 700;
src: local(""),
url("./fonts/roboto-v30-latin-ext_latin-700italic.woff2") format("woff2"),
/* Chrome 26+, Opera 23+, Firefox 39+ */
url("./fonts/roboto-v30-latin-ext_latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
@supports (font-variation-settings: normal) {
:root { font-family: InterVariable, sans-serif; }
}

/* ubuntu-mono-regular - latin */
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
html_theme = "furo"
html_theme_options = {
"light_css_variables": {
"font-stack": "Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",
"font-stack": "Inter,sans-serif",
"font-stack--monospace": "'Ubuntu Mono', monospace",
"code-font-size": "90%",
"color-highlight-on-target": "transparent",
Expand Down

0 comments on commit 54fcf32

Please sign in to comment.