at-ui-style icon indicating copy to clipboard operation
at-ui-style copied to clipboard

Override doesn't work

Open Michael-Reich opened this issue 7 years ago • 8 comments

I use the standard template from nuxt-starter and try to import scss to override variables. But it does not work:

@import '../node_modules/at-ui-style/src/variables/default.scss';
@import '../node_modules/at-ui-style/src/variables/timing-function.scss';

$link-color: #c03;
$btn-primary-bg: #c03;


@import '../node_modules/at-ui-style/src/mixins/index.scss';
@import '../node_modules/at-ui-style/src/core/index.scss';
@import '../node_modules/at-ui-style/src/components/index.scss';

Embeded in the Layout.vue

<template>
  <div>
    <Header/>
    <nuxt/>
  </div>
</template>

<script>
  import Vue from 'vue'
  import AtComponents from 'at-ui'
  import Header from '~/components/Header.vue'

  Vue.use(AtComponents)

  export default {
    components: {
      Header
    }
  }
</script>

<style lang="scss">
 @import '../assets/main.scss';

  img {
    image-rendering: auto;
    image-rendering: crisp-edges;
  }
</style>

Michael-Reich avatar Feb 05 '18 21:02 Michael-Reich

I ran into the same issue. Filing a pull request to handle this.

bryanculver avatar May 16 '18 03:05 bryanculver

Thank you, did you already got accepted?

Michael-Reich avatar May 24 '18 12:05 Michael-Reich

The maintainer was a bit busy recently. So...

yoyo837 avatar May 24 '18 12:05 yoyo837

@Michael-Reich Unfortunately it's still open: https://github.com/AT-UI/at-ui-style/pull/18

bryanculver avatar May 24 '18 13:05 bryanculver

How can we push this? The package is super awesome with this fix applied and basically useless without it.

shredding avatar May 25 '18 12:05 shredding

@shredding Unfortunately we would need a maintainer, which appears to be @koppthe or @JChehe, to merge this in and they seem back up currently. There has been no response to this ticket or pull request.

bryanculver avatar May 25 '18 14:05 bryanculver

There has been no response

At least they maintain the same spirit as in their mobile phone contract support.

Just kidding :-)

shredding avatar May 25 '18 14:05 shredding

At least they maintain the same spirit as in their mobile phone contract support.

Thankfully this isn't associated with AT&T. 😆

bryanculver avatar May 25 '18 14:05 bryanculver