Skip to content

Commit

Permalink
Merge pull request #2716 from IDEMSInternational/feature-mx-theme-update
Browse files Browse the repository at this point in the history
Mexico Theme: Refactor Theme-level Color Palette
  • Loading branch information
jfmcquade authored Jan 16, 2025
2 parents f349709 + 10d8d09 commit fb9d3e3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 100 deletions.
25 changes: 18 additions & 7 deletions src/theme/themes/plh_facilitator_mx/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
@mixin theme-plh_facilitator_mx {
[data-theme="plh_facilitator_mx"] {
/** Authoring variables **/
$color-primary: #006265; // #006265;
$color-secondary: #a83c0c; // #a83c0c;
$color-primary: #005054;
$color-secondary: #a83c0c;
$page-background: white;

/** Global and component variables **/
Expand All @@ -16,12 +16,12 @@
font-weight-bold: 700,
font-weight-extra-bold: 800,

font-size-text-tiny: 14px,
font-size-text-small: 16px,
font-size-text-mid-size: 18px,
font-size-text-medium: 20px,
font-size-text-tiny: 12px,
font-size-text-small: 14px,
font-size-text-mid-size: 16px,
font-size-text-medium: 18px,
font-size-text-large: 24px,
font-size-text-title: 28px,
font-size-text-title: 24px,
font-size-text-extra-large: 32px,

line-height-text-tiny: 18px,
Expand Down Expand Up @@ -101,6 +101,17 @@
color-accent-blue-70: #98adca,
color-accent-blue-80: #b9c8de,
color-accent-blue-90: #dce3ef,

// PRIMARY PALETTE OVERRIDE
ion-color-primary-800: #00383b,
ion-color-primary-700: #004448,
ion-color-primary-600: #0f696d,
ion-color-primary-500: #2c8388,
ion-color-primary-400: #509ca1,
ion-color-primary-300: #77b6b9,
ion-color-primary-200: #a2ced1,
ion-color-primary-100: #d0e7e8,
ion-color-primary-50: #e7f3f4,
);
@include utils.generateTheme($color-primary, $color-secondary, $page-background);
@each $name, $value in $variable-overrides {
Expand Down
8 changes: 4 additions & 4 deletions src/theme/themes/plh_facilitator_mx/_overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ body[data-theme="plh_facilitator_mx"] {
color: white;
}
.card.standard {
color: var(--ion-color-primary-800);
color: var(--ion-color-primary-600);
}
.alternative {
color: var(--ion-color-primary-50);
Expand Down Expand Up @@ -356,8 +356,8 @@ body[data-theme="plh_facilitator_mx"] {
}
}
.container-player[data-variant~="large"] {
background: var(--ion-color-primary-50);
border: 0.9px solid var(--ion-color-primary-100);
background: var(--ion-color-gary-100);
border: 0.9px solid var(--ion-color-gray-200);
box-sizing: border-box;
box-shadow: none;
border-radius: var(--ion-border-radius-standard);
Expand Down Expand Up @@ -398,7 +398,7 @@ body[data-theme="plh_facilitator_mx"] {
}
.btn-play {
@include mixins.large-square;
--background: var(--ion-color-primary-50) !important;
--background: var(--ion-color-gary-100) !important;
--border-radius: var(--ion-border-radius-rounded) !important;
--padding: 0 !important;
--box-shadow: none !important;
Expand Down
89 changes: 0 additions & 89 deletions src/theme/themes/plh_facilitator_mx/_typography.scss

This file was deleted.

0 comments on commit fb9d3e3

Please sign in to comment.