Skip to content

Commit

Permalink
Inline deprecated scss variable $text-color
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Oct 15, 2024
1 parent d1aedbd commit 61f83fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
4 changes: 2 additions & 2 deletions resources/sass/components/forum/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@
font-size: 11px;
padding: 5px 0;
margin-top: 10px;
color: $text-color;
color: $body-color;

a {
color: $text-color;
color: $body-color;
}

.btn-history {
Expand Down
2 changes: 1 addition & 1 deletion resources/sass/core/_panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

a {
display: block;
color: $text-color;
color: $body-color;
padding: 6px 10px;
font-size: 12px;
text-shadow: #fff 0 1px 0;
Expand Down
15 changes: 4 additions & 11 deletions resources/sass/helpers/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ $warning: #d98d0d;
$danger: #d9534f;

$body-bg: #fafafa;
$text-color: #333; // @deprecated
$body-color: #333;
$code-color: rgba(51, 51, 51, .9);

Expand Down Expand Up @@ -52,7 +51,7 @@ $card-border-color: #ddd;

$pagination-bg: #ddd;
$pagination-disabled-bg: $gray-lighter;
$pagination-color: $text-color;
$pagination-color: $body-color;
$pagination-border-width: 0;
$pagination-active-color: #fff;
$pagination-active-bg: $gray-dark;
Expand All @@ -62,7 +61,7 @@ $pagination-padding-x: .55rem;
$dropdown-link-active-color: inherit;
$dropdown-link-active-bg: inherit;

$custom-control-indicator-checked-color: $text-color;
$custom-control-indicator-checked-color: $body-color;
$custom-control-indicator-checked-bg: #fff;
$custom-control-indicator-checked-border-color: #adb5bd;

Expand All @@ -82,7 +81,6 @@ $progress-border-radius: 10px;

$alert-border-width: 2px;


// DEPRECATED!!!

// nieco ciemniszy kolor linkow (w sytuacji gdy wiele linkow jest obok siebie domyslny kolor jest zbyt jasny)
Expand All @@ -99,23 +97,18 @@ $alt-link-hover-color: #d7661c;
// kolor naglowka <h4> znajdujacego sie w elemencie .box (elementy sekcji)
$box-header-color: #646466;

// kolor tla dla nieprzeczytanych elementow
$unread-bg: #fff3cd;
// :hover dla nowych elementow (powiadomienia, wiadomosci)
$unread-bg-hover: #ffdca5;
$unread-bg: #fff3cd; // kolor tla dla nieprzeczytanych elementow
$unread-bg-hover: #ffdca5; // :hover dla nowych elementow (powiadomienia, wiadomosci)

// Tag clouds, tag dropdown list and tag editor
// ----------------------------------------------

//$tag-color: $text-color;
$tag-color: $gray;
$tag-bg: $gray-lighter;
//$tag-bg: $pagination-bg;
$tag-counter-color: lighten($tag-color, 10%);
$tag-hover-color: $alt-link-hover-color;
$tag-hover-bg: darken($gray-lighter, 2%);


// Keyboard notation
// ----------------------------------------------

Expand Down

0 comments on commit 61f83fe

Please sign in to comment.