@cryptofi/core-ui 1.5.1 → 1.6.1
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 +2 -2
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +6 -2
- package/package.json +27 -27
package/README.md
CHANGED
|
@@ -45,12 +45,12 @@ export { default as CfButton } from './Button/Button'
|
|
|
45
45
|
|
|
46
46
|
## How to: Style a Component
|
|
47
47
|
|
|
48
|
-
The reusable components exported from this library generally use separate theme files to simplify implementation of variants, sizes, etc., but simple components can also be styled directly in the component file using Chakra [style props](https://chakra-ui.com/docs/styled-system/style-props).
|
|
48
|
+
The reusable components exported from this library generally use separate theme files to simplify implementation of variants, sizes, etc., but simple components can also be styled directly in the component file using Chakra [style props](https://v2.chakra-ui.com/docs/styled-system/style-props).
|
|
49
49
|
|
|
50
50
|
Guidelines:
|
|
51
51
|
|
|
52
52
|
- Prefer responsive units like `rem` over pixel values
|
|
53
|
-
- Use Chakra's unitless [spacing](https://chakra-ui.com/docs/styled-system/theme#spacing) values for spacing and positioning when possible
|
|
53
|
+
- Use Chakra's unitless [spacing](https://v2.chakra-ui.com/docs/styled-system/theme#spacing) values for spacing and positioning when possible
|
|
54
54
|
- Refer to documentation for the corresponding Chakra UI component when styling base components
|
|
55
55
|
|
|
56
56
|
## How to: Use Icons
|