Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style: Use new color system #3926

Closed
wants to merge 4 commits into from

Conversation

VitroidFPV
Copy link
Member

@VitroidFPV VitroidFPV commented May 1, 2024

In preparation for a larger UI overhaul. Uses variables for all colors that get switched in dark mode, also further consistent with the website. dark-theme.less is used for resources that can't be easily/cleanly changed with variables - logos, graphics, and one-off colors.

It was a rough pass changing everything over, it's possible I missed something even through testing. Please check and report anything odd!

Screenshots below, but it's probably better to look through in the build preview we'll get shortly. Maybe a good place to try the collaborative review feature 😅
image
image
image
image
image

Copy link

netlify bot commented May 1, 2024

Deploy Preview for origin-betaflight-app ready!

Name Link
🔨 Latest commit cbe7e3c
🔍 Latest deploy log https://app.netlify.com/sites/origin-betaflight-app/deploys/6641d66095f2f800089a1080
😎 Deploy Preview https://deploy-preview-3926.dev.app.betaflight.com
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@haslinghuis haslinghuis added this to the 11.0 milestone May 1, 2024
@McGiverGim
Copy link
Member

The dark theme is ok. The light theme I'm not sure. Specially the header and the log in the same colour than the rest. I think I prefer some little more of contrast.

@nerdCopter
Copy link
Member

I find the yellow/orange links on light background difficult to eye.
Also something pretty about the old light theme, although not 100% light.

left this PR PWA -- right master NWjs
image

@@ -91,7 +91,7 @@ export default {
},
};
</script>
<style scoped>
<style scoped lang="less">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need lang="less"here? Don't think we are using any features from less in vue parts

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something seems to be odd with the indentation here

@chmelevskij
Copy link
Member

Isn't the light theme the same as on https://betaflight.com/docs/wiki/release/Betaflight-4-5-Release-Notes? If it is then we should probably just keep it the same, at least for now

@chmelevskij
Copy link
Member

Though, tried lighthouse on both documentation site and deploy preview. It tends to flag up similar issue with the link colours.

Given that point of this PR is to align docs and betaflight configurator I guess we can live with that. Otherwise we'd be again having different looks between configurator and docs... Would make sense addressing that in separate PR if you ask me.

Copy link

netlify bot commented May 5, 2024

Tomas Chmelevskij left a comment:

screenshot

@vitroid, do you think it's worth adjustting typography here, at least colours to match the documentation ones? I think lighting this one up a bit, adding some hue and removing those drop shadows should get us 80% there. WDYT?

Browser metadata
Path:      /
Browser:   Chrome 124.0.0.0 on Mac OS 10.15.7
Viewport:  1512 x 857 @2x
Language:  en-GB
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

Do you want to test this code? Here you have an automated build:
Betaflight-Configurator-Android
Betaflight-Configurator-Linux
Betaflight-Configurator-macOS
Betaflight-Configurator-Windows
WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

@haslinghuis haslinghuis mentioned this pull request May 13, 2024
52 tasks
@VitroidFPV
Copy link
Member Author

Closing as this was included in #3956

@VitroidFPV VitroidFPV closed this Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

5 participants