Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.87 KB

README.md

File metadata and controls

71 lines (48 loc) · 1.87 KB

PostCSS French Style Sheets

travis npm

PostCSS plugin for writing French Style Sheets.

Take CSS to the next level and write your CSS « à la française » 🇫🇷 !

Installation

$ npm install postcss-french-stylesheets

Usage

// ES5
var frenchStyleSheets = require('postcss-french-stylesheets')

// ES6
import frenchStyleSheets from 'postcss-french-stylesheets'

See PostCSS#Usage for usage for your environment.

Example

Using this input.css:

.fou {
    hauteur: 300px;
    marges-du-bas: 10px;
    taille-de-la-police: 20px !prioritaire;
    couleur-du-fond: aiguemarine;
    couleur: blanc;
}

you will get:

.fou {
    height: 300px;
    margin-bottom: 10px;
    font-size: 20px !important;
    background-color: aquamarine;
    color: white;
}

Documentation

Contributing

postcss-french-stylesheets has only a subset of CSS and needs your help to add more French properties and values.

Changelog

See CHANGELOG.md.

License

postCSS French CSS is based on the [postCSS German CSS]https://github.com/timche/postcss-german-stylesheets) plugin. Danke to them for the base architecture !

See LICENSE.