Loading core/themes/default_admin/src/Settings.php +4 −0 Changes for core/themes/default_admin/src/Settings.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -277,6 +277,8 @@ public function getSettingsForm(?AccountInterface $account = NULL): array { // Accent color picker (helper field). $form['accent_group']['accent_picker'] = [ '#type' => 'color', '#title' => $this->t('Accent color picker'), '#title_display' => 'invisible', '#placeholder' => '#777777', '#default_value' => $account ? $this->get('accent_color', $account) : $this->getDefault('accent_color'), '#process' => [[__CLASS__, 'processColorPicker']], Loading Loading @@ -314,6 +316,8 @@ public function getSettingsForm(?AccountInterface $account = NULL): array { // Focus color picker (helper). $form['focus_group']['focus_picker'] = [ '#type' => 'color', '#title' => $this->t('Focus color picker'), '#title_display' => 'invisible', '#placeholder' => '#777777', '#default_value' => $account ? $this->get('focus_color', $account) : $this->getDefault('focus_color'), '#process' => [[__CLASS__, 'processColorPicker']], Loading Loading
core/themes/default_admin/src/Settings.php +4 −0 Changes for core/themes/default_admin/src/Settings.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -277,6 +277,8 @@ public function getSettingsForm(?AccountInterface $account = NULL): array { // Accent color picker (helper field). $form['accent_group']['accent_picker'] = [ '#type' => 'color', '#title' => $this->t('Accent color picker'), '#title_display' => 'invisible', '#placeholder' => '#777777', '#default_value' => $account ? $this->get('accent_color', $account) : $this->getDefault('accent_color'), '#process' => [[__CLASS__, 'processColorPicker']], Loading Loading @@ -314,6 +316,8 @@ public function getSettingsForm(?AccountInterface $account = NULL): array { // Focus color picker (helper). $form['focus_group']['focus_picker'] = [ '#type' => 'color', '#title' => $this->t('Focus color picker'), '#title_display' => 'invisible', '#placeholder' => '#777777', '#default_value' => $account ? $this->get('focus_color', $account) : $this->getDefault('focus_color'), '#process' => [[__CLASS__, 'processColorPicker']], Loading