react-native-ui-kitten
react-native-ui-kitten copied to clipboard
Cant custom text-basic-color in theme.json
💬 Question
I try to config text-basic-color, but it not work. Here my theme.json
{
"color-primary-100": "#E7FBDC",
"color-primary-200": "#CAF8BB",
"color-primary-300": "#A2EA94",
"color-primary-400": "#7BD673",
"color-primary-500": "#48BB49",
"color-primary-600": "#34A03E",
"color-primary-700": "#248636", // Green
"color-primary-800": "#166C2E",
"color-primary-900": "#0D5928",
"color-success-100": "#EDFDDA",
"color-success-200": "#D6FBB6",
"color-success-300": "#B7F590",
"color-success-400": "#99EC72",
"color-success-500": "#6CE046",
"color-success-600": "#4CC033",
"color-success-700": "#30A123",
"color-success-800": "#198116",
"color-success-900": "#0D6B10",
"color-info-100": "#EBF6FB",
"color-info-200": "#D7ECF8",
"color-info-300": "#BDD8EB",
"color-info-400": "#A3C0D8",
"color-info-500": "#809FBF",
"color-info-600": "#5D7CA4",
"color-info-700": "#405D89",
"color-info-800": "#28406E",
"color-info-900": "#182C5B",
"color-warning-100": "#FFF2D1",
"color-warning-200": "#FFE1A3",
"color-warning-300": "#FFCB76",
"color-warning-400": "#FFB653",
"color-warning-500": "#FF941B",
"color-warning-600": "#DB7413",
"color-warning-700": "#B7570D",
"color-warning-800": "#933E08",
"color-warning-900": "#7A2D05",
"color-danger-100": "#FFDED6",
"color-danger-200": "#FFB6AE",
"color-danger-300": "#FF8785",
"color-danger-400": "#FF6774",
"color-danger-500": "#FF3559",
"color-danger-600": "#DB2657",
"color-danger-700": "#B71A54",
"color-danger-800": "#93104D",
"color-danger-900": "#7A0A48",
"color-basic-100": "#FFFFFF",
"color-basic-200": "#F7F9FC",
"color-basic-300": "#EDF1F7",
"color-basic-400": "#E4E9F2",
"color-basic-500": "#C5CEE0",
"color-basic-600": "#8F9BB3",
"color-basic-700": "#2E3A59",
"color-basic-800": "#222B45",
"color-basic-900": "#192038",
"color-basic-1000": "#151A30",
"color-basic-1100": "#101426",
"color-basic-transparent-100": "rgba(143, 155, 179, 0.08)",
"color-basic-transparent-200": "rgba(143, 155, 179, 0.16)",
"color-basic-transparent-300": "rgba(143, 155, 179, 0.24)",
"color-basic-transparent-400": "rgba(143, 155, 179, 0.32)",
"color-basic-transparent-500": "rgba(143, 155, 179, 0.4)",
"color-basic-transparent-600": "rgba(143, 155, 179, 0.48)",
"text-basic-color": "$color-primary-700" // should be green too
}
and this my result in screen (H1)
thank you in advance :)
UI Kitten and Eva version
| Package | Version | | @ui-kitten/components | 5.1.1 | | @eva-design/eva | | | @ui-kitten/components | |
Hi, @pavitpim40, there should not be any issues with assigning new color value. Please, check if you're getting the style color value correctly. Provide please your code sample so I could help you with your problem
Any solution here? I am facing the same issue.
@pavitpim40 @ZoltanSzokodi can you please share how are you passing theme configuration to ApplicationProvider
?
Closing the problem because of the long response time, there is a chance that the problem has already been fixed, if you have any questions, happy to help, you can reopen the ticket for this, with respect the team UI Kitten.