fix issue #25 light theme
fix ext/schema definition error + refactor