Can i set default theme to light in strapi 4

How can i set light theme to default in strapi 4? and can i change the “Strapi Dashboard” to “Dashboard” only.

This topic has been created from a Discord post (1242543684793270292) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Do you have any updates?)

// src->admin->app.ts

bootstrap() {
const setStrapiTheme = () => {
const LIGHT_THEME = ‘light’;
const DARK_THEME = ‘dark’;

  const themeKey = 'STRAPI_THEME';
  const forceSetKey = 'STRAPI_THEME_FORCE_CHANGE';
  const defaultTheme = LIGHT_THEME;

  const currentTheme: string | null = localStorage.getItem(themeKey);
  const currentForceSetKey: string | null =
    localStorage.getItem(forceSetKey);

  // If no theme at all
  if (!currentTheme) {
    localStorage.setItem(themeKey, defaultTheme);
    return;
  }

  // To force change all current users from dark to light theme ( ONCE )
  if (!currentForceSetKey && currentTheme === DARK_THEME) {
    localStorage.setItem(themeKey, defaultTheme);
    localStorage.setItem(forceSetKey, 'true');
  }
};

setStrapiTheme();

},
};