-
-
Notifications
You must be signed in to change notification settings - Fork 2k
fix: scss import warning #7528
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: master
Are you sure you want to change the base?
fix: scss import warning #7528
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use '../variables' as *; | ||
|
|
||
| // | ||
| // Light Buttons | ||
| // | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use '../variables' as *; | ||
|
|
||
| .elevation-10 { | ||
| box-shadow: $box-shadow !important; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use '../variables' as *; | ||
|
|
||
| .theme-tab { | ||
| &.v-tabs { | ||
| .v-tab { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use '../variables' as *; | ||
|
|
||
| html { | ||
| overflow-y: auto; | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use '../variables' as *; | ||
|
|
||
| /*This is for the logo*/ | ||
| .leftSidebar { | ||
| border: 0px; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,21 @@ | ||
| @import './variables'; | ||
| @import 'vuetify/styles/main.sass'; | ||
| @import './override'; | ||
| @import './layout/container'; | ||
| @import './layout/sidebar'; | ||
| @use './variables'; | ||
| @use 'vuetify/styles/main.sass'; | ||
| @use './override'; | ||
| @use './layout/container'; | ||
| @use './layout/sidebar'; | ||
|
|
||
| @import './components/VButtons'; | ||
| @import './components/VCard'; | ||
| @import './components/VField'; | ||
| @import './components/VInput'; | ||
| @import './components/VNavigationDrawer'; | ||
| @import './components/VShadow'; | ||
| @import './components/VTextField'; | ||
| @import './components/VTabs'; | ||
| @import './components/VScrollbar'; | ||
| @import './components/CodeBlockDark'; | ||
| @use './components/VButtons'; | ||
| @use './components/VCard'; | ||
| @use './components/VField'; | ||
| @use './components/VInput'; | ||
| @use './components/VNavigationDrawer'; | ||
| @use './components/VShadow'; | ||
| @use './components/VTextField'; | ||
| @use './components/VTabs'; | ||
| @use './components/VScrollbar'; | ||
| @use './components/CodeBlockDark'; | ||
|
|
||
| @import './pages/dashboards'; | ||
| @use './pages/dashboards'; | ||
|
Comment on lines
+10
to
+18
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The migration to |
||
|
|
||
| html, body { | ||
| overscroll-behavior-y: none; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switching from
@importto@useforvuetify/styles/main.sasschanges how variable overrides are handled. In Sass modules, variables defined in./variables(such as$border-radius-rootor$color-pack) are no longer automatically available to the Vuetify module. If these variables were intended to customize Vuetify's default styling, you must now use thewithconfiguration syntax or ensure the variables are forwarded correctly. For example:@use 'vuetify/styles/main.sass' with ($border-radius-root: 8px);.