In June 2012, it was revealed that Rihanna would star as the lead role in the film Happy Smekday!, alongside American actor Jim Parsons. In September 2012, 20th Century Fox and DreamWorks Animation announced that the movie will be released for November 26, 2014.[2] In June 2013, the film was retitled from Happy Smekday! to Home.[3] In 2014, Variety magazine reported that, in addition to her voice role, Rihanna created a concept album for the film was released on March 13, 2015.[4] It was later revealed that the film's soundtrack would also include songs recorded by Charli XCX, Kiesza and Jennifer Lopez.[5] "Dancing in the Dark" was written by Tor Erik Hermansen, Mikkel Storleer Eriksen, Ester Dean, Maureen Anne McDonald and Rihanna. The production was done by Hermansen and Eriksen under their production name Stargate.[6] Dean has previously co-penned a number of songs for Rihanna including, "S&M" (2011) and "Rude Boy" (2010), both of which were produced by Stargate.[1] The vocals were recorded by Marcos Tovar and Kuk Harrell, while the later also did their production. Phil Tanmixed the song at the Ninja Beat Club in Atlanta, Georgia while Daniela Rivera served as the track's engineer.[6]
Composition
"Dancing in the Dark" is a dance-pop song with a length of three minutes and forty-three seconds.[1] The track is an up-tempo "poppy-number"[7] that features "enough backdrop of saccharine synths and snap beats".[8] According to James Grebey of Spin magazine it's also "upbeat and a little funkier — if a tad repetitive."[9]Rolling Stone's Jon Blistein linked "Dancing in the Dark"'s chorus to the one of Whitney Houston's 1987 single "I Wanna Dance with Somebody (Who Loves Me)".[1] He also wrote that the song has a "wubby bass groove" that could feature American actress Courteney Cox dancing to it in its potential music video, a reference to her appearance in the video for Bruce Springsteen's 1984 single with the same name.[1]