Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Enable Dark-mode colors & Add missing colours to /e/ UI SDK

  • /e/ version:
  • Device model(s):

Summary

Some basic colours are missing in /e/ UI SDK which can be used across apps.

Description

What is the current behavior?

Same colours are re-define in apps' `values` & `values-night` directory again & again.

What is the improved behavior?

These colours will be served by SDK & can be change with the accent colour change. Apps don't need to bother with them.

What does it bring?

UI impo

Examples

Validation

Colours to be added

  • color_default_primary dark variant: (#4D4D4D)

  • color_default_primary_dark dark variant: (#4D4D4D)

  • color_default_primary_text dark variant: (#FFFFFFCC)

  • color_default_secondary_text dark variant: (#FFFFFF8C)

  • color_default_background dark variant: (#333333)

  • color_default_foreground dark variant: (#666666)

  • item selection colour:
    light-mode-> (#EAF5FD)
    dark-mode -> (#394456)

  • divider colour:
    light-mode-> (#CFD8DC)
    dark-mode -> (#828586)

  • color_default_light_black -> (#1e1e1e)

Edited by Fahim Salam Chowdhury