1
2
3
4
5
6
(defun my-org-post-process-hook()
  (while (re-search-forward "<pre " nil t)
    (replace-match
     "<pre style="background-color:#272821; color: #F8F8F2" "
          t nil)))
(add-hook 'org-export-html-final-hook 'my-org-post-process-hook)