Skip to content

Brand Center - Secondary Color Support #10968

Description

@timdhahn

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • Edge 150.0.4078.99
  • SPFx 1.23.2
  • Node.js 22
  • etc

Issue description

The addition of the Brand Center gives users the ability to have specific secondary colors in their theme. In SPFx, we get access to these based on the section background.

Image

In the first theme, Novia Dark with Yellow - the secondary colors are:

  • black
  • red
  • white

The question or request is how can I access the secondary colors outside of dynamic sections. The expectation that users can now choose these colors in extensions or web parts regardless of the section background.

Is there a way to expose or access brand center secondary colors?

I know there is the themeVariant and the experimental 'schemes' object - but that only gets us neutral, soft, strong (which are just variants on the primary theme color)

Image

Let me know if I am overlooking something - Thanks!

Metadata

Metadata

Assignees

Labels

sharepoint-developer-supportsharepoint-developer-supporttype:uservoice-requestEnhancements & feature requests should be posted: http://aka.ms/sp-dev-uservoice

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions