The law assumes that each spouse makes equal if different contributions. If the relationship ends, they share the family property equally.
Person with greater new family property (NFP) must pay the other spouse half of the difference.
If the relationship ends, no automatic right to equal share of the property. People leave with what they brought into the relationship and can prove they bought during it.
To receive a larger share, a spouse must prove they made a direct or indirect contribution. Speak with a lawyer!