Files
oak-gpui/crates
Marshall Bowers 0d95410634 Rework third-party themes (#3254)
This PR reworks the way we define our third-party themes to make them
work as overlays on top of a base theme.

We introduce the concept of a `UserThemeFamily` that contains
`UserTheme`s. Rather than being an entire theme definition on their own,
a `UserTheme` just contains optional overrides for the values in a
`Theme`.

When resolving a `UserTheme`, we apply it on top of the base theme. Any
values not overridden in the `UserTheme` will fall back to the `Theme`
defaults.

Right now we are just using `UserTheme` to model third-party themes that
we distribute with the Zed binary. However, this same structure can also
be used to import arbitrary user themes (such as from a theme registry,
or even a theme blob from the settings file).

Release Notes:

- N/A
2023-11-07 11:40:07 -05:00
..
2023-11-02 10:55:02 -07:00
2023-11-02 10:55:02 -07:00
2023-10-27 10:55:15 +02:00
2023-11-02 10:55:02 -07:00
2023-11-03 10:41:41 -07:00
2023-11-01 14:50:29 -04:00
2023-11-03 10:09:00 +01:00
2023-11-02 10:55:02 -07:00
2023-11-06 19:29:31 +02:00
2023-11-03 21:51:12 +02:00
2023-10-12 16:17:41 +03:00
2023-11-02 19:18:01 -06:00
2023-11-02 10:55:02 -07:00
2023-11-02 19:18:01 -06:00
2023-11-07 08:43:15 -07:00
2023-11-03 12:55:06 +02:00
2023-11-02 10:55:02 -07:00
2023-11-02 10:55:02 -07:00
2023-11-02 19:19:18 -06:00
2023-11-03 11:02:50 +02:00
2023-11-03 11:02:50 +02:00
2023-11-03 11:02:50 +02:00
2023-11-03 11:02:50 +02:00
2023-11-02 19:30:33 -06:00
2023-11-03 10:41:41 -07:00
2023-11-02 10:55:02 -07:00
2023-11-03 14:53:08 +01:00
2023-11-07 11:40:07 -05:00
wip
2023-11-01 13:53:45 -06:00
2023-10-23 11:06:58 +02:00
2023-10-25 15:53:34 +02:00
2023-10-28 11:37:25 -04:00