Retirement tax questions

Hello. Just wondering if you figured out if capital gains exempt from tax had any affect on ROTH IRA contributions?