clients/libs/components/src/theme.css
Bryan Cunningham 045992b426
[PM-36823] ensure browser uses Inter font (#20864)
* ensure browser uses Inter font

* move override from theme

* match existing import patterns

* update imports

* apply fix to correct tsconfig
2026-05-27 16:31:30 -04:00

28 lines
827 B
CSS

/**
* This file contains CSS variables that can be used across frontend systems.
* This allows us to share styling between Angular, content scripts and more.
*/
/**
* Font faces
*/
@font-face {
font-family: Inter;
src:
url("~@bitwarden/components/src/webfonts/inter.woff2") format("woff2") tech(variations),
url("~@bitwarden/components/src/webfonts/inter.woff2") format("woff2-variations");
font-display: swap;
font-weight: 100 900;
}
/**
* CSS variables
*/
:root {
--font-sans:
Inter, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji";
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
--font-mono: Menlo, SFMono-Regular, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}