Page MenuHomePhabricator

[native] Introduce designSystemColors to colors.js
ClosedPublic

Authored by ashoat on May 15 2023, 10:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 3:50 AM
Unknown Object (File)
Sun, Nov 17, 3:50 AM
Unknown Object (File)
Sun, Nov 17, 3:48 AM
Unknown Object (File)
Sat, Nov 16, 11:28 PM
Unknown Object (File)
Oct 17 2024, 12:33 AM
Unknown Object (File)
Oct 17 2024, 12:33 AM
Unknown Object (File)
Oct 17 2024, 12:30 AM
Unknown Object (File)
Sep 15 2024, 4:05 PM
Subscribers

Details

Summary

Following discussion offline and in D7740, we want to make native/themes/colors.js look more like web/theme.css, where the design system colors are defined at the top of the page in their own struct, and the domain-specific usages all references the design system colors.

There are many cases of colors that are using in the mobile app that are NOT in the design system. We'll sync with @ted on this and come back to it later.

Test Plan

Flow, careful reading

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Sweet, I think this will make colors.js much easier to work w/ in the future.

This revision is now accepted and ready to land.May 15 2023, 11:13 AM
This revision is now accepted and ready to land.May 15 2023, 11:14 AM