Merge pull request #2320 from zed-industries/petros/z-349-make-restart-to-update-zed-look
Make "Restart to update Zed" look clickable
This commit is contained in:
commit
eb7c6028f4
3 changed files with 38 additions and 38 deletions
|
@ -97,79 +97,79 @@ export interface TextProperties {
|
||||||
size?: keyof typeof fontSizes
|
size?: keyof typeof fontSizes
|
||||||
weight?: FontWeight
|
weight?: FontWeight
|
||||||
underline?: boolean
|
underline?: boolean
|
||||||
color?: string,
|
color?: string
|
||||||
features?: FontFeatures,
|
features?: FontFeatures
|
||||||
}
|
}
|
||||||
|
|
||||||
interface FontFeatures {
|
interface FontFeatures {
|
||||||
/** Contextual Alternates: Applies a second substitution feature based on a match of a character pattern within a context of surrounding patterns */
|
/** Contextual Alternates: Applies a second substitution feature based on a match of a character pattern within a context of surrounding patterns */
|
||||||
calt?: boolean;
|
calt?: boolean
|
||||||
/** Case-Sensitive Forms: Shifts various punctuation marks up to a position that works better with all-capital sequences */
|
/** Case-Sensitive Forms: Shifts various punctuation marks up to a position that works better with all-capital sequences */
|
||||||
case?: boolean;
|
case?: boolean
|
||||||
/** Capital Spacing: Adjusts inter-glyph spacing for all-capital text */
|
/** Capital Spacing: Adjusts inter-glyph spacing for all-capital text */
|
||||||
cpsp?: boolean;
|
cpsp?: boolean
|
||||||
/** Fractions: Replaces figures separated by a slash with diagonal fractions */
|
/** Fractions: Replaces figures separated by a slash with diagonal fractions */
|
||||||
frac?: boolean;
|
frac?: boolean
|
||||||
/** Standard Ligatures: Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes */
|
/** Standard Ligatures: Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes */
|
||||||
liga?: boolean;
|
liga?: boolean
|
||||||
/** Oldstyle Figures: Changes selected figures from the default or lining style to oldstyle form. */
|
/** Oldstyle Figures: Changes selected figures from the default or lining style to oldstyle form. */
|
||||||
onum?: boolean;
|
onum?: boolean
|
||||||
/** Ordinals: Replaces default alphabetic glyphs with the corresponding ordinal forms for use after figures */
|
/** Ordinals: Replaces default alphabetic glyphs with the corresponding ordinal forms for use after figures */
|
||||||
ordn?: boolean;
|
ordn?: boolean
|
||||||
/** Proportional Figures: Replaces figure glyphs set on uniform (tabular) widths with corresponding glyphs set on proportional widths */
|
/** Proportional Figures: Replaces figure glyphs set on uniform (tabular) widths with corresponding glyphs set on proportional widths */
|
||||||
pnum?: boolean;
|
pnum?: boolean
|
||||||
/** Stylistic set 01 */
|
/** Stylistic set 01 */
|
||||||
ss01?: boolean;
|
ss01?: boolean
|
||||||
/** Stylistic set 02 */
|
/** Stylistic set 02 */
|
||||||
ss02?: boolean;
|
ss02?: boolean
|
||||||
/** Stylistic set 03 */
|
/** Stylistic set 03 */
|
||||||
ss03?: boolean;
|
ss03?: boolean
|
||||||
/** Stylistic set 04 */
|
/** Stylistic set 04 */
|
||||||
ss04?: boolean;
|
ss04?: boolean
|
||||||
/** Stylistic set 05 */
|
/** Stylistic set 05 */
|
||||||
ss05?: boolean;
|
ss05?: boolean
|
||||||
/** Stylistic set 06 */
|
/** Stylistic set 06 */
|
||||||
ss06?: boolean;
|
ss06?: boolean
|
||||||
/** Stylistic set 07 */
|
/** Stylistic set 07 */
|
||||||
ss07?: boolean;
|
ss07?: boolean
|
||||||
/** Stylistic set 08 */
|
/** Stylistic set 08 */
|
||||||
ss08?: boolean;
|
ss08?: boolean
|
||||||
/** Stylistic set 09 */
|
/** Stylistic set 09 */
|
||||||
ss09?: boolean;
|
ss09?: boolean
|
||||||
/** Stylistic set 10 */
|
/** Stylistic set 10 */
|
||||||
ss10?: boolean;
|
ss10?: boolean
|
||||||
/** Stylistic set 11 */
|
/** Stylistic set 11 */
|
||||||
ss11?: boolean;
|
ss11?: boolean
|
||||||
/** Stylistic set 12 */
|
/** Stylistic set 12 */
|
||||||
ss12?: boolean;
|
ss12?: boolean
|
||||||
/** Stylistic set 13 */
|
/** Stylistic set 13 */
|
||||||
ss13?: boolean;
|
ss13?: boolean
|
||||||
/** Stylistic set 14 */
|
/** Stylistic set 14 */
|
||||||
ss14?: boolean;
|
ss14?: boolean
|
||||||
/** Stylistic set 15 */
|
/** Stylistic set 15 */
|
||||||
ss15?: boolean;
|
ss15?: boolean
|
||||||
/** Stylistic set 16 */
|
/** Stylistic set 16 */
|
||||||
ss16?: boolean;
|
ss16?: boolean
|
||||||
/** Stylistic set 17 */
|
/** Stylistic set 17 */
|
||||||
ss17?: boolean;
|
ss17?: boolean
|
||||||
/** Stylistic set 18 */
|
/** Stylistic set 18 */
|
||||||
ss18?: boolean;
|
ss18?: boolean
|
||||||
/** Stylistic set 19 */
|
/** Stylistic set 19 */
|
||||||
ss19?: boolean;
|
ss19?: boolean
|
||||||
/** Stylistic set 20 */
|
/** Stylistic set 20 */
|
||||||
ss20?: boolean;
|
ss20?: boolean
|
||||||
/** Subscript: Replaces default glyphs with subscript glyphs */
|
/** Subscript: Replaces default glyphs with subscript glyphs */
|
||||||
subs?: boolean;
|
subs?: boolean
|
||||||
/** Superscript: Replaces default glyphs with superscript glyphs */
|
/** Superscript: Replaces default glyphs with superscript glyphs */
|
||||||
sups?: boolean;
|
sups?: boolean
|
||||||
/** Swash: Replaces default glyphs with swash glyphs for stylistic purposes */
|
/** Swash: Replaces default glyphs with swash glyphs for stylistic purposes */
|
||||||
swsh?: boolean;
|
swsh?: boolean
|
||||||
/** Titling: Replaces default glyphs with titling glyphs for use in large-size settings */
|
/** Titling: Replaces default glyphs with titling glyphs for use in large-size settings */
|
||||||
titl?: boolean;
|
titl?: boolean
|
||||||
/** Tabular Figures: Replaces figure glyphs set on proportional widths with corresponding glyphs set on uniform (tabular) widths */
|
/** Tabular Figures: Replaces figure glyphs set on proportional widths with corresponding glyphs set on uniform (tabular) widths */
|
||||||
tnum?: boolean;
|
tnum?: boolean
|
||||||
/** Slashed Zero: Replaces default zero with a slashed zero for better distinction between "0" and "O" */
|
/** Slashed Zero: Replaces default zero with a slashed zero for better distinction between "0" and "O" */
|
||||||
zero?: boolean;
|
zero?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
export function text(
|
export function text(
|
||||||
|
|
|
@ -44,7 +44,7 @@ export default function statusBar(colorScheme: ColorScheme) {
|
||||||
hover: {
|
hover: {
|
||||||
message: text(layer, "sans"),
|
message: text(layer, "sans"),
|
||||||
iconColor: foreground(layer),
|
iconColor: foreground(layer),
|
||||||
background: background(layer),
|
background: background(layer, "hovered"),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
diagnosticMessage: {
|
diagnosticMessage: {
|
||||||
|
|
|
@ -175,7 +175,7 @@ export default function workspace(colorScheme: ColorScheme) {
|
||||||
// FlatButton, Variant
|
// FlatButton, Variant
|
||||||
signInPrompt: {
|
signInPrompt: {
|
||||||
margin: {
|
margin: {
|
||||||
left: itemSpacing
|
left: itemSpacing,
|
||||||
},
|
},
|
||||||
...titlebarButton,
|
...titlebarButton,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue