Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jpachecox/setup-gulp/llms.txt
Use this file to discover all available pages before exploring further.
_mixins.scss is the core utility library for Setup Gulp. Every mixin handles vendor-prefixing and cross-browser quirks internally, so call-sites stay clean. The file depends on _functions.scss (loaded at the top via @use './functions') for color conversion and string helpers used by a handful of mixins.
Typography
font
null is omitted from the output so you never get spurious property declarations. Covers every typographic axis in one call.
| Parameter | Default | CSS property |
|---|---|---|
$family | null | font-family |
$size | null | font-size |
$weight | null | font-weight |
$style | null | font-style |
$stretch | null | font-stretch |
$color | null | color |
$lheight | null | line-height |
$lspacing | null | letter-spacing |
font-face
@font-face block that covers every major web font format. The $exts list controls which src entries are emitted.
opacity
opacity with an Internet Explorer 8 filter: alpha(opacity=…) fallback.
heading
h1–h6 selectors with decreasing font sizes. Each heading level steps down by 0.2 from the previous, starting from $size.
Flexbox
Every flexbox mixin emits the legacy-webkit- prefix alongside the unprefixed property so older WebKit browsers are covered without extra effort.
| Mixin | Default | Notes |
|---|---|---|
@include flexbox | — | display: flex with webkit prefix |
@include inline-flex | — | display: inline-flex with webkit prefix |
@include flex-direction($value) | row | Also aliased as @include flex-dir($args...) |
@include flex-wrap($value) | nowrap | |
@include flex-flow($values) | row nowrap | |
@include order($int) | 0 | |
@include flex-grow($int) | 1 | |
@include flex-shrink($int) | 0 | |
@include flex-basis($value) | auto | |
@include flex($fg, $fs, $fb) | 1, 0, auto | Shorthand for grow / shrink / basis |
@include justify-content($value) | flex-start | Also aliased as @include flex-just($args...) |
@include align-items($value) | stretch | |
@include align-self($value) | auto | |
@include align-content($value) | stretch |
Layout & Box Model
box-sizing
-webkit-box-sizing, -moz-box-sizing, and box-sizing. A silent placeholder %box-sizing is also available for @extend.
border-radius
-webkit-border-radius and -moz-border-radius prefixes. Also sets -webkit-background-clip: padding-box and background-clip: padding-box to prevent color bleed at the corners.
border
$direction of left, top, right, or bottom to set only that side; pass an empty string '' to set all four sides at once.
clearfix
::after clearfix. Also available as a silent placeholder %clearfix for @extend.
reset-last-child
0 on the :last-child of the element — useful for stripping trailing margin or padding from the final item in a list.
Visual Effects
box-shadow
-webkit-box-shadow and box-shadow. Pass $inset: true to produce an inset shadow.
background-opacity
rgba() fallback. The mixin keeps a solid-color fallback for browsers that do not support rgba().
gradient
$orientation accepts vertical, horizontal, or radial.
background-image
background-image, background-position, and background-repeat in one call.
retina
min-device-pixel-ratio: 1.3 media query targeting Retina and HiDPI displays.
backface-visibility
-webkit-backface-visibility, -moz-backface-visibility, -ms-backface-visibility, -o-backface-visibility, and backface-visibility, useful when applying 3D transforms to prevent flickering.
Transforms & Animations
transform
-webkit-transform, -moz-transform, -ms-transform, -o-transform, and transform.
transform-style
-webkit-transform-style, -moz-transform-style, -o-transform-style, -ms-transform-style, and transform-style. Typically used with preserve-3d.
transition
-webkit-transition, -moz-transition, -o-transition, and transition.
keyframes
@-webkit-keyframes, @-moz-keyframes, @-ms-keyframes, and @keyframes at-rules.
User Interaction
x-user-select
-webkit-user-select, -moz-user-select, -ms-user-select, and user-select.
input-placeholder
::-webkit-input-placeholder, ::-moz-placeholder, :-ms-input-placeholder, and ::placeholder selectors in one go.
Utility
background
.bg-{hex} utility class for the given color, stripping the # from the hex value to form a valid class name. Uses to-string() from _functions.scss and str-slice() internally.