refactor: move flash into directive
feat: fade flash