Skip to content

Commit e09d994

Browse files
authored
Merge pull request #33 from sanctuarycomputer/feature/negative-margin-classes
Adds negative margin classes
2 parents 212418e + c9c0361 commit e09d994

6 files changed

Lines changed: 406 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Overwriting these settings is encouraged! To do so, define them in a `.scss` fil
9797
| `$grid-columns` | Amount of columns in the grid. | `12` |
9898
| `$colors` | Color map use for `color-<color>`, `bg-color-<color>`, and `border-color-<color>` classes. | `('black': #000, 'white': #FFF, 'blue': #0A3862);` |
9999
| `$breakpoints` | Media query breakpoints. | `('sm': 640px, 'md': 832px, 'lg': 1024px, 'xl': 1152px)` |
100-
| `$spacing-units` | Spacing units defined here will be available in spacing and padding utility classes at each breakpoint. For example, `.p_25` will set `padding: .25rem;` on the selected element. If you update the list of `$spacing_units` to include `3.125rem`, then `.sm:mt3_125` will affect the top margin of your element only at small screen sizes. | `0rem, .25rem, .5rem, .75rem, 1rem, 2rem, 3rem, 4rem, 6rem, 8rem;` |
100+
| `$spacing-units` | Spacing units defined here will be available in spacing and padding utility classes at each breakpoint. For example, `.p_25` will set `padding: .25rem;` on the selected element. If you update the list of `$spacing_units` to include `3.125rem`, then `.sm:mt3_125` will affect the top margin of your element only at small screen sizes. Negative margin classes are automatically generated and prefixed with `n`, so `.mn1` will set `margin: -1rem`. | `0rem, .25rem, .5rem, .75rem, 1rem, 2rem, 3rem, 4rem, 6rem, 8rem;` |
101101
| `$aspect-ratios` | Ratios for `.aspect-<ratio>` utility class. | `('square': (1, 1), 'landscape': (16, 9), 'portrait': (2, 3));`|
102102
| `$dynamic_spacing` | Whether or not each margin and padding class is generated for each breakpoint. | `true` |
103103
| `$decimal_deliminator` | The deliminator used to replace a `.` | `'_'` |

0 commit comments

Comments
 (0)