Skip to content

Commit

Permalink
fix(style): use variables where appropriate
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Lamas <[email protected]>
  • Loading branch information
pedrolamas committed Dec 7, 2023
1 parent 33d1146 commit 7dcf21d
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/common/ManualProbeDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ export default class ManualProbeDialog extends Mixins(StateMixin, ToolheadMixin)
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
.bysect-row > .col {
Expand Down
1 change: 1 addition & 0 deletions src/components/layout/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ export default class AppBar extends Mixins(StateMixin, ServicesMixin, FilesMixin
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
.toolbar-logo {
Expand Down
1 change: 1 addition & 0 deletions src/components/layout/AppNotificationMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ export default class AppNotificationMenu extends Mixins(BrowserMixin) {
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
:deep(.app-notifications .v-list-item__action.notification-suffix),
Expand Down
1 change: 1 addition & 0 deletions src/components/settings/VersionInformationDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export default class VersionInformationDialog extends Vue {
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
ol.commit-history {
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/AppBtnGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default class AppBtnGroup extends Vue {
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
@include theme(app-btn-group) using ($material) {
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/AppCodeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export default class AppCodeView extends Vue {
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
.theme--light .code-view {
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/AppColorPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ export default class AppColorPicker extends Vue {
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
.color-input div {
Expand Down
1 change: 1 addition & 0 deletions src/components/ui/AppNavItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default class AppNavItem extends Mixins(StateMixin, BrowserMixin) {
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
button {
Expand Down
1 change: 1 addition & 0 deletions src/components/widgets/filesystem/FileSystemBrowser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,7 @@ export default class FileSystemBrowser extends Mixins(FilesMixin) {
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
// Lighten up dark mode checkboxes.
Expand Down
1 change: 1 addition & 0 deletions src/components/widgets/job-queue/JobQueueBrowser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export default class JobQueueBrowser extends Mixins(StateMixin) {
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
// Lighten up dark mode checkboxes.
Expand Down
1 change: 1 addition & 0 deletions src/components/widgets/thermals/TemperatureTargets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ export default class TemperatureTargets extends Mixins(StateMixin) {
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
.theme--light :deep(.v-data-table.temperature-table > .v-data-table__wrapper > table) {
Expand Down
1 change: 1 addition & 0 deletions src/components/widgets/toolhead/ToolheadControlCircle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ export default class ToolheadControlCircle extends Mixins(StateMixin, ToolheadMi
</script>

<style lang="scss" scoped>
@import '@/scss/variables';
@import 'vuetify/src/styles/styles.sass';
@include theme(app-circle-control) using ($material) {
Expand Down
2 changes: 1 addition & 1 deletion src/scss/global.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import 'vuetify/src/styles/styles.sass';
@import './variables';
@import 'vuetify/src/styles/styles.sass';

/* Import our fonts */
@import "@fontsource/roboto/300.css";
Expand Down

0 comments on commit 7dcf21d

Please sign in to comment.