0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

Darken some text emphasis and syntax colors

This commit is contained in:
Mark Otto 2022-12-29 12:11:40 -08:00 committed by Mark Otto
parent a9810ece61
commit fabe074199
3 changed files with 10 additions and 8 deletions

View File

@ -321,13 +321,13 @@ $theme-colors: (
) !default;
// scss-docs-end theme-colors-map
$primary-text: $blue-600 !default;
$secondary-text: $gray-600 !default;
$success-text: $green-600 !default;
$info-text: $cyan-700 !default;
$warning-text: $yellow-700 !default;
$danger-text: $red-600 !default;
$light-text: $gray-600 !default;
$primary-text: $blue-700 !default;
$secondary-text: $gray-700 !default;
$success-text: $green-700 !default;
$info-text: $cyan-800 !default;
$warning-text: $yellow-800 !default;
$danger-text: $red-700 !default;
$light-text: $gray-700 !default;
$dark-text: $gray-700 !default;
$primary-bg-subtle: $blue-100 !default;

View File

@ -3,6 +3,8 @@
//
.bd-callout {
--#{$prefix}link-color-rgb: #{to-rgb($blue-600)};
padding: 1.25rem;
margin-top: 1.25rem;
margin-bottom: 1.25rem;

View File

@ -19,7 +19,7 @@
<div class="d-md-flex flex-md-row-reverse align-items-center justify-content-between">
<div class="mb-3 mb-md-0 d-flex">
{{- if .Page.Params.added -}}
<small class="d-inline-flex px-2 py-1 fw-semibold text-success bg-success bg-opacity-10 border border-success border-opacity-10 rounded-2 me-2">Added in v{{ .Page.Params.added }}</small>
<small class="d-inline-flex px-2 py-1 fw-semibold text-success-emphasis bg-success-subtle border border-success-subtle rounded-2 me-2">Added in v{{ .Page.Params.added }}</small>
{{- end -}}
<a class="btn btn-sm btn-bd-light rounded-2" href="{{ .Site.Params.repo }}/blob/v{{ .Site.Params.current_version }}/site/content/{{ .Page.File.Path | replaceRE `\\` "/" }}" title="View and edit this file on GitHub" target="_blank" rel="noopener">
View on GitHub