Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
* switch to always using a space in object curly braces
* consistently use strict mode
* move a constant outside of the constructor
* use Object spread instead of Object.assign
* use a ternary in more places
* remove redundant parentheses
* enable `prefer-template` rule so that we are consistent
* return early in a few cases
|
|
|
|
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
|
|
* Build(deps-dev): Bump xo from 0.38.2 to 0.39.1
Bumps [xo](https://github.com/xojs/xo) from 0.38.2 to 0.39.1.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](https://github.com/xojs/xo/compare/v0.38.2...v0.39.1)
Signed-off-by: dependabot[bot] <support@github.com>
* Update rfs.js
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
|
|
* Bump xo from 0.28.3 to 0.29.1
Bumps [xo](https://github.com/xojs/xo) from 0.28.3 to 0.29.1.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](https://github.com/xojs/xo/compare/v0.28.3...v0.29.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Fix the new lint errors
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
|
|
|
|
|
|
The current comment just repeats what the code does and is not useful. My think, it will be better to specify the intent as suggested.
|
|
- Support for all properties
- Shorthand mixins for margins and paddings
- Support for custom properties
- Clearer way to declare `!important` rules: `@include rfs(1rem !important)` instead of `@include rfs(1rem, true)`
- Switched to mobile first approach, still possible to switch to the `max-width` media queries if needed
- Configuration variables are changed:
- Base font size -> Base value
- Font size unit -> Unit
- `responsive-font-size` property changed to `rfs()` function (see https://github.com/twbs/rfs/issues/116)
- Dropped `responsive-font-size` mixins
- Dropped Less 2 support since we had to work with lists
- Prevent generation of `/test/expected/main.css`
- Additional tests for new implementations
- Cleanup npm scripts examples
- Code examples in `README.md` are grouped by processor and collapsed
|