Let \(c_1,\ldots , c_k\) be k non-negative integers. A graph G is \((c_1, \ldots , c_k)\) -colorable if the vertex set of G can be partitioned into k sets \(V_1, \ldots , V_k\) , such that the induced subgraph \(G[V_i]\) has maximum degree at most \(c_i\) for \(i\in [k]\) . Denote by \(\mathscr {F}\) the family of planar graphs without triangles adjacent to cycles of length 5 and 7. This paper proves that if \(G\in \mathscr {F}\) , then G is (1, 1, 1)-colorable. As a corollary, every graph in \(\mathscr {F}\) can be decomposed into a matching and a 3-colorable graph.