Skip to content

v2.0.0-beta.174

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Sep 13:28
· 610 commits to beta since this release

New Features

CSS
  • Fonts API, resolved #275 824d0ed @1aron

    - import { rules } from '@master/css'
    + import { fonts } from '@master/css'
    
    /** @type {import('@master/css').Config} */
    export default {
    -    rules: {
    -        fontFamily: {
    -            values: {
    -                sans: 'Inter,' + rules.fontFamily.values.sans,
    -                mono: 'Roboto Mono,' + rules.fontFamily.values.mono
    -            }
    -        }
    -    }
    +    fonts: {
    +        sans: ['Inter', ...fonts.sans],
    +        mono: ['Fira Code', ...fonts.mono]
    +    }
    }

Bug Fixes

CSS

Documentation