Beautiful go to line modal
Co-authored-by: Julia <julia@zed.dev> Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
parent
ae2d0f1fa1
commit
7cdece4857
4 changed files with 124 additions and 81 deletions
|
@ -63,7 +63,13 @@ pub struct Theme {
|
|||
}
|
||||
|
||||
impl Theme {
|
||||
/// Returns the [`ThemeColors`] for the theme.
|
||||
/// Returns the [`SystemColors`] for the theme.
|
||||
#[inline(always)]
|
||||
pub fn system(&self) -> &SystemColors {
|
||||
&self.styles.system
|
||||
}
|
||||
|
||||
/// Returns the [`PlayerColors`] for the theme.
|
||||
#[inline(always)]
|
||||
pub fn players(&self) -> &PlayerColors {
|
||||
&self.styles.player
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue