For me, it depends on how knowledgeable I am already in that opening (or not) and how serious I am with that new opening (Is it a new variation to implement into my opening repertoire? Is it for casual chess? Is it for prep against a particular player? etc.)
Some resources I use for openings are (in no order and I'm sure I use others too I'm forgetting)
- engine messing around with variations and seeing what is more playable and what ideas look interesting
- chess books
- opening databases
- YouTube videos
- literally typing in that opening into Wikipedia as that is a good resource for summarizing some basics (especially for popular mainlines)
* I don't think it matters as much "where" you get the opening ideas from as much as "how" you choose to learn the concepts and implement those elements into your own game.
Just curious