Sharepoint Theme - TXT file issues

Jack Nairn 60 Reputation points
2023-07-13T11:55:49.9+00:00

Hello,

Can anyone help me with why the Sharepoint theme below is changing TXT files to having a black background with grey text? - We would like to keep the background grey on sharepoint, but change the TXT files background back to white.

Thanks

$themepalette = @{

"themePrimary" = "#ff5353";

"themeLighterAlt" = "#0a0303";

"themeLighter" = "#290d0d";

"themeLight" = "#4d1919";

"themeTertiary" = "#993232";

"themeSecondary" = "#e04a4a";

"themeDarkAlt" = "#ff6565";

"themeDark" = "#ff7d7d";

"themeDarker" = "#ff9f9f";

"neutralLighterAlt" = "#232323";

"neutralLighter" = "#2c2c2c";

"neutralLight" = "#3b3b3b";

"neutralQuaternaryAlt" = "#444444";

"neutralQuaternary" = "#4b4b4b";

"neutralTertiaryAlt" = "#6a6a6a";

"neutralTertiary" = "#f5f5f5";

"neutralSecondary" = "#f6f6f6";

"neutralPrimaryAlt" = "#f8f8f8";

"neutralPrimary" = "#efefef";

"neutralDark" = "#fbfbfb";

"black" = "#fdfdfd";

"white" = "#1a1a1a";

"primaryBackground" = "#efefef";

"primaryText" = "#1a1a1a";

"bodyBackground" = "#efefef";

"bodyText" = "#1a1a1a";

"disabledBackground" = "#181818";

"disabledText" = "#141414";

}

Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

Accepted answer
  1. Ling Zhou_MSFT 23,620 Reputation points Microsoft External Staff
    2023-07-14T02:59:11.53+00:00

    Hi @Jack Nairn,

    Thank you for posting in this community.

    I tested your theme in my side. It seems to be fine.

    Perhaps you could try a different browser or computer to see if the site still has the same problem.

    User's image

    User's image

    I am sorry I do not understand what kind of theme you are hoping to achieve. Perhaps you could use this Theme Generator tool to build your custom theme. You can preview the display of your customized theme in this tool.

    Here is the article about configuring and applying a custom theme in SharePoint Online:

    How to configure and apply a custom theme in SharePoint Online

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link. 

    There are also some sample themes in this post for you to consider:

    SharePoint site theming: JSON schema


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Jack Nairn 60 Reputation points
    2023-07-13T13:46:58.9866667+00:00

    To add, these buttons are also blacked out now

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.