Fa'ase'e ile anotusi autu Fa'ase'e ile su'ega fa'amatalaga
in English

CSS fesuiaiga

Fa'aoga le CSS aganu'u meatotino a Bootstrap mo le vave ma le lumana'i mamanu ma atina'e.

I luga o lenei itulau

O le Bootstrap e aofia ai le tusa ma le lua taseni CSS mea totino masani (suiga) i lona CSS tuʻufaʻatasia, faʻatasi ai ma le tele o isi mea i luga o le auala mo le faʻaleleia o aganuʻu i luga o le faʻavae taʻitasi. O nei mea e maua ai le avanoa faigofie i tulaga fa'aoga masani e pei o lanu o tatou autu, fa'amaufa'ailoga, ma fa'aputu vaitusi autu pe a galue i le su'esu'ega a lau su'esu'ega, se pusa oneone, po'o le fa'ata'ita'iga lautele.

O a matou meatotino tu'ufa'atasi uma o lo'o fa'apipi'iinabs- e 'alofia ai fete'ena'iga ma isi vaega CSS.

Fesuia'iga a'a

O fesuiaiga nei matou te aofia ai (matau e :rootmanaʻomia) e mafai ona maua i soʻo se mea e utaina ai le CSS Bootstrap. O lo'o i totonu o la matou _root.scssfaila ma aofia ai i totonu oa matou faila tu'ufa'atasia.

:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
}

Su'ega vaega

Ua amata fo'i ona matou fa'aogaina meatotino fa'ale-aganu'u e fai ma suiga fa'apitonu'u mo vaega eseese. O le auala lea e mafai ai ona fa'aitiitia a tatou CSS tu'ufa'atasia, fa'amautinoa e le tu'ufa'atasia sitaili i nofoaga e pei o laulau fa'amomoli, ma fa'ataga nisi o fa'aola ma fa'alautele vaega o Bootstrap pe a mae'a fa'atasia Sass.

Va'ai i la matou laulau fa'amaumauga mo ni fa'amatalaga i le fa'aogaina o le CSS fesuiaiga .

O lo'o matou fa'aogaina fo'i suiga CSS i luga o la matou fa'asologa—fa'apitoa mo alavai-ma fa'ateleina le fa'aogaina o vaega e o'o mai i le lumana'i.

Faataitaiga

CSS fesuiaiga e ofoina atu tutusa fetuutuunai i fesuiaiga a Sass, ae aunoa ma le manaʻomia mo le tuʻufaʻatasia aʻo leʻi tuʻuina atu i le suʻega. Mo se fa'ata'ita'iga, o lo'o matou toe fa'afo'i le vai papatisoga ma sitaili feso'ota'iga ma fesuiaiga CSS.

body {
  font: 1rem/1.5 var(--bs-font-sans-serif);
}
a {
  color: var(--bs-blue);
}