Federal Law Consideration

In a common law system, should judges only take into consideration the strict meaning of federal law (statutes and the Constitution) or should they also consider background principals and morality? Explain.                ...