config = $config; } /** * Bind data to the view. * * @param \Illuminate\Contracts\View\View $view * * @return void */ public function compose(View $view) { // Theme colors. $view->withThemeBackgroundColor($this->config->get('setting.style_background_color', '#F0F3F4')); $view->withThemeBackgroundFills($this->config->get('setting.style_background_fills', '#FFFFFF')); $view->withThemeBannerBackgroundColor($this->config->get('setting.style_banner_background_color', '')); $view->withThemeBannerPadding($this->config->get('setting.style_banner_padding', '40px 0')); $view->withThemeTextColor($this->config->get('setting.style_text_color', '#333333')); $view->withThemeReds($this->config->get('setting.style_reds', '#ff6f6f')); $view->withThemeBlues($this->config->get('setting.style_blues', '#3498db')); $view->withThemeGreens($this->config->get('setting.style_greens', '#7ED321')); $view->withThemeYellows($this->config->get('setting.style_yellows', '#F7CA18')); $view->withThemeOranges($this->config->get('setting.style_oranges', '#FF8800')); $view->withThemeMetrics($this->config->get('setting.style_metrics', '#0dccc0')); $view->withThemeLinks($this->config->get('setting.style_links', '#7ED321')); } }