Fresh zucchini and onions are sweet when cooked, but onions are suffocating. They are not delicious when fried together, unless you have a special taste.
If it's just fried, add some tomatoes and green peppers to both and fry them separately. Tomatoes are sour and sweet, and green peppers are used to flavor and color, which is more appetizing.