You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of #4740 (consumer migration path, alongside #5121).
The 2.x → 3.0 migration guide must cover the consumer-facing consequences of ADR-0010 (#5199) and ADR-0013 (#5200):
The import line stays the same (@import '@equinor/eds-tokens/css/variables') while every variable name changes — the guide is the intended path for that rename
Automatic system-dark does not carry over: 2.x follows the OS via a prefers-color-scheme fallback; 3.0 is attribute-driven per ADR-0004. Apps that relied on the automatic behaviour must set data-color-scheme themselves (e.g. from a matchMedia listener)
Setup recommendation: set data-color-scheme server-side or in an inline <head> script to avoid a light flash before hydration
Part of #4740 (consumer migration path, alongside #5121).
The 2.x → 3.0 migration guide must cover the consumer-facing consequences of ADR-0010 (#5199) and ADR-0013 (#5200):
@import '@equinor/eds-tokens/css/variables') while every variable name changes — the guide is the intended path for that renameprefers-color-schemefallback; 3.0 is attribute-driven per ADR-0004. Apps that relied on the automatic behaviour must setdata-color-schemethemselves (e.g. from amatchMedialistener)data-color-schemeserver-side or in an inline<head>script to avoid a light flash before hydrationDone when the migration guide and the 3.0 package README cover the points above.