We discuss a field-theoretical approach based on general-relativistic variational principle to derive the covariant field equations and hydrodynamic equations of motion of baryonic matter governed by cosmological perturbations of dark matter and dark energy. The action depends on the gravitational and matter Lagrangian. The gravitational Lagrangian depends on the metric tensor and its first and second derivatives. The matter Lagrangian includes dark matter, dark energy and the ordinary baryonic matter which plays the role of a bare perturbation. The total Lagrangian is expanded in an asymptotic Taylor series around the background cosmological manifold defined as a solution of Einsteinâs equations in the form of the FriedmannâLemaîtreâRobertsonâWalker (FLRW) metric tensor.