npm beercss 3.0.0
v3.0.8

latest releases: 3.12.4, 3.12.3, 3.12.2...
2 years ago

CHANGELOG 3.0.8

  • BREAKING CHANGES Updated cdn install
  • BREAKING CHANGES Updated font size from 1px to 16px, this is the browser default, this will break only if you have custon css with rem units #84
  • Updated font to be self hosted Roboto Flex with GDPR compliance #108
  • Added small, medium, large helpers for h1..h6 elements #60
  • Added min, max helpers for tabs element #92
  • Added more options for imports
  • Added fonts.css
  • Added self hosting fonts, to be GDPR compliance #105
  • Added support for SSR apps #111
  • Added eslint
  • Added clickable list examples, in layouts section
  • Removed urls.css
// before
<script src="https://cdn.jsdelivr.net/npm/beercss@3.0.8/dist/cdn/beer.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/material-dynamic-colors@0.1.5/dist/cdn/material-dynamic-colors.min.js">

// after
<script type="module" src="https://cdn.jsdelivr.net/npm/beercss@3.0.8/dist/cdn/beer.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/material-dynamic-colors@0.1.5/dist/cdn/material-dynamic-colors.min.js">
// If you have custom css with rem units

// before
1rem

// after, you need to divide rem unit by 16
0.0625rem
// If you have a custom --size variable 

// before
1px

// after, you need to multiply px unit by 16
16px

aLVLbfpFP5

wCS5jOG6Lq

image

Don't miss a new beercss release

NewReleases is sending notifications on new releases.