Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Add !default to all variables #893

Open
4 tasks done
maedi opened this issue Dec 3, 2019 · 0 comments
Open
4 tasks done

Add !default to all variables #893

maedi opened this issue Dec 3, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request.

Comments

@maedi
Copy link

maedi commented Dec 3, 2019

Feature Request

  • I’ve read and understood the Contributing guidelines and have done my best effort to follow them.
  • I’ve read and agree to the Code of Conduct.
  • I’ve searched for any related issues and avoided creating a duplicate issue.
  • I've searched the community forums to check for related issues or feature requests

Problem

On multiple occasions we have needed to override variables such as:

$AU-colordark-background-alt:       darken( $AU-colordark-background, 8% );

We can't easily do so because they have no !default flag. In our use case we need 4 unique variants, not just Standard and Dark, but Standard-Alt and Dark-Alt to be customisable variants.

Solution

It would be nice if every variable had a !default flag to avoid hacky methods of overriding them.

@mrrossmullen mrrossmullen self-assigned this Mar 16, 2021
@mrrossmullen mrrossmullen added the enhancement New feature or request. label Mar 16, 2021
@mrrossmullen mrrossmullen added this to 🌱 Product Backlog in Design System via automation Mar 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request.
Projects
Design System
  
🌱 Product Backlog
Development

No branches or pull requests

3 participants