1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-08-18 03:31:16 +02:00

Universal padding for grid

Added universal padding to grid, cleaned up the rest of the things that were important in the module. It seems like it's complete.
This commit is contained in:
Angelos Chalaris
2017-10-25 17:09:09 +03:00
parent 6beae7c167
commit 4df032fe80
7 changed files with 393 additions and 16 deletions

View File

@@ -73,3 +73,7 @@
- Improved the `grid` module by creating a simple `@mixin` to generate each grid step. Complexity is significantly lower now.
- Properly configured the `grid` module for defaults, without anything stored in CSS variables it now weighs a nice `750bytes`. This will probably grow ever so slightly as soon as I get to add CSS variables.
- Started using variables in `grid`, namely `--universal-padding`. Size increased only by `26bytes`.
- Made `$_include-parent-layout` a hidden variable in `grid`.
- Added scaffolding code in `grid` module, just in case someone decides to use it without any other modules.
- Oddly enough, a flavor file with the default values and clean code is `1.82KB` gzipped, compared to `1.83KB` gzipped in **Fermion**, which means the variables and changes didn't really mess up size so far. Some changes need to be made and some things added, so it's quite probable that this will not be the final number, but still I am very happy about the results so far.

File diff suppressed because one or more lines are too long