SACRAMENTO — Tweeting jurors beware. Gov. Jerry Brown on Friday signed legislation that will admonish jury members not to mix their civic duty with social media during trials.

Courts will soon be required to explicitly warn jurors not to share case details or research potential case information via texts, blogs, Internet postings or various social networking sites. The new law also clarifies that judges have the authority to hold in contempt any jurors who don’t heed that admonition.