Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit a240c12

Browse files
larz0Narciso Jaramillo
authored andcommitted
Convert bold to semibold in various UI elements and JS hints. Use Source Code Pro instead of default monospace font for keyword hints.
1 parent 213f34b commit a240c12

3 files changed

Lines changed: 30 additions & 6 deletions

File tree

src/extensions/default/JavaScriptCodeHints/styles/brackets-js-hints.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,20 @@
4545

4646
.brackets-js-hints.literal-hint {
4747
color: #444; /* dark grey */
48-
font-family: monospace;
48+
font-family: SourceCodePro;
4949
}
5050

5151
.brackets-js-hints.keyword-hint {
52-
font-family: monospace;
52+
font-family: SourceCodePro;
53+
}
54+
55+
.brackets-js-hints.keyword-hint .matched-hint {
56+
font-family: SourceCodePro-Medium;
57+
font-weight: 500;
5358
}
5459

5560
.brackets-js-hints .matched-hint {
56-
font-weight: bold;
61+
font-weight: 500;
5762
}
5863

5964
.brackets-js-hints.guess-hint {

src/styles/brackets_fonts.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
32
//
43
// Permission is hereby granted, free of charge, to any person obtaining a

src/styles/brackets_patterns_override.less

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,10 +851,30 @@ strong {
851851
/* Type */
852852

853853
code {
854-
color: @bc-black;
855-
background-color: transparent;
854+
color: @bc-black;
855+
background-color: transparent;
856856
}
857857

858858
label {
859859
font-size: @label-font-size;
860860
}
861+
862+
/* Overriding Bootstrap's bold properties */
863+
864+
h1,
865+
h2,
866+
h3,
867+
h4,
868+
h5,
869+
h6,
870+
b,
871+
strong,
872+
dt,
873+
.label {
874+
font-weight: @font-weight-semibold;
875+
}
876+
877+
.alert-message a,
878+
.form-stacked label {
879+
font-weight: @font-weight-semibold;
880+
}

0 commit comments

Comments
 (0)