kopia lustrzana https://github.com/wagtail/wagtail
				
				
				
			Remove usage of color tokens which are duplicates
							rodzic
							
								
									55a5f16a8e
								
							
						
					
					
						commit
						e0f3f05ffd
					
				|  | @ -57,19 +57,19 @@ | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   &.warning { |   &.warning { | ||||||
|     background-color: theme('colors.surface-alert-warning'); |     background-color: theme('colors.warning.100'); | ||||||
|     border-color: theme('colors.surface-alert-warning'); |     border-color: theme('colors.warning.100'); | ||||||
| 
 | 
 | ||||||
|     &.button-secondary { |     &.button-secondary { | ||||||
|       border-color: theme('colors.surface-alert-warning'); |       border-color: theme('colors.warning.100'); | ||||||
|       color: theme('colors.surface-alert-warning'); |       color: theme('colors.warning.100'); | ||||||
|       background-color: transparent; |       background-color: transparent; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     &:hover { |     &:hover { | ||||||
|       color: theme('colors.text-button'); |       color: theme('colors.text-button'); | ||||||
|       border-color: transparent; |       border-color: transparent; | ||||||
|       background-color: theme('colors.surface-alert-warning'); |       background-color: theme('colors.warning.100'); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|  | @ -77,12 +77,12 @@ | ||||||
|   &.no, |   &.no, | ||||||
|   &.serious { |   &.serious { | ||||||
|     background-color: theme('colors.surface-page'); |     background-color: theme('colors.surface-page'); | ||||||
|     border: 1px solid theme('colors.surface-alert-danger'); |     border: 1px solid theme('colors.critical.200'); | ||||||
|     color: theme('colors.surface-alert-danger'); |     color: theme('colors.critical.200'); | ||||||
| 
 | 
 | ||||||
|     &:hover { |     &:hover { | ||||||
|       color: theme('colors.surface-alert-danger'); |       color: theme('colors.critical.200'); | ||||||
|       border-color: theme('colors.surface-alert-danger'); |       border-color: theme('colors.critical.200'); | ||||||
|       background-color: theme('colors.critical.50'); |       background-color: theme('colors.critical.50'); | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  | @ -278,11 +278,11 @@ | ||||||
| 
 | 
 | ||||||
| .dropdown.warning { | .dropdown.warning { | ||||||
|   ul { |   ul { | ||||||
|     background-color: theme('colors.surface-alert-warning'); |     background-color: theme('colors.warning.100'); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   .dropdown-toggle { |   .dropdown-toggle { | ||||||
|     background-color: theme('colors.surface-alert-warning'); |     background-color: theme('colors.warning.100'); | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
|  * StreamField and InlinePanel. |  * StreamField and InlinePanel. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| $guide-line-default-color: theme('colors.border-dashed-block'); | $guide-line-default-color: theme('colors.border-furniture'); | ||||||
| $stroke-width: 1px; | $stroke-width: 1px; | ||||||
| 
 | 
 | ||||||
| @mixin guide-line-vertical() { | @mixin guide-line-vertical() { | ||||||
|  |  | ||||||
|  | @ -89,7 +89,7 @@ $tooltip-color-no: theme('colors.critical.100'); | ||||||
|       border-color: currentColor; |       border-color: currentColor; | ||||||
| 
 | 
 | ||||||
|       &:hover { |       &:hover { | ||||||
|         color: theme('colors.surface-alert-danger'); |         color: theme('colors.critical.200'); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Thibaud Colas
						Thibaud Colas