Skip to content

Commit

Permalink
VPN-6700: fix color (#10059)
Browse files Browse the repository at this point in the history
* VPN-6700 fix color

* other fixes

* housekeeping
  • Loading branch information
mcleinman authored Nov 21, 2024
1 parent d0884e2 commit 499d5aa
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linters (clang, l10n)
name: Linters (clang, l10n, colors)
on:
# Triggers the workflow on pull request events but only for the main branch
pull_request:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,6 @@ If you don't know the answers to these questions, reach out to Sarah Bird or the

[![Unit Tests](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/test_unit.yaml/badge.svg)](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/test_unit.yaml)
[![Lottie Tests](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/test_lottie.yaml/badge.svg)](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/test_lottie.yaml)
[![Linters (clang, l10n)](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/linters.yaml/badge.svg)](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/linters.yaml)
[![Linters (clang, l10n, colors)](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/linters.yaml/badge.svg)](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/linters.yaml)
[![Linux Packages](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/linux.yaml/badge.svg)](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/linux.yaml)
[![WebAssembly](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/wasm.yaml/badge.svg)](https://github.com/mozilla-mobile/mozilla-vpn-client/actions/workflows/wasm.yaml)
2 changes: 1 addition & 1 deletion nebula/ui/components/MZAlert.qml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Rectangle {
name: stateNames.warning
PropertyChanges {
target: focusIndicators
colorScheme: MZTheme.theme.warningAlert
colorScheme: MZTheme.colors.warningAlert
}

PropertyChanges {
Expand Down
2 changes: 1 addition & 1 deletion nebula/ui/components/MZPopupButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ MZButtonBase {

property alias buttonText: buttonText.text
property alias buttonTextColor: buttonText.color
property var colorScheme
property var colorScheme: MZTheme.colors.normalButton
property var uiState:MZTheme.theme.uiState
property bool isCancelBtn

Expand Down
2 changes: 1 addition & 1 deletion nebula/ui/themes/main/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ color.primaryPressed = color.dullPurple;
color.bgColor = color.grey5;
color.bgColorTransparent = addTransparency(color.bgColor, 0.0);
color.bgColorStronger = color.white;
color.overlayBackground = addTransparency(color.black, 0.0);
color.overlayBackground = addTransparency(color.black, 0.3);

// Fonts
color.fontColor = color.grey40;
Expand Down
2 changes: 1 addition & 1 deletion nebula/ui/themes/not-designer-approved/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ color.primaryPressed = color.purple90;
color.bgColor = color.grey60;
color.bgColorTransparent = addTransparency(color.bgColor, 0.0);
color.bgColorStronger = color.black;
color.overlayBackground = addTransparency(color.white, 0.0);
color.overlayBackground = addTransparency(color.white, 0.3);

// Fonts
color.fontColor = color.grey40;
Expand Down
2 changes: 1 addition & 1 deletion nebula/ui/themes/theme-derived.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ color.iconButtonDarkBackground = {
buttonHovered: color.primaryHovered,
buttonPressed: color.primaryPressed,
buttonDisabled: addTransparency(color.primary, 0.0),
focusOutline: color.transparent,
focusOutline: addTransparency(color.primaryHovered, 0.0),
focusBorder: color.lightFocusBorder,
};

Expand Down

0 comments on commit 499d5aa

Please sign in to comment.