Painting nursery

So I have been painting my nursery here & there every weekend, to not do it all at once, but some people are saying that I should not, & it's so bad for the baby because of the chemicals, I was aware or thought that paint is safe nowadays during pregnancy?? I just want to know opinions or what not. Thanks!