How to make WordPress theme files writable

Change theme files(.css, .php) permissions to 666. 
Path: wp-content/themes/active theme
Don't make everything 777 it's very risky