From 708fb33da9a00f8545690987de3ab70671b13d29 Mon Sep 17 00:00:00 2001 From: Ola Helland-Pedersen <52152379+ohp-inmeta@users.noreply.github.com> Date: Wed, 5 Feb 2025 19:15:40 +0100 Subject: [PATCH] Add font disclaimers and -info (#217) * Add font disclaimers and -info * Update readmes with font license info * forgot to update one disclaimer * jeez, typo.. * Aurora hates colons, apparently :D --- README.md | 10 ++++++++++ packages/css/README.md | 14 ++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/README.md b/README.md index 92cdc3c9..56bd4899 100644 --- a/README.md +++ b/README.md @@ -144,3 +144,13 @@ export interface MdAutocompleteProps extends React.InputHTMLAttributes All fonts included in this repository are provided solely for use as part of the Norwegian Environment agencys projects and its associated systems. +> +> It is strictly prohibited to redistribute, or reuse these fonts outside the scope of the Norwegian Environment agencys projects without obtaining proper authorization or licenses from their respective owners. +> +> Our organization does not hold the rights to these fonts and cannot be held liable for any unauthorized use, distribution, or legal consequences arising from such actions. +> +> Please refer to the applicable font licenses for detailed terms of use. diff --git a/packages/css/README.md b/packages/css/README.md index d40b5931..d6aaa134 100644 --- a/packages/css/README.md +++ b/packages/css/README.md @@ -21,4 +21,18 @@ const MyComponent = () => { **For HTML structure for each component, see the README.md for each css-file, located in /src, or the `Docs`-section in the [Storybook](https://miljodir.github.io/md-components/) for each component. This must be followed if stylesheets are used as standalone, without React components.** +## Fonts + +This package uses the fonts "Sofia Pro" and "Open Sans", and assumes that you use, or have access to, these fonts in your project. The font "Sofia Pro"can be downloaded from [here](https://github.com/miljodir/md-components/tree/main/assets/webfonts). "Open Sans" is accessible through [Google Fonts](https://fonts.google.com/specimen/Open+Sans). + +## DISCLAIMER + +> All fonts included in this repository are provided solely for use as part of the Norwegian Environment agencys projects and its associated systems. +> +> It is strictly prohibited to redistribute, or reuse these fonts outside the scope of the Norwegian Environment agencys projects without obtaining proper authorization or licenses from their respective owners. +> +> Our organization does not hold the rights to these fonts and cannot be held liable for any unauthorized use, distribution, or legal consequences arising from such actions. +> +> Please refer to the applicable font licenses for detailed terms of use. + _For React components, see [@miljodirektoratet/md-react](https://www.npmjs.com/package/@miljodirektoratet/md-react)_