mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Remove dark mode --bs-heading-color value, set to null, and add custom styles for the docs dark mode headings
This commit is contained in:
		
							parent
							
								
									9013c9884e
								
							
						
					
					
						commit
						da1c968965
					
				|  | @ -190,7 +190,9 @@ | |||
|     --#{$prefix}light-border-subtle: #{$light-border-subtle-dark}; | ||||
|     --#{$prefix}dark-border-subtle: #{$dark-border-subtle-dark}; | ||||
| 
 | ||||
|     --#{$prefix}heading-color: #{$headings-color-dark}; | ||||
|     @if $headings-color-dark != null { | ||||
|       --#{$prefix}heading-color: #{$headings-color-dark}; | ||||
|     } | ||||
| 
 | ||||
|     --#{$prefix}link-color: #{$link-color-dark}; | ||||
|     --#{$prefix}link-hover-color: #{$link-hover-color-dark}; | ||||
|  |  | |||
|  | @ -44,7 +44,7 @@ $body-tertiary-bg-dark:             mix($gray-800, $gray-900, 50%) !default; | |||
| $emphasis-color-dark:               $white !default; | ||||
| $border-color-dark:                 $gray-700 !default; | ||||
| $border-color-translucent-dark:     rgba($white, .15) !default; | ||||
| $headings-color-dark:               #fff !default; | ||||
| $headings-color-dark:               null !default; | ||||
| $link-color-dark:                   $blue-300 !default; | ||||
| $link-hover-color-dark:             $blue-200 !default; | ||||
| $code-color-dark:                   $pink-300 !default; | ||||
|  |  | |||
|  | @ -9,6 +9,12 @@ | |||
|     margin-top: -5rem; | ||||
|   } | ||||
| 
 | ||||
|   > h2, | ||||
|   > h3, | ||||
|   > h4 { | ||||
|     --#{$prefix}heading-color: #fff; | ||||
|   } | ||||
| 
 | ||||
|   > h2:not(:first-child) { | ||||
|     margin-top: 3rem; | ||||
|   } | ||||
|  | @ -102,6 +108,7 @@ | |||
| } | ||||
| 
 | ||||
| .bd-title { | ||||
|   --#{$prefix}heading-color: #fff; | ||||
|   @include font-size(3rem); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue