You can install Preons in one of several ways.
The fastest way to get started is by using unpkg.
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400;500;600;700&amp;family=Martel:wght@200;300;400;600;700;800;900&amp;family=Roboto+Mono:wght@100;300;400;500;700&amp;display=swap">
<link href="https://unpkg.com/preons/dist/reset.css" rel="stylesheet" type="text/css" />
<link href="https://unpkg.com/preons/dist/reset.css" rel="stylesheet" type="text/css" />
npm install preons
yarn add preons
You will need both the theme and the reset. Feel free to choose alternative resets for your project.
import '~preons/dist/reset';
import '~preons/dist/preons';
See the Webpack guide for more details
@import '~preons/dist/preons';
@import '~preons/dist/preons.css';
Include the font system if you haven't already.
https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400;500;600;700&family=Martel:wght@200;300;400;600;700;800;900&family=Roboto+Mono:wght@100;300;400;500;700&display=swap
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400;500;600;700&amp;family=Martel:wght@200;300;400;600;700;800;900&amp;family=Roboto+Mono:wght@100;300;400;500;700&amp;display=swap">
<style>
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400;500;600;700&amp;family=Martel:wght@200;300;400;600;700;800;900&amp;family=Roboto+Mono:wght@100;300;400;500;700&amp;display=swap');
</style>