<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_style(primary=None, secondary=None):
 """ Sets primary and secondary component styles. """

    global _primary_style, _secondary_style
    if primary:
        _primary_style = primary
    if secondary:
        _secondary_style = secondary