Skip to content

[Bug]: Fluent Theme Designer tool produces hue-shifted color palettes #27860

@timbellay

Description

@timbellay

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (4) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 15.91 GB / 32.00 GB
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.35)  
    Internet Explorer: 11.0.19041.1566

Are you reporting Accessibility issue?

None

Reproduction

https://github.com/ms-acalzaretto/fluentui/tree/theme-designer-v9

Bug Description

Actual Behavior

Set the keColor to be #FF0000.
Observe that the palette with keyColor #FF0000 (hue =0) has a brand[10] hue value = 17.

Expected Behavior

Palette with keyColor #FF0000 has a brand[10] hue value of 0.

Logs

No response

Requested priority

Normal

Products/sites affected

Only affects the ThemeDesigner component/tool

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions