Add Activities

This adds a new Activities tab list and view similar to VS code. The
Explorer and Settings are migrated to this view.
This commit is contained in:
David Lechner
2022-05-12 12:33:21 -05:00
parent 65623f801d
commit edd8ebfd64
22 changed files with 673 additions and 468 deletions
+27 -1
View File
@@ -1,7 +1,33 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2020-2022 The Pybricks Authors
$toolbar-height: 72px;
@use 'sass:color';
@use '@blueprintjs/core/lib/scss/variables' as bp;
$status-bar-height: 30px;
// point at which we change the UI for narrow screens
$narrow-screen-limit: 700px;
// Official Pybricks branding color.
$pybricks-blue: #0088ce;
/**
* Adjusts the background contrast by $background-adjust (usually a percent).
*
* The light theme will be made darker by that amount and the dark theme will
* be made lighter.
*/
@mixin background-contrast($background-adjust) {
background-color: color.adjust(
bp.$pt-app-background-color,
$lightness: -$background-adjust
);
.#{bp.$ns}-dark & {
background-color: color.adjust(
bp.$pt-dark-app-background-color,
$lightness: $background-adjust
);
}
}