UNPKG

@utrecht/components

Version:

Components for the Municipality of Utrecht based on the NL Design System architecture

30 lines (29 loc) 1.03 kB
/** * @license EUPL-1.2 * Copyright (c) 2021 Robbert Broersma */ /** * @license EUPL-1.2 * Copyright (c) 2021 Robbert Broersma */ .utrecht-document { /* reset `font-smoothing: antialiasing`, prefer automatic (`subpixel-antialiasing`) behavior for high-dpi screens */ -webkit-font-smoothing: auto !important; -moz-osx-font-smoothing: auto !important; color: var(--utrecht-document-color, inherit); font-family: var(--utrecht-document-font-family, inherit); font-size: var(--utrecht-document-font-size, inherit); font-weight: var(--utrecht-document-font-weight, inherit); line-height: var(--utrecht-document-line-height, inherit); text-rendering: optimizeLegibility; -moz-text-size-adjust: none; -webkit-text-size-adjust: none; text-size-adjust: none; } .utrecht-document :lang(ar) { /* `letter-spacing` design tokens break Arabic text rendering, avoid that */ letter-spacing: 0 !important; } .utrecht-document--surface { background-color: var(--utrecht-document-background-color, inherit); }