So if the light created on the first day was this special Kabbalistic light, what distinguished between evening and morning before the sun was created?
It is not a simple question... Day and Night in the case of Day One are related to the concept of Day and Night, not the physical day and night which we know today. The Kabbalistic concept of light and dark refer to the aspect of G-dliness and the lack of G-dliness.... Darkness is nothing other than the absence of Hashems light.
Here is some more information from a Jewish site:
http://www.ou.org/about/judaism/sheshet.htm
Judaism 101
A Glossary of Basic Jewish Terms and Concepts
Sheshet Yemai Bereshit
"Sheshet Yemai Bereshit" - the "Six Days of Creation," which were followed by the "Seventh Day," the "Yom HaShabbat," the "Day" of "Rest." On these six "Days," the Universe and all that is in it was brought into being by "E-lohim," G-d, as described in Bereshit (1:1 - 2:3).
Each "Day" may have been much longer than 24 hours, and could describe an eon or an epoch, but would refer to a unique and separate phase of activity and influence upon the World by the Creator.
In the descriptions of the "Days," the highly poetic Biblical language and terms are used, and one must appreciate that given our perspective, it is really impossible for us to know what the words refer to precisely. The "Midrash", and the great Commentators, such as RASHI, whose genius included the selecting of appropriate Midrashim, and the RAMBAN help a lot, but much mystery remains.
The "Days" are:
"Yom Echad" - (m.); the First "Day of Creation," described in Bereshit 1:1-5
In the beginning, "E-lohim," G-d created the "Heaven" and the "Earth." And the "Earth" was formless and void, and the Divine Presence hovered over the "waters."
G-d said "Let there be 'light' " - and there was "light." And "E-lohim," G-d saw the "light," that it was good and separated between the "light" and the "dark." And G-d called the "light," "Day" and the "darkness," "Night."
An "Evening" and a "Morning" passed, completing One Day.
Note that a different term is used for "Sunday," the first day of the week, using the ordinal number, "first" rather than the cardinal number "One;" namely, "Yom Rishon." Whereas, the first "Day of Creation" is called the "Day of the One," to emphasize that G-d alone created the Universe and all that is in it.
"Yom Sheni" - (m.); the Second "Day of Creation," described in Bereshit 1:6-8
And "E-lohim," G-d said, "Let there be a 'Rakia,' a 'firmament, in the midst of the waters and let it divide between the upper "waters" and the lower "waters." He called the "Rakia" "Shamayim," "Heaven."
An "Evening" and a "Morning" passed, completing the Second Day.
"Yom Shelishi" - (m.); the Third "Day of Creation," described in Bereshit 1:9-13
"E-lohim," G-d said, "Let the waters under the heavens be gathered together, and let the dry land be seen;" and it was so. And "E-lohim," called the dry land "Yabasha," and the collections of waters he called "Yamim;" and he saw that this was good.
And G-d said, "Let the land bring forth vegetation, grass bearing reproductive capability, and fruit-bearing trees capable of producing fruit of the same type season after season." And it was so. And the land brought forth vegetation and fruit-bearing trees produced fruit-bearing trees of the same type; and G-d saw that it was good.
And there was Evening and there was Morning, completing the Third Day.
"Yom Revii" - (m.); the Fourth "Day of Creation," described in Bereshit 1:14-19
And G-d said, "Let there be light-producing heavenly bodies, to divide between the Day and the Night, and to be markers for special times, and for days and for nights. And they should also come to be illuminating bodies in space, to provide light for the Earth. And it was so.
And G-d created the two Great Lights, the Great Light to rule during the Day, and the Smaller Light to rule during the Night, and the Stars.
RASHI cites a Midrash on the above verse, which contains an apparent contradiction. First the verse speaks of two Great Lights. Then it speaks of the Sun as the Great Light and the Moon as the Smaller Light!? Were they equal or unequal? The Midrash comes to teach a moral lesson, that originally the Sun and the Moon were of equal size, but the Moon complained, "Two Kings cannot wear one crown! Both the Sun and I cannot both be Kings!" G-d said, "You're right; go reduce yourself to be the smaller light."
Another resolution of the apparent contradiction, with a scientific bent, obtained from "In the Beginning," by Professor Aviezer, is that the Moon was always much smaller, but it was created by G-d in just the right way that it had the same "apparent size" as the sun. Such that in a solar eclipse, the moon was just the right size and just the right distance away from the Earth to completely block the rays of the sun.
An Evening and a Morning passed, completing the Fourth Day.
"Yom Chamishi" - (m.);the Fifth "Day of Creation," described in Bereshit 1:20-23
G-d said, "Let the waters swarm with living creatures and the air be filled with winged creatures flying over the Earth. And G-d created the great amphibians (dinosaurs?) and all the living beings that creep that came from the water according to their type, and all the flying birds, according to their type. And G-d saw that it was good. And G-d blessed them, saying "Be fruitful and multiply and fill the waters of the seas and let the birds fill the land.
An "Evening" and a "Morning" passed, completing the Fifth Day.
"Yom HaShishi" - (m.); the Sixth "Day of Creation," described in Bereshit 1:24-31
And "E-lohim," G-d said, "Let the Earth produce living souls: cattle, swarming things and wild beasts, according to their type. And so it was. And G-d made the beasts of the land, and the cattle and the swarming things, each according to their type; and "E-lohim," G-d saw that it was good.
And G-d said, "Let us make man in our image (RASHI immediately comments on the unexpected usage of 'us' and 'our,' which gives unbelievers a place to inject their false ideas, and says that here G-d is teaching human beings courtesy, that one should always consult with one's subordinates (in this case, the Angels, heavenly creations of G-d) before taking action. Even though when it came to the actual creation of the human being, it was only G-d Who was involved, as the verse says 'And He Created,' not 'And they created'). And let him rule over the fish of the sea and the birds of the heavens and over the cattle and over all of the land, and over everything that swarms from the land."
And "E-lohim," G-d created Man in His image, in the image of "E-lohim," did He Create him, male and female did He create them.
And "E-lohim," G-d blessed them, and "E-lohim" said to them, "Be fruitful and multiply and fill the land, and conquer it; and rule over the fish of the sea and the beats of the land, and the birds of the skies, and over all life that creeps upon the ground."
And G-d said, "I have given to you all the vegetation of the earth, and all the fruit of the trees, for you to eat."
"And I have given to every form of life that moves on the Earth or flies in the air, I have given all vegetation to eat."
And it was so.
And "E-lohim," G-d saw all that He had done, and behold it was VERY GOOD; and there was an "Evening" and a "Morning," completing the Sixth Day.
http://www.meaningfullife.com/torah/parsha/bereishit/bereishit/The_Creation_of_Light.php
The Creation of Light
G-d said: “Let there be light.” And there was light. G-d saw the light, that it was good; and G-d divided between the light and the darkness. G-d called the light “day” and the darkness He called “night.” It was evening and it was mourning, one day.
Genesis 1:3-5
Light. The first creation. Indeed, the sole creation of the First Day.
But light, by definition, is not an entity in its own right. It is the link between two other entities, the communication from its emitter to an observer or recipient. Light would have no function unless it is expressing the former and influencing the latter. So what sense is there in light as a first creation? Why create light on the first day if the first sighted creatures were not created until the fifth, the first beneficiaries of light (plants) were not created until the third, and the first luminary bodies in the universe were created only on the fourth day of creation?
Hidden RevelationIndeed, our sages describe the light created on the first day as something that is not part of our present-day natural reality. “The light which G-d created on the first day,” says the Talmud's Rabbi Elazar, “a man could see with it from one end of the world to the other.”[1] “It cannot shine by day,” says the Midrash Rabba, “it would dim the sun. It cannot shine at night - for it was created only for the day. So where is it? It was hidden. It is preserved for the righteous in the World to Come.”[2] “Where did He hide it?” asks the Zohar, and replies: “In the Torah.”[3]
Again we ask: Why create something that has no immediate function? We might ask this about any creation, but certainly about light. For what is light, if not illumination and revelation? Are not the words “hidden light” a contradiction in terms?
And yet, these two antithetical concepts are more closely related than one might think. The Zohar[4] points out that the Hebrew words ohr (“light”) and roz (“secret”) share the same gamatria, or numerical value (207). According to Jewish tradition, a gamatrial concurrence between two words implies that they are intrinsically related to each other. As Rabbi Schneur Zalman of Liadi explains in his Tanya, the soul of an object or phenomenon is expressed by its name in the Holy Tongue; and when the names for two entities have a common numerical value, this means that they are, in fact, two incarnations of the same essence.[5]
So “secret” and “revelation” are two sides of the same coin. And the very first creation was a secret revelation - a light destined to remain in the dark for millennia on end. An infinitely brilliant flash which illuminated the void of the First Day, only to retreat into its alter ego, secret, for the whole of contemporary history. So though light may be the primary element of creation, ours is a world of secrets: a world in which life means grappling with darkness and wrestling with the unknown, a world in which light is reserved for the “World to Come” - the fulfillment and culmination of our present-day struggles.