Page MenuHomePhabricator

[Design] Implement the dark mode color palette and switch LESS variables in Vector to use it
Closed, ResolvedPublic

Description

We need to define a set of colors that will be used in dark mode. List of colors doesn't need to be final just something to get us started.

TODO

Related Objects

StatusSubtypeAssignedTask
Resolvedovasileva
Resolvedovasileva
Resolvedovasileva
ResolvedJdlrobson
Resolvedovasileva
Resolvedovasileva
ResolvedJScherer-WMF
Resolvedovasileva
ResolvedSpikeSToyofuku-WMF
Resolvedovasileva
Resolvedovasileva
ResolvedJdlrobson
Resolvedovasileva
ResolvedBUG REPORTJdlrobson
ResolvedBUG REPORTJScherer-WMF
ResolvedJdlrobson
DuplicateFeatureNone
ResolvedSpikeJdlrobson
ResolvedJdlrobson
Resolvedovasileva
ResolvedFeatureJdlrobson
DuplicateNone
ResolvedJdlrobson
Resolvedovasileva
DuplicateJdlrobson
Resolvedovasileva
ResolvedJdlrobson
DuplicateNone
ResolvedJdlrobson
ResolvedBUG REPORTovasileva
Resolvedovasileva
ResolvedVolker_E
InvalidNone
InvalidJdlrobson
DuplicateNone
DuplicateNone
DuplicateNone
DuplicateNone
Resolvedovasileva
ResolvedJdlrobson
ResolvedJdlrobson
ResolvedJdlrobson
ResolvedJdlrobson
DuplicateJdlrobson
ResolvedJdlrobson
ResolvedJdlrobson
ResolvedJdlrobson
ResolvedJdlrobson
ResolvedNone
DeclinedJdlrobson
ResolvedSToyofuku-WMF
ResolvedJdlrobson
ResolvedKSarabia-WMF
ResolvedNone
OpenNone
Resolvedovasileva
ResolvedJdlrobson
ResolvedJdlrobson
ResolvedBUG REPORTJdlrobson
DuplicateBUG REPORTNone
ResolvedBUG REPORTovasileva
Openovasileva
ResolvedBUG REPORTovasileva
ResolvedBUG REPORTabi_
ResolvedBUG REPORTNikerabbit
ResolvedBUG REPORTovasileva
ResolvedJdlrobson
ResolvedBUG REPORTJdlrobson
Resolvedovasileva
Resolvedovasileva
Resolvedovasileva
Resolvedovasileva
Resolvedovasileva
ResolvedFeatureNone
OpenNone
Resolvedovasileva
Resolvedovasileva
Resolvedovasileva
Resolvedovasileva
ResolvedJdrewniak
ResolvedJScherer-WMF

Event Timeline

Jdlrobson triaged this task as High priority.

cc @DTorsani-WMF This ticket is a placeholder colour palette to unblock dev and so we can go find edge cases.

Color: Standard
@color-base: 202122
@color-subtle: 54595d
@color-link: 36c
@color-link-new:36c
@color-link-selected:2a4b8d
@color-placeholder: 72777d
@color-emphasized: 000
@color-progressive: 36c
@color-destructive: d73333
@color-progressive--hover: 447ff5
@background-color-base: fff
@background-color-secondary: ??
@background-color-secondary--modern: ??
@color-visited: 6b4ba1

Color: Night
@color-base: #EAECF0 gray200
@color-subtle: #C8CCD1 gray300
@color-link: #6699FF blue300
@color-link-new: #6699FF blue300
@color-link-selected: #94B8FF

  • derived from blue300 + 30% white

@color-placeholder: #A2A9B1 gray400
@color-emphasized: #FFFFFF
@color-progressive: #6699FF blue300
@color-destructive: #FF4242 red500
@color-progressive--hover: #94B8FF
@background-color-base: #202122 gray700
@background-color-secondary: #2E3136 gray675
@background-color-secondary--modern: #202122 gray700
@color-visited: #9781BD

  • derived from color-visited + 30% white

To start, I mostly used colours from the Android dark mode palette with the addition of a new visited link colour.
Could we also add underlines to all links?
text-decoration: underline; everywhere and then

For standard and small sizes:
text-underline-offset: 4px;

For large sizes:
text-underline-offset: 6px;