in English
Nneɛma a wubetumi apaw
Yɛ ntɛm sesa Bootstrap a ɛwɔ nsakrae ahorow a wɔasisi mu na ama ayɛ mmerɛw sɛ wobɛdannan wiase nyinaa CSS apɛde ahorow a wode bedi ɔkwan ne nneyɛe so.
Fa yɛn custom variables fael a wɔde ahyɛ mu no yɛ Bootstrap no ho nhyehyɛe na ɛnyɛ den sɛ wode $enable-*
Sass variables foforo bɛdannan wiase nyinaa CSS apɛde. Override a variable's value na san boaboa ano npm run test
sɛnea ɛho hia.
Wubetumi ahu na woayɛ saa nsakrae ahorow yi ama wiase nyinaa nhyehyɛe atitiriw wɔ Bootstrap scss/_variables.scss
fael no mu.
Nneɛma a ɛsakra | Nneɛma a Ɛsom Bo | Nkyerɛmu |
---|---|---|
$spacer |
1rem (default), anaasɛ botae biara > 0 |
Kyerɛ default spacer botae a ɛbɛma programmatically ayɛ yɛn spacer utilities . |
$enable-rounded |
true (default) anaasɛfalse |
Ɛma border-radius style ahorow a wɔadi kan akyerɛkyerɛ mu wɔ nneɛma ahorow so no tumi yɛ adwuma. |
$enable-shadows |
true anaa false (default) . |
Ɛma wotumi yɛ nneɛma a wɔde siesie fie a wɔadi kan akyerɛkyerɛ box-shadow mu wɔ nneɛma ahorow so. Ɛnka box-shadow s a wɔde di dwuma ma focus states. |
$enable-gradients |
true anaa false (default) . |
Ɛma gradients a wɔadi kan akyerɛkyerɛ mu no yɛ adwuma via background-image styles wɔ components ahorow so. |
$enable-transitions |
true (default) anaasɛfalse |
Ɛma transition s a wɔadi kan akyerɛkyerɛ mu wɔ nneɛma ahorow so no tumi yɛ adwuma. |
$enable-reduced-motion |
true (default) anaasɛfalse |
Enables the prefers-reduced-motion media query , a esiw animations/nsakrae ahorow bi a egyina wɔn a wɔde di dwuma no browser/operating system apɛde so no ano. |
$enable-grid-classes |
true (default) anaasɛfalse |
Ɛma CSS adesua ahorow awo ntoatoaso no tumi yɛ ma grid nhyehyɛe no (sɛ nhwɛso .row no , .col-md-1 , ne nea ɛkeka ho). |
$enable-caret |
true (default) anaasɛfalse |
Ɛma pseudo element caret tumi yɛ adwuma wɔ .dropdown-toggle . |
$enable-button-pointers |
true (default) anaasɛfalse |
Fa “nsa” cursor ka button elements a ɛnyɛ adwuma no ho. |
$enable-rfs |
true (default) anaasɛfalse |
Wiase nyinaa ma RFS tumi yɛ adwuma . |
$enable-validation-icons |
true (default) anaasɛfalse |
Ɛma background-image ahyɛnsodeɛ a ɛwɔ nkyerɛwee mu nsɛm a wɔde ahyɛ mu ne nsɛm a wɔahyɛ da ayɛ no bi yɛ adwuma ma validation states. |
$enable-negative-margins |
true anaa false (default) . |
Ɛma wotumi yɛ awo ntoatoaso a ɛyɛ negative margin utilities . |
$enable-deprecation-messages |
true (default) anaasɛfalse |
Set to false sɛ wode kɔkɔbɔ besie bere a wode mixins a wɔagyae ne dwumadi ahorow a wɔayɛ ho nhyehyɛe sɛ wobeyi afi hɔ wɔ v6 . |
$enable-important-utilities |
true (default) anaasɛfalse |
Ɛma !important suffix no tumi yɛ adwuma wɔ utility class ahorow mu. |
$enable-smooth-scroll |
true (default) anaasɛfalse |
Ɛfa scroll-behavior: smooth wiase nyinaa, gye sɛ wɔn a wɔde di dwuma no bisa sɛ wɔtew kankyee so denam prefers-reduced-motion media abisade so |