{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-calendars/issues/4","repository_url":"https://api.github.com/repos/wix/react-native-calendars","labels_url":"https://api.github.com/repos/wix/react-native-calendars/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-calendars/issues/4/comments","events_url":"https://api.github.com/repos/wix/react-native-calendars/issues/4/events","html_url":"https://github.com/wix/react-native-calendars/issues/4","id":227717673,"number":4,"title":"Theming not working as intended","user":{"login":"sifrenette","id":2475183,"avatar_url":"https://avatars3.githubusercontent.com/u/2475183?v=3","gravatar_id":"","url":"https://api.github.com/users/sifrenette","html_url":"https://github.com/sifrenette","followers_url":"https://api.github.com/users/sifrenette/followers","following_url":"https://api.github.com/users/sifrenette/following{/other_user}","gists_url":"https://api.github.com/users/sifrenette/gists{/gist_id}","starred_url":"https://api.github.com/users/sifrenette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sifrenette/subscriptions","organizations_url":"https://api.github.com/users/sifrenette/orgs","repos_url":"https://api.github.com/users/sifrenette/repos","events_url":"https://api.github.com/users/sifrenette/events{/privacy}","received_events_url":"https://api.github.com/users/sifrenette/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-10T15:22:36Z","updated_at":"2017-05-11T13:34:23Z","closed_at":"2017-05-11T08:51:45Z","body":"Hello, great component !\r\n\r\nChanging the component's theme is not working as intended when using markingType=\"interactive\". Days styles are not applied correctly (dayTextColor, todayTextColor, etc..). Here's two examples with markingType=\"interactive\" and markingType=\"simple\" and with only that prop changed.\r\n\r\n[markingType=\"simple\"](https://i.gyazo.com/cc101464dd9329db522b144b9b4f56c5.mp4)\r\n[markingType=\"interactive\"](https://i.gyazo.com/6fa7c9edc382ddbc3bc6a77660fd29fb.mp4)\r\n\r\nHere's my code:\r\n```\r\n<CalendarList\r\n                    markedDates={markedDates}\r\n                    onDayPress={this.onPress}\r\n                    markingType=\"interactive\" // markingType=\"simple\"\r\n                    theme={{\r\n                        calendarBackground: '#333248',\r\n                        textSectionTitleColor: 'white',\r\n                        dayTextColor: 'white',\r\n                        todayTextColor: 'white',\r\n                        selectedDayTextColor: 'white',\r\n                        monthTextColor: 'white',\r\n                        selectedDayBackgroundColor: '#333248'\r\n                    }}\r\n              />\r\n```\r\n\r\nI checked the source code a bit, and if I understand correctly, the days are rendered by a different component if markingType=\"interactive\". I'm guessing this other component is handling the theme prop incorrectly?"},"comment":{"url":"https://api.github.com/repos/wix/react-native-calendars/issues/comments/300790641","html_url":"https://github.com/wix/react-native-calendars/issues/4#issuecomment-300790641","issue_url":"https://api.github.com/repos/wix/react-native-calendars/issues/4","id":300790641,"user":{"login":"sifrenette","id":2475183,"avatar_url":"https://avatars3.githubusercontent.com/u/2475183?v=3","gravatar_id":"","url":"https://api.github.com/users/sifrenette","html_url":"https://github.com/sifrenette","followers_url":"https://api.github.com/users/sifrenette/followers","following_url":"https://api.github.com/users/sifrenette/following{/other_user}","gists_url":"https://api.github.com/users/sifrenette/gists{/gist_id}","starred_url":"https://api.github.com/users/sifrenette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sifrenette/subscriptions","organizations_url":"https://api.github.com/users/sifrenette/orgs","repos_url":"https://api.github.com/users/sifrenette/repos","events_url":"https://api.github.com/users/sifrenette/events{/privacy}","received_events_url":"https://api.github.com/users/sifrenette/received_events","type":"User","site_admin":false},"created_at":"2017-05-11T13:34:23Z","updated_at":"2017-05-11T13:34:23Z","body":"That was fast, thanks !"}}
{"actor":{"display_login":"sifrenette"}}