Skip to content

Commit f1c1f88

Browse files
committed
docs: add documentation section to README with link to complete documentation website
1 parent d7523c8 commit f1c1f88

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
A comprehensive React Native component library with modern, customizable, and accessible components.
44

5+
## 📖 Documentation
6+
7+
🌐 **[Complete Documentation Website](https://rn-base-component-docs.vercel.app/)** - Interactive documentation with examples and API references
8+
59
## Features
610

711
- 🎯 **Modern Components** - Built with the latest React Native patterns

src/components/TextInput/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ const customTheme = extendTheme({
498498
labelStyle: {
499499
// Default label style
500500
fontSize: 14,
501-
fontWeight: '500',
501+
fontWeight: 'normal',
502502
marginBottom: 4,
503503
color: '#333333',
504504
},
@@ -549,7 +549,7 @@ TextInputTheme: {
549549
},
550550
labelStyle: {
551551
fontSize: 14,
552-
fontWeight: '500',
552+
fontWeight: 'normal',
553553
marginBottom: 4, // base.spacing.tiny
554554
color: '#27272a', // base.colors.darkText
555555
},

src/components/Typography/Typography.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ type TypographyProps = {
3333
export const typographyVariantStyles: Record<TypographyVariant, TypographyVariantStyles> = {
3434
h1: {
3535
fontSize: 28,
36-
fontWeight: '700',
36+
fontWeight: 'bold',
3737
lineHeight: 32,
3838
},
3939
h2: {
4040
fontSize: 24,
41-
fontWeight: '700',
41+
fontWeight: 'bold',
4242
lineHeight: 28,
4343
},
4444
regular: {
4545
fontSize: 16,
46-
fontWeight: '400',
46+
fontWeight: 'normal',
4747
lineHeight: 24,
4848
},
4949
bold: {

src/theme/components/CodeInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const CodeInputTheme: CodeInputThemeProps = {
102102
},
103103
textStyle: {
104104
fontSize: 18,
105-
fontWeight: '600',
105+
fontWeight: 'normal',
106106
color: base.colors.black,
107107
},
108108
focusTextStyle: {

src/theme/components/Slider.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ export const SliderTheme: SliderThemeProps = {
124124
labelStyle: {
125125
color: base.colors.white,
126126
fontSize: 12,
127-
fontWeight: '500',
128127
},
129128
thumbStyle: {
130129
backgroundColor: base.colors.white,

src/theme/components/TextInput.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ export const TextInputTheme: TextInputThemeProps = {
9191
},
9292
labelStyle: {
9393
fontSize: 14,
94-
fontWeight: '500',
9594
marginBottom: base.spacing.tiny,
9695
color: base.colors.darkText,
9796
},

src/theme/components/Typography.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ export const TypographyTheme: TypographyThemeProps = {
2020
variantStyles: {
2121
h1: {
2222
fontSize: 28,
23-
fontWeight: '700',
23+
fontWeight: 'bold',
2424
lineHeight: 32,
2525
},
2626
h2: {
2727
fontSize: 24,
28-
fontWeight: '700',
28+
fontWeight: 'bold',
2929
lineHeight: 28,
3030
},
3131
regular: {
3232
fontSize: 16,
33-
fontWeight: '400',
33+
fontWeight: 'normal',
3434
lineHeight: 24,
3535
},
3636
bold: {

0 commit comments

Comments
 (0)