Releases: MarsBased/marscss
rework placeholders
Placeholders have been modified.
You can now add them from any place with @include placeholder() accepts any number of arrays as string or as a map, if string uses the same name both for the placeholder as for the call to the function.
Now it does not allow creating placeholders once we have added the include marscss.
@include help
Now it gives detailed information about the placeholders that we have assets.
Big changes in @include marscss
Now only generates the placeholders, the arguments have been eliminated and it does not allow to be called more than once.
The documentation has been structured a bit but there is a lot of work here
extends() -> placeholders()
- The name has been changed from extend and extends to simply placeholders (), it was confusing
- The organization of the documentation has been adjusted.
- New elements have been added to the API
- Has been modified include grid now refers to bootstrap-grids
extends()
Now all the extends are generated as a self-documenting builder, an example has been added to add a new extend.
The following functions have been created and documented:
columns()make-col-ready()make-row()make-container()ratio()
placeholder %grid-column has been replaced by %column
The following aliases have been added:
@debug help()->@include help()@debug map-debug()->@include debug()
Fixed some bugs that could appear in old versions of webpack.
Fix bugs
npm package
relocated marscss npm package.
SVGPACK
metaMars
- Alerts have been refactored and simplified.
- Added
map-stringify()of sass-maps-plus, it return a pretty-printed string representation of a map. - Added
map-debug()that allows to see the content of the maps without the metas using map-stringify. meta-clean()andmeta-only()functions have been added to work with the metas.- Old files have been deleted.
MetaHelp !
v0.6.1: V0.6.1 (#104)
- Added
!defaultto all variables of _default-variables.scss
stylish
-
Refactorized
style()now it is able to directly process properties. -
Rules have been replaced by Block, now it is not necessary to extend them from
thiswith what they represent a set of properties -
reset()the properties that worked with inherit in the global selector*have been removed and they have been passed to the corresponding selectors, these properties were inherited in the DOM and they made it very annoying when consulting the chrome inspector -
The following variables have been replaced
$class-resetfor$reset-selector$class-reset-allfor$reset-all-selector
-
The API has been refactored now it is easier to add new elements
-
The selectors have been added to the API and the name of the names to selectors file has been replaced.
-
Added
@include tests()to verify that the structure returned is what is expected in the different types, this uses the api yml files, at the moment properties, blocks, values and builders are checked.