It's both. The criminal justice system treats white folks better than black folks, and women better than men. Depending on what exactly you're measuring which one is the larger gap can go either way. For sentencing, sex means more than race - so she'd get a longer sentence if she were a black woman, but an even longer one if she were a white man, and a still longer one if she were a black man.
I'm actually surprised a white girl got a whole year for an assault. And not even a suspended sentence!
I've seen cases where it's like "white woman stabs boyfriend in heart, boyfriend narrowly survives due to prompt medical attention, 30 day suspended sentence" or "woman sexually assaults minor boy, gets herself pregnant from the assault, no punishment for her and boy owes woman child support for being her victim."
No, you can't get fined for saying the N-word in the US. But, repeatedly shouting it while committing an assault pretty conclusively demonstrates it was a racially motivated assault, and lots of jurisdictions in the US have laws that aggravate a crime or add an additional charge if the crime was motivated by hatred of a protected class.
Those laws can (but almost never are) applied even if the member of the protected class is male, white, etc. I think the last time I heard of someone being given hate crime charges for doing something to a white victim was the 2017 Chicago torture case where the crime was streamed on Facebook. Two black men and two black women were involved, the men received bail of $800k and $900k, the women bail of $500k and $200k - in the end all did plea deals with the men getting 7 and 8 years in prison and the women 4 years of probation and 3 years of prison. Which demonstrates neatly how much sex plays into punishment in the US, since they were all part of the same case doing the same crimes.