feat: provide global variables in all components (#669)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/669 Reviewed-by: konrad <k@knt.li> Co-authored-by: dpschen <dpschen@noreply.kolaente.de> Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
ecb3924b09
commit
0660129b41
10 changed files with 9 additions and 8 deletions
|
@ -457,7 +457,6 @@ export default {
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import '../../../node_modules/highlight.js/scss/base16/equilibrium-gray-light';
|
@import '../../../node_modules/highlight.js/scss/base16/equilibrium-gray-light';
|
||||||
@import '../../../node_modules/easymde/dist/easymde.min.css';
|
@import '../../../node_modules/easymde/dist/easymde.min.css';
|
||||||
@import '../../styles/theme/variables/all';
|
|
||||||
|
|
||||||
.editor {
|
.editor {
|
||||||
.clear {
|
.clear {
|
||||||
|
|
|
@ -44,8 +44,6 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@import '../../../styles/theme/variables/all';
|
|
||||||
|
|
||||||
.priority-label {
|
.priority-label {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
@ -269,8 +269,6 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import '@/styles/theme/variables/all';
|
|
||||||
|
|
||||||
.add-task-relation-button {
|
.add-task-relation-button {
|
||||||
margin-top: -3rem;
|
margin-top: -3rem;
|
||||||
|
|
||||||
|
|
|
@ -146,8 +146,6 @@ export default {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import '../../styles/theme/variables/all';
|
|
||||||
|
|
||||||
.cropper {
|
.cropper {
|
||||||
height: 80vh;
|
height: 80vh;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
@import 'variables/all';
|
|
||||||
@import 'theme';
|
@import 'theme';
|
||||||
|
|
||||||
@import 'content';
|
@import 'content';
|
||||||
|
|
|
@ -3,7 +3,16 @@ const {VitePWA} = require('vite-plugin-pwa')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const {visualizer} = require('rollup-plugin-visualizer')
|
const {visualizer} = require('rollup-plugin-visualizer')
|
||||||
|
|
||||||
|
const pathSrc = path.resolve(__dirname, './src')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
css: {
|
||||||
|
preprocessorOptions: {
|
||||||
|
scss: {
|
||||||
|
additionalData: `@import "${pathSrc}/styles/variables/_all.scss";`,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
createVuePlugin(),
|
createVuePlugin(),
|
||||||
VitePWA({
|
VitePWA({
|
||||||
|
|
Loading…
Reference in a new issue