From 36951c3c9599c431f4617dfe46cf13b0eb75519b Mon Sep 17 00:00:00 2001 From: howard-stearns Date: Wed, 19 Oct 2016 11:24:21 -0700 Subject: [PATCH] colors --- interface/resources/qml/AddressBarDialog.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/interface/resources/qml/AddressBarDialog.qml b/interface/resources/qml/AddressBarDialog.qml index 7c54a6a626..941099b7cc 100644 --- a/interface/resources/qml/AddressBarDialog.qml +++ b/interface/resources/qml/AddressBarDialog.qml @@ -21,6 +21,7 @@ import "controls-uit" as HifiControls Window { id: root HifiConstants { id: hifi } + HifiStyles.HifiConstants { id: hifiStyleConstants } objectName: "AddressBarDialog" title: "Go To" @@ -430,10 +431,10 @@ Window { function updateLocationText(enteringAddress) { if (enteringAddress) { notice.text = "Go to a place, @user, path or network address"; - notice.color = "gray"; + notice.color = hifiStyleConstants.colors.baseGrayHighlight; } else { notice.text = AddressManager.isConnected ? "Your location:" : "Not Connected"; - notice.color = AddressManager.isConnected ? "gray" : "crimson"; + notice.color = AddressManager.isConnected ? hifiStyleConstants.colors.baseGrayHighlight : hifiStyleConstants.colors.redHighlight; // Display hostname, which includes ip address, localhost, and other non-placenames. location.text = (AddressManager.hostname || '') + (AddressManager.pathname ? AddressManager.pathname.match(/\/[^\/]+/)[0] : ''); }