Skip to content

Commit 6c9d942

Browse files
astagizetareticoli
andauthored
fix: restore hsb primary and new custom variables
Co-authored-by: Francesco Improta <francesco@designabile.com>
1 parent 3251e43 commit 6c9d942

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

src/scss/_override-comuni.scss

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-modifica stili per template comuni non modificabili con la redifinizione delle variabili colore
22
//body
33
body {
4-
color: $neutral-1-a7;
4+
color: $color-text-secondary;
55
}
66
//BUTTONS
77
.btn-primary,
@@ -42,8 +42,9 @@ body {
4242
//card texts color
4343
.card .card-body h5.card-title,
4444
.card .card-body .card-title.h5 {
45-
color: $neutral-1-a7;
45+
color: $color-text-secondary;
4646
}
47+
4748
.text-primary {
48-
color: $neutral-1-a7 !important;
49+
color: $neutral-1-a7 !important; // TODO: check if still valid
4950
}

src/scss/bootstrap-italia-comuni.scss

+5-8
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,20 @@ $primary-b: 48;
2323
@import 'utilities/colors_vars';
2424

2525
// color custom variables
26+
$color-text-primary-hover: hsl(160, 100%, 19%); // color-seagreen-19
27+
$color-text-primary-active: hsl(160, 100%, 14%); // color-seagreen-14
28+
$color-background-primary-lighter: hsl(160, 40, 92%); // color-seagreen-92
29+
$btn-comuni-primary-hover: #fff;
2630
$header-center-bg-color: $primary;
2731
$header-slim-bg-color: #00402b;
28-
2932
$section-header-background-color: $primary-a10;
3033
$section-user-header-background-color: #f0f8f5;
31-
3234
$card-link-color: $primary;
33-
34-
$btn-comuni-primary-hover: #fff;
35-
35+
$card-comuni-bg-dark: #2c2c2c;
3636
$footer-comuni-bg-color: #202a2e;
37-
3837
$link-list-comuni-color: #455a64;
3938
$link-list-hover-color: $primary;
4039

41-
$card-comuni-bg-dark: #2c2c2c;
42-
4340
//variables
4441
@import 'variables';
4542

src/scss/utilities/colors_vars.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $primary-s: 100 !default;
4141
$primary-b: 80 !default;
4242
$primary-l: 40 !default; // Kit UI
4343

44-
$primary: hsl(210, 100%, 40%) !default; // color-blue-40
44+
$primary: hsb($primary-h, $primary-s, $primary-b) !default; // color-blue-40
4545

4646
$indigo: hsb(243, 70, 100) !default;
4747
$purple: hsb(243, 40, 100) !default;

0 commit comments

Comments
 (0)