Skip to content

Commit

Permalink
cleanup scss file
Browse files Browse the repository at this point in the history
  • Loading branch information
TechAkayy committed Aug 29, 2024
1 parent 5566841 commit 5fa5b03
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions playground/assets/main.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
/* Any variables in the sass files in this folder - https://github.com/vuetifyjs/vuetify/blob/master/packages/vuetify/src/styles/settings/ */

// $font-family: 'Inter var', 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
@use 'vuetify' with (
$utilities: false,
// $reset: false,
$color-pack: false,
// $body-font-family: $font-family
);
4 changes: 2 additions & 2 deletions playground/assets/settings.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* DON'T USE @use here */
/* Any sass variables of individual V[Component] components */
/* used in index.vue page's style block, do not change @forward to @use */
@forward 'vuetify/settings' with (
$utilities: false,
$button-height: 40px,
);
11 changes: 11 additions & 0 deletions playground/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,16 @@ watch(current, () => {
<v-date-picker />
</v-locale-provider> -->
</div>
<button class="mb-2 ml-2 px-2 my-button text-white bg-primary rounded-lg">
Reserve
</button>
</div>
</template>

<style lang="scss">
@use '../assets/settings';
.my-button {
height: settings.$button-height;
}
</style>

0 comments on commit 5fa5b03

Please sign in to comment.