提交 2f3ab823 编写于 作者: C codecalm

`font-weight` unify

上级 714a52f2
...@@ -5,7 +5,7 @@ $enable-extra-colors: true !default; ...@@ -5,7 +5,7 @@ $enable-extra-colors: true !default;
$enable-gradients: false !default; $enable-gradients: false !default;
// FONTS // FONTS
$google-font: "Nunito" !default; $google-font: "Source Sans Pro" !default;
$font-family-sans-serif: $google-font, -apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol !default; $font-family-sans-serif: $google-font, -apple-system, blinkmacsystemfont, segoe ui, helvetica, arial, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol !default;
$font-family-serif: "Georgia", "Times New Roman", times, serif !default; $font-family-serif: "Georgia", "Times New Roman", times, serif !default;
...@@ -110,6 +110,7 @@ $avatar-sizes: ( ...@@ -110,6 +110,7 @@ $avatar-sizes: (
//Fonts //Fonts
$font-size-base: .9375rem !default; $font-size-base: .9375rem !default;
$font-weight-bold: 600 !default;
$line-height-base: 1.6 !default; $line-height-base: 1.6 !default;
$body-letter-spacing: null !default; $body-letter-spacing: null !default;
...@@ -118,7 +119,7 @@ $border-width-wide: 2px !default; ...@@ -118,7 +119,7 @@ $border-width-wide: 2px !default;
$border-radius: 3px !default; $border-radius: 3px !default;
//Typography //Typography
$headings-font-weight: 600 !default; $headings-font-weight: $font-weight-bold !default;
$small-font-size: 87.5% !default; $small-font-size: 87.5% !default;
...@@ -182,7 +183,7 @@ $container-max-widths: ( ...@@ -182,7 +183,7 @@ $container-max-widths: (
) !default; ) !default;
//alerts //alerts
$alert-link-font-weight: 600 !default; $alert-link-font-weight: $font-weight-bold !default;
//breadcrumb //breadcrumb
$breadcrumb-variants: ( $breadcrumb-variants: (
...@@ -192,7 +193,7 @@ $breadcrumb-variants: ( ...@@ -192,7 +193,7 @@ $breadcrumb-variants: (
) !default; ) !default;
//badges //badges
$badge-font-weight: 500 !default; $badge-font-weight: $font-weight-bold !default;
$badge-empty-size: .5rem !default; $badge-empty-size: .5rem !default;
//buttons //buttons
...@@ -212,7 +213,7 @@ $input-height-sm: null !default; ...@@ -212,7 +213,7 @@ $input-height-sm: null !default;
$input-height-lg: null !default; $input-height-lg: null !default;
$btn-padding-x: 1rem !default; $btn-padding-x: 1rem !default;
$btn-font-weight: 500 !default; $btn-font-weight: $font-weight-bold !default;
$btn-border-radius: 3px !default; $btn-border-radius: 3px !default;
//cards //cards
......
@mixin subheader($include-color: true) { @mixin subheader($include-color: true) {
font-size: $h6-font-size; font-size: $h6-font-size;
font-weight: 600; font-weight: $font-weight-bold;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: .04em; letter-spacing: .04em;
......
...@@ -6,7 +6,7 @@ textarea { ...@@ -6,7 +6,7 @@ textarea {
.form-label { .form-label {
font-size: $h4-font-size; font-size: $h4-font-size;
font-weight: 600; font-weight: $font-weight-bold;
display: block; display: block;
margin-bottom: .5rem; margin-bottom: .5rem;
} }
......
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
.c1 { color: #75715e; } /* Comment.Single */ .c1 { color: #75715e; } /* Comment.Single */
.cs { color: #75715e; } /* Comment.Special */ .cs { color: #75715e; } /* Comment.Special */
.ge { font-style: italic; } /* Generic.Emph */ .ge { font-style: italic; } /* Generic.Emph */
.gs { font-weight: 700; } /* Generic.Strong */ .gs { font-weight: $font-weight-bold; } /* Generic.Strong */
.kc { color: #66d9ef; } /* Keyword.Constant */ .kc { color: #66d9ef; } /* Keyword.Constant */
.kd { color: #66d9ef; } /* Keyword.Declaration */ .kd { color: #66d9ef; } /* Keyword.Declaration */
.kn { color: #f92672; } /* Keyword.Namespace */ .kn { color: #f92672; } /* Keyword.Namespace */
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
.list-timeline-title { .list-timeline-title {
margin: 0; margin: 0;
font-weight: 600; font-weight: $font-weight-bold;
} }
.list-timeline-content { .list-timeline-content {
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
} }
&.active { &.active {
font-weight: 600; font-weight: $font-weight-bold;
color: $primary; color: $primary;
background: rgba($primary, .06); background: rgba($primary, .06);
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
.nav-tabs-alt { .nav-tabs-alt {
.nav-link { .nav-link {
font-size: 13px; font-size: 13px;
font-weight: 600; font-weight: $font-weight-bold;
text-transform: uppercase; text-transform: uppercase;
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
z-index: 1; z-index: 1;
padding: .25rem .75rem; padding: .25rem .75rem;
font-size: $h6-font-size; font-size: $h6-font-size;
font-weight: 700; font-weight: $font-weight-bold;
line-height: 1.5rem; line-height: 1.5rem;
color: #fff; color: #fff;
text-align: center; text-align: center;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
padding: 0 .25rem; padding: 0 .25rem;
font-size: $font-size-base; font-size: $font-size-base;
font-weight: 600; font-weight: $font-weight-bold;
color: $text-muted; color: $text-muted;
text-align: center; text-align: center;
background: $gray-200; background: $gray-200;
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
} }
&.active { &.active {
font-weight: 600; font-weight: $font-weight-bold;
&::before { &::before {
background: #fff; background: #fff;
......
...@@ -28,7 +28,7 @@ h6, ...@@ -28,7 +28,7 @@ h6,
strong, strong,
b { b {
font-weight: 600; font-weight: $font-weight-bold;
} }
blockquote { blockquote {
......
.apexcharts-title-text { .apexcharts-title-text {
font-weight: 600 !important; font-weight: $font-weight-bold !important;
} }
.apexcharts-tooltip-title { .apexcharts-tooltip-title {
font-weight: 600 !important; font-weight: $font-weight-bold !important;
padding-bottom: .25rem !important; padding-bottom: .25rem !important;
} }
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
.fc-day-header { .fc-day-header {
padding-bottom: .25rem; padding-bottom: .25rem;
font-weight: 600; font-weight: $font-weight-bold;
} }
&.card-calendar { &.card-calendar {
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
} }
.fc-time { .fc-time {
font-weight: 600; font-weight: $font-weight-bold;
} }
.fc-event { .fc-event {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册