Democratic trifectas reliably convert unified power into safety-net / civil-rights legislation: Social Security & the Wagner Act (1935), Civil Rights (1964), Voting Rights (1965), Medicare/Medicaid (1965), ACA (2010).
Republican trifectas reliably cut upper-end taxes and expand the military: ERTA 1981 (top rate 70%→50%), Bush cuts 2001/2003, Iraq war 2003, TCJA 2017.
The 1950s "thriving middle class" ran under divided government — Eisenhower (R) faced a Democratic Congress 1955–61. The Interstate Highway Act of 1956 was authored by Congressional Democrats (Gore Sr., Fallon, Boggs).
The top marginal rate was 91% from 1945–1963 (92% in 1952–53). Eisenhower held/raised it. The cut to 70% came in 1964, under LBJ.
Korea (1950) = Truman (D). Vietnam escalation to 500k+ troops = LBJ (D). The two biggest post-WWII wars were Democrat-led.
Clinton (D) ran surpluses 1998–2001 under divided government. The largest modern deficits are 2008 (GFC) and 2020 (COVID) — emergencies, whoever is in charge.
Reagan's 1981 trifecta passed the big tax cut. The 2001–06 GOP trifecta passed the Bush cuts, Iraq, AND Medicare Part D (a large entitlement expansion).
The New Deal coalition included segregationists; the 1964 Civil Rights Act passed with a higher percentage of Republican than Democratic votes in Congress; Democratic presidents also expanded surveillance, deportation and drone wars (Obama: Libya, ISIS).