Factor out LabelLike to share common label styles (#3510)

This PR factors out a new `LabelLike` component to share common styles
between the `Label` and `HighlightedLabel` components.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2023-12-06 11:17:12 -05:00 committed by GitHub
parent f833cd7c16
commit 8f1c74b8bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 247 additions and 187 deletions

View file

@ -5,7 +5,7 @@ use gpui::{
WindowBounds, WindowHandle, WindowKind, WindowOptions,
};
use theme::ActiveTheme;
use ui::{h_stack, v_stack, Button, Clickable, Color, Icon, IconElement, Label};
use ui::{prelude::*, Button, Icon, IconElement, Label};
const COPILOT_SIGN_UP_URL: &'static str = "https://github.com/features/copilot";