-
Notifications
You must be signed in to change notification settings - Fork 11
True Black Theme #171
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
base: 0.9.7-(under-construction)
Are you sure you want to change the base?
True Black Theme #171
Conversation
…onent Extracted toolbar functionality from PerformanceDashboard into new DashboardToolbar component. Removed 'actions' from default dashboard metrics. Updated layout to use flexbox with separate toolbar and metrics grid sections.
|
Testing challenge accepted :) |
|
During live testing, I think I ran into something completely unrelated regarind fit file writing in the |
Thanks, will pick it up this weekend. As this hasn't changed, I assume it is also in the production branch. |
Why does this happen? I think there should be a stop-command in between? What kind of session did you use? |
As far as I know, I was just picking up the handle and yanking 🤷. Really, this came up while I was calibrating things for the the thread over in #140 If I recall, the order went:
So it was a secondary thing I caught while testing the new UI and calibrating. |
… in localStorage. Remove deprecated DashboardActions component and migrate saved metrics Deleted DashboardActions.js component as functionality has been moved to DashboardToolbar.
Replaced dynamic inline style injection with CSS class-based approach for grid row configuration. Changed metrics container from div to semantic section element. Updated grid layout to use explicit grid-template-rows and added .rows-3 modifier class for 12-tile configuration.
…vements Reorganized CSS properties for better readability and consistency. Simplified button styles by removing redundant properties and using flex instead of inline-flex. Changed fullscreen/windowed icon containers from div with IDs to span with classes. Consolidated media query icon display rules into single-line declarations.
Added explicit grid-template-areas to PerformanceDashboard for clearer layout structure. Added min-height: 0 to metrics-grid and metric-tile to prevent grid blowout issues.
…rt legend. More reliable - Avoids Chart.js legend bugs on iOS and autoscaling issues Better for responsive design - HTML text naturally inherits the fluid typography Added host flex container styles and title styling at 80% font size with center alignment.
…thod for better performance and to follow Lit best practices.
df71d8e to
51e4804
Compare
…y for more efficient change detection with array values
Including new border definition, for division in true-black mode.
Theme preference is persisted to localStorage and applied via data-theme attribute on document root element.
51e4804 to
f2d04df
Compare
For those of us who do not have a tiny screen to attach to our Pi's, and want to preserve the battery of our smartphones!
Sets the stage for more themes, in case someone ever sets up… idk, MIP? E-Ink? 🤷
Currently depends on #170, though can be refactored to remove that dependency.
Using CSS themes, tucking setting away under
Experimentaluntil it's a little more battle-tested.Opted for borders over full background for maximum power savings.
Testing TBD