gbc-kyc-kit 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,40 @@ Import CSS component with:
|
|
|
16
16
|
import "../node_modules/gbc-kyc-kit/dist/style.css";
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
+
## Style customization
|
|
20
|
+
|
|
21
|
+
You could customize all styles of components, just need make reference to the label of component as follows:
|
|
22
|
+
|
|
23
|
+
**Important**
|
|
24
|
+
Remember that you can use mode prop to turn between dark or light mode without change styles.
|
|
25
|
+
|
|
26
|
+
### CSS
|
|
27
|
+
|
|
28
|
+
```css
|
|
29
|
+
/* Rest of code */
|
|
30
|
+
body .kit-gbc {
|
|
31
|
+
background-color: #202124;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
body .kit-gbc h4 {
|
|
35
|
+
color: white;
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### SASS/SCSS
|
|
40
|
+
|
|
41
|
+
```css
|
|
42
|
+
body {
|
|
43
|
+
/* Rest of code */
|
|
44
|
+
.kit-gbc {
|
|
45
|
+
background-color: #202124;
|
|
46
|
+
h4 {
|
|
47
|
+
color: white;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
19
53
|
Import components using:
|
|
20
54
|
|
|
21
55
|
```js
|