Yes, you referred to the first two mentions of day that I stated, the 12 hour day and the 24 hour day. There is also the single day that covers 6 days of creation and also covers at least 7 generations. (Gen 2:4) If Yom refers to a dark period and a light period, then the 12 hour day is wrong. There is only the light period in that reference.
Also, the day of the Lord, as mentioned in Isaiah and elsewhere seems to refer to a period of "darkness" or oppression, and a period of "light" or God's victory. This seems to be closer to the meaning in Gen 1 and 2.
For example, before the snowball earth, there was no land life. After the event, Life began to invade the dry land. The snowball earth could be a period of "darkness" and then the development of land life could be a period of "Light."
Again, the dinosaurs would never have allowed the development of mammals. After the KT extinction event, mammals developed. Again periods of "darkness" or suffering, and "light" or growth of life.
I do not insist on specific events as being the change to the next day, but just use these examples to show that this definition fits the Gen 1 and 2 usage of the word "day" better.