switch to global variable file import for scss

This commit is contained in:
Xevion
2020-09-09 10:12:00 -05:00
parent c0305ef414
commit 00e0fb4da3
10 changed files with 7 additions and 16 deletions

View File

@@ -9,8 +9,6 @@
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../assets/scss/_variables";
.card-body h4, .card-body h4,
.breadcrumb-item.active { .breadcrumb-item.active {
text-transform: capitalize; text-transform: capitalize;

View File

@@ -19,8 +19,6 @@
</template> </template>
<style lang="scss"> <style lang="scss">
@import "../assets/scss/_variables";
.btn { .btn {
box-shadow: none; box-shadow: none;

View File

@@ -11,8 +11,6 @@
</template> </template>
<style lang="scss"> <style lang="scss">
@import "../assets/scss/_variables";
.card { .card {
color: $grey-9; color: $grey-9;
background-color: $grey-2; background-color: $grey-2;

View File

@@ -27,8 +27,6 @@
</template> </template>
<style lang="scss"> <style lang="scss">
@import "../assets/scss/_variables";
.quote-list > tr { .quote-list > tr {
white-space: nowrap; white-space: nowrap;

View File

@@ -73,8 +73,6 @@
</template> </template>
<style lang="scss"> <style lang="scss">
@import "../assets/scss/_variables";
.expandable-result { .expandable-result {
cursor: pointer; cursor: pointer;
} }

View File

@@ -12,8 +12,6 @@
</div> </div>
</template> </template>
<style lang="scss"> <style lang="scss">
@import "../assets/scss/_variables";
.card-footer { .card-footer {
padding: 0.1em; padding: 0.1em;
font-size: 0.8em; font-size: 0.8em;

View File

@@ -59,8 +59,6 @@
</template> </template>
<style lang="scss"> <style lang="scss">
@import "../assets/scss/_variables";
// Make all season cards 'clickable' // Make all season cards 'clickable'
.season-item > .card-body > .card-header { .season-item > .card-body > .card-header {
cursor: pointer; cursor: pointer;

View File

@@ -2,8 +2,6 @@
<div class="skeleton"></div> <div class="skeleton"></div>
</template> </template>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../assets/scss/_variables";
.skeleton { .skeleton {
background-color: $grey-4; background-color: $grey-4;
background-image: linear-gradient(90deg, $grey-4, $grey-6, $grey-4); background-image: linear-gradient(90deg, $grey-4, $grey-6, $grey-4);

View File

@@ -1,4 +1,11 @@
module.exports = { module.exports = {
outputDir: '../dist/', outputDir: '../dist/',
assetsDir: './static', assetsDir: './static',
css: {
loaderOptions: {
sass: {
prependData: '@import "@/scss/_variables.scss";'
}
}
}
}; };