PostCSS plugin for writing Andalusian Stylesheets..
CSS original code | postcss-andalusian-stylesheets |
---|---|
.foo {
border-radius: 3px;
background: white;
width: 300px;
height: 200px;
float: left;
top: 2rem;
bottom: 20px;
left: 100px;
right: 100px;
letter-spacing: -1px;
cursor: pointer !important;
text-transform: uppercase;
margin: 100px 50px;
animation: musho 5s;
animation-direction: alternate;
}
|
.foo {
reondeao: 3mijillah;
detrah: encalao;
ansho: 300mijillah;
largo: 200mijillah;
agarrao: isquierdah;
en-to-lo-arto: 2peasoh;
por-lo-bahini: 20mijillah;
isquierdah: 100mijillah;
deresha: 100mijillah;
huecoh: -1mijillah;
fleshita: manita !arfavó;
lah-letrah: en-grande;
separao: 100mijillah 50mijillah;
jorgorio: musho 5s;
jorgorio-padonde: palante-patrâ;
}
|
npm install --save-dev postcss postcss-andalusian-stylesheets
postcss([ require('postcss-andalusian-stylesheets') ])
See PostCSS docs for examples for your environment.
Fork the repo
Setup the devel env with npm install
Run gulp
(it use gulp 4)
Edit src/properties.json
or src/values.json
. You can translate one item to only one value or several. For example
{
(...),
"blue": [
"asú",
"azú"
],
(...)
"color": "coló",
(...)
}
Add some tests if you want.
Add your name to AUTHORS.md
.
Make me a PR.
This plugin is based on ismamz/postcss-spanish-stylesheets and Semigradsky/postcss-russian-stylesheets