Skip to content
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

allow palette overrides #204

Merged

Conversation

digitalkaoz
Copy link
Collaborator

this PR allows overriding palettes

$picker-primary-text-theme-color: $color-primary-text!default;
$picker-secondary-text-theme-color: $color-secondary-text!default;
$picker-circle-color: $palette-grey-700!default;
$picker-line-color: $palette-primary-200!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space

$md-button-color--disabled: $color-hint-text!default;
$picker-primary-text-theme-color: $color-primary-text!default;
$picker-secondary-text-theme-color: $color-secondary-text!default;
$picker-circle-color: $palette-grey-700!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space

$md-button-color--active: $palette-grey-600!default;
$md-button-color--disabled: $color-hint-text!default;
$picker-primary-text-theme-color: $color-primary-text!default;
$picker-secondary-text-theme-color: $color-secondary-text!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space

$md-button-color--focus: $palette-grey-700!default;
$md-button-color--active: $palette-grey-600!default;
$md-button-color--disabled: $color-hint-text!default;
$picker-primary-text-theme-color: $color-primary-text!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space

$md-button-color: $palette-primary-200!default;
$md-button-color--focus: $palette-grey-700!default;
$md-button-color--active: $palette-grey-600!default;
$md-button-color--disabled: $color-hint-text!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space

$picker-line-color: $palette-primary-200;
$picker-header-color: $palette-grey-700!default;
$picker-body-color: $palette-grey-800!default;
$picker-button-left:'../images/ic_keyboard_arrow_left_white_24px.svg'!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space

$picker-circle-color: $palette-grey-700;
$picker-line-color: $palette-primary-200;
$picker-header-color: $palette-grey-700!default;
$picker-body-color: $palette-grey-800!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space

$picker-secondary-text-theme-color: $color-secondary-text;
$picker-circle-color: $palette-grey-700;
$picker-line-color: $palette-primary-200;
$picker-header-color: $palette-grey-700!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space


//accent color palette
$accent-color-palette: $palette-lime;
$accent-color-palette: $palette-lime!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space


//primary color palette
$primary-color-palette: $palette-teal;
$primary-color-palette: $palette-teal!default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

! should be preceded by a space, and should not be followed by a space

$shadow-ambient-shadow-opacity: 0.12 !default;
$shadow-key-umbra-opacity: .2 !default;
$shadow-key-penumbra-opacity: .14 !default;
$shadow-ambient-shadow-opacity: .12 !default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.12 should be written with a leading zero as 0.12

$shadow-key-penumbra-opacity: 0.14 !default;
$shadow-ambient-shadow-opacity: 0.12 !default;
$shadow-key-umbra-opacity: .2 !default;
$shadow-key-penumbra-opacity: .14 !default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.14 should be written with a leading zero as 0.14

$shadow-key-umbra-opacity: 0.2 !default;
$shadow-key-penumbra-opacity: 0.14 !default;
$shadow-ambient-shadow-opacity: 0.12 !default;
$shadow-key-umbra-opacity: .2 !default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.2 should be written with a leading zero as 0.2

$picker-button-left: $picker-images-base-path + 'ic_keyboard_arrow_left_white_24px.svg' !default;
$picker-button-right: $picker-images-base-path + 'ic_keyboard_arrow_right_white_24px.svg' !default;
$picker-button-left-disabled: $picker-images-base-path + 'ic_keyboard_arrow_left_white_disabled_24px.svg' !default;
$picker-button-right-disabled: $picker-images-base-path + 'ic_keyboard_arrow_right_white_disabled_24px.svg' !default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer double-quoted strings

$picker-body-color: $palette-grey-800 !default;
$picker-button-left: $picker-images-base-path + 'ic_keyboard_arrow_left_white_24px.svg' !default;
$picker-button-right: $picker-images-base-path + 'ic_keyboard_arrow_right_white_24px.svg' !default;
$picker-button-left-disabled: $picker-images-base-path + 'ic_keyboard_arrow_left_white_disabled_24px.svg' !default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer double-quoted strings

@@ -50,13 +50,15 @@ $palette-accent-900: nth($accent-color-palette, 10);

//theme dependent items

$picker-images-base-path: '../images/' !default;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer double-quoted strings

$color-primary-text: rgb(255, 255, 255);
$color-secondary-text: rgba(255, 255, 255, .7);
$color-hint-text: rgba(255, 255, 255, .3);
$color-disabled-text: rgba(255, 255, 255, .12);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.12 should be written with a leading zero as 0.12

$color-disabled-text: rgba(255,255,255,0.12);
$color-primary-text: rgb(255, 255, 255);
$color-secondary-text: rgba(255, 255, 255, .7);
$color-hint-text: rgba(255, 255, 255, .3);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.3 should be written with a leading zero as 0.3

$color-hint-text: rgba(255,255,255,0.3);
$color-disabled-text: rgba(255,255,255,0.12);
$color-primary-text: rgb(255, 255, 255);
$color-secondary-text: rgba(255, 255, 255, .7);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.7 should be written with a leading zero as 0.7

$color-primary-dark-text: rgba(0, 0, 0, .87);
$color-secondary-dark-text: rgba(0, 0, 0, .54);
$color-hint-dark-text: rgba(0, 0, 0, .26);
$color-disabled-dark-text: rgba(0, 0, 0, .12);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.12 should be written with a leading zero as 0.12

@puranjayjain puranjayjain merged commit 5dec104 into puranjayjain:master Mar 11, 2017
@puranjayjain
Copy link
Owner

thanks again @digitalkaoz

@digitalkaoz
Copy link
Collaborator Author

@puranjayjain can you tag a minor Release please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants