-
Notifications
You must be signed in to change notification settings - Fork 77
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
allow palette overrides #204
Conversation
$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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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
src/scss/dependencies/_global.scss
Outdated
|
||
//accent color palette | ||
$accent-color-palette: $palette-lime; | ||
$accent-color-palette: $palette-lime!default; |
There was a problem hiding this comment.
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
src/scss/dependencies/_global.scss
Outdated
|
||
//primary color palette | ||
$primary-color-palette: $palette-teal; | ||
$primary-color-palette: $palette-teal!default; |
There was a problem hiding this comment.
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
b76e3ce
to
b16a0e1
Compare
$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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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
b16a0e1
to
0862218
Compare
0862218
to
899a3eb
Compare
thanks again @digitalkaoz |
@puranjayjain can you tag a minor Release please? |
this PR allows overriding palettes