Currently, `react` package use `*` selector to enforce the font family to all elements. That is weird as all elements are not able anymore to inherit their font-family from their parent. In order to enforce the use of font-family base by default without breaking the parent inheritance, we apply font-family to the body element instead. Fix #137
23 lines
712 B
SCSS
23 lines
712 B
SCSS
@import "cunningham-tokens";
|
|
@import '@openfun/cunningham-tokens/default-tokens';
|
|
@import './utils';
|
|
@import './components/Accessibility';
|
|
@import './components/Button';
|
|
@import './components/DataGrid';
|
|
@import './components/Forms/Checkbox';
|
|
@import './components/Forms/Field';
|
|
@import './components/Forms/FileUploader';
|
|
@import './components/Forms/Radio';
|
|
@import './components/Forms/Input';
|
|
@import './components/Forms/LabelledBox';
|
|
@import './components/Forms/Select';
|
|
@import './components/Forms/Switch';
|
|
@import './components/Forms/DatePicker';
|
|
@import './components/Loader';
|
|
@import './components/Pagination';
|
|
@import './components/Popover';
|
|
|
|
body {
|
|
font-family: var(--c--theme--font--families--base);
|
|
}
|