Previously the color worked fine, I accidentally pressed one of the keys on the keyboard, the result was that my design was just a line, no color
I think you pressed shift+O to activate the outlines by accident. You can find the setting in the top right menu under the zoom/view options