Skip to content

Commit 0894786

Browse files
committed
refactor: moved codehints icon colors to core_ui_variables file
1 parent 061d0cb commit 0894786

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/styles/brackets_core_ui_variables.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,3 +272,7 @@
272272
@dark-bc-codehint-desc: #2c2c2c;
273273
@dark-bc-codehint-desc-type-details: #46a0f5;
274274
@dark-bc-codehint-desc-documentation:#b1b1b1;
275+
276+
// CSS Codehint icon
277+
@css-codehint-icon: #2ea56c;
278+
@dark-css-codehint-icon: #146a41;

src/styles/brackets_patterns_override.less

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -703,14 +703,12 @@ a:focus {
703703
position: absolute;
704704
right: 0;
705705
margin-top:-2px;
706-
color: #2ea56c !important;
706+
color: @css-codehint-icon !important;
707707
.dark& {
708-
color: #146a41 !important;
708+
color: @dark-css-codehint-icon !important;
709709
}
710710
}
711711

712-
713-
714712
.emmet-css-code-hint {
715713
visibility: hidden;
716714
}
@@ -723,9 +721,9 @@ a:focus {
723721
font-size: 0.85em !important;
724722
font-weight: @font-weight-semibold;
725723
letter-spacing: 0.3px;
726-
color: #2ea56c !important;
724+
color: @css-codehint-icon !important;
727725
.dark& {
728-
color: #146a41 !important;
726+
color: @dark-css-codehint-icon !important;
729727
}
730728
}
731729

0 commit comments

Comments
 (0)