Procházet zdrojové kódy

增加font-awesome

tags/AL.0.8.0_20240113_base
yuan před 1 rokem
rodič
revize
f0680e5b57
5 změnil soubory, kde provedl 2356 přidání a 0 odebrání
  1. +7
    -0
      src/components/fa/index.js
  2. +3
    -0
      src/components/fa/index.json
  3. +12
    -0
      src/components/fa/index.scss
  4. +3
    -0
      src/components/fa/index.wxml
  5. +2331
    -0
      src/components/font-awesome/index.wxss

+ 7
- 0
src/components/fa/index.js Zobrazit soubor

@@ -0,0 +1,7 @@
import './index.scss'
Component({
properties: {
icon: null,
type: String
},
});

+ 3
- 0
src/components/fa/index.json Zobrazit soubor

@@ -0,0 +1,3 @@
{
"component": true
}

+ 12
- 0
src/components/fa/index.scss Zobrazit soubor

@@ -0,0 +1,12 @@
@import "../font-awesome/index.wxss";
.text-primary { color: #007bff !important; }
.text-secondary { color: #6c757d !important; }
.text-success { color: #28a745 !important; }
.text-danger { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #17a2b8 !important; }
.text-light { color: #f8f9fa !important; }
.text-dark { color: #343a40 !important; }
.text-muted { color: rgb(138,147,155) !important; }
.text-white { color: #fff !important; }
.text-grey { color: #ddd !important; }

+ 3
- 0
src/components/fa/index.wxml Zobrazit soubor

@@ -0,0 +1,3 @@
<i class="{{icon}}">
<slot></slot>
</i>

+ 2331
- 0
src/components/font-awesome/index.wxss
Diff nebyl zobrazen, protože je příliš veliký
Zobrazit soubor


Načítá se…
Zrušit
Uložit