It would be nice if you would rename the lgpio_ws2812 function to ws2812_write, so that it is consistent with the function naming of the other modules.
Also, please change the indentation from tabs to two spaces -- this seems to be the coding style being used already.