title: Extract day/night resources from Theme.MaterialComponents.DayNight.DarkActionBar
body: <p>I'm using <code>Theme.MaterialComponents.DayNight.DarkActionBar</code> as my app's theme and would like to programmatically get, for example, the <code>android.R.attr.textColorPrimary</code> color for both dark mode and light mode. Is this possible? If so, how?</p>