Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Switch, RadioButton, Checkbox, ProgressBar, ProgressBarStepped, Slider): create inverse variant #1277

Merged
merged 7 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions css/blau.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-blau-white);
--mistica-color-controlError: var(--mistica-blau-blauRed);
--mistica-color-barTrack: var(--mistica-blau-grey2);
--mistica-color-barTrackInverse: rgba(var(--mistica-blau-raw-grey6), 0.2);
--mistica-color-loadingBar: var(--mistica-blau-blauBlueSecondary);
--mistica-color-loadingBarBackground: var(--mistica-blau-blauBlueSecondary10);
--mistica-color-toggleAndroidInactive: var(--mistica-blau-grey2);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-blau-blauBlueSecondary10);
--mistica-color-iosControlKnob: var(--mistica-blau-white);
--mistica-color-controlKnobInverse: var(--mistica-blau-blauBlueSecondary);
--mistica-color-divider: var(--mistica-blau-grey2);
--mistica-color-dividerInverse: rgba(var(--mistica-blau-raw-white), 0.2);
--mistica-color-navigationBarDivider: var(--mistica-blau-blauBluePrimary);
Expand Down Expand Up @@ -304,11 +306,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-blau-blauBlueSecondary);
--mistica-color-controlError: var(--mistica-blau-blauRed);
--mistica-color-barTrack: var(--mistica-blau-darkModeGrey6);
--mistica-color-barTrackInverse: var(--mistica-blau-darkModeGrey6);
--mistica-color-loadingBar: var(--mistica-blau-blauBluePrimary);
--mistica-color-loadingBarBackground: var(--mistica-blau-darkModeGrey);
--mistica-color-toggleAndroidInactive: var(--mistica-blau-grey5);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-blau-blauBlueSecondary30);
--mistica-color-iosControlKnob: var(--mistica-blau-grey2);
--mistica-color-controlKnobInverse: var(--mistica-blau-grey2);
--mistica-color-divider: rgba(var(--mistica-blau-raw-white), 0.05);
--mistica-color-dividerInverse: rgba(var(--mistica-blau-raw-white), 0.05);
--mistica-color-navigationBarDivider: var(--mistica-blau-darkModeBlack);
Expand Down Expand Up @@ -446,11 +450,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-blau-blauBlueSecondary);
--mistica-color-controlError: var(--mistica-blau-blauRed);
--mistica-color-barTrack: var(--mistica-blau-darkModeGrey6);
--mistica-color-barTrackInverse: var(--mistica-blau-darkModeGrey6);
--mistica-color-loadingBar: var(--mistica-blau-blauBluePrimary);
--mistica-color-loadingBarBackground: var(--mistica-blau-darkModeGrey);
--mistica-color-toggleAndroidInactive: var(--mistica-blau-grey5);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-blau-blauBlueSecondary30);
--mistica-color-iosControlKnob: var(--mistica-blau-grey2);
--mistica-color-controlKnobInverse: var(--mistica-blau-grey2);
--mistica-color-divider: rgba(var(--mistica-blau-raw-white), 0.05);
--mistica-color-dividerInverse: rgba(var(--mistica-blau-raw-white), 0.05);
--mistica-color-navigationBarDivider: var(--mistica-blau-darkModeBlack);
Expand Down Expand Up @@ -584,11 +590,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-blau-white);
--mistica-color-controlError: var(--mistica-blau-blauRed);
--mistica-color-barTrack: var(--mistica-blau-grey2);
--mistica-color-barTrackInverse: rgba(var(--mistica-blau-raw-grey6), 0.2);
--mistica-color-loadingBar: var(--mistica-blau-blauBlueSecondary);
--mistica-color-loadingBarBackground: var(--mistica-blau-blauBlueSecondary10);
--mistica-color-toggleAndroidInactive: var(--mistica-blau-grey2);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-blau-blauBlueSecondary10);
--mistica-color-iosControlKnob: var(--mistica-blau-white);
--mistica-color-controlKnobInverse: var(--mistica-blau-blauBlueSecondary);
--mistica-color-divider: var(--mistica-blau-grey2);
--mistica-color-dividerInverse: rgba(var(--mistica-blau-raw-white), 0.2);
--mistica-color-navigationBarDivider: var(--mistica-blau-blauBluePrimary);
Expand Down
8 changes: 8 additions & 0 deletions css/movistar.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-movistar-white);
--mistica-color-controlError: var(--mistica-movistar-pepper55);
--mistica-color-barTrack: var(--mistica-movistar-grey3);
--mistica-color-barTrackInverse: rgba(var(--mistica-movistar-raw-black), 0.14);
--mistica-color-loadingBar: var(--mistica-movistar-movistarBlue);
--mistica-color-loadingBarBackground: var(--mistica-movistar-grey2);
--mistica-color-toggleAndroidInactive: var(--mistica-movistar-grey2);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-movistar-movistarBlue20);
--mistica-color-iosControlKnob: var(--mistica-movistar-white);
--mistica-color-controlKnobInverse: var(--mistica-movistar-movistarBlue);
--mistica-color-divider: var(--mistica-movistar-grey3);
--mistica-color-dividerInverse: rgba(var(--mistica-movistar-raw-white), 0.2);
--mistica-color-navigationBarDivider: var(--mistica-movistar-movistarBlue);
Expand Down Expand Up @@ -318,11 +320,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-movistar-movistarBlue);
--mistica-color-controlError: var(--mistica-movistar-pepper45);
--mistica-color-barTrack: var(--mistica-movistar-darkModeGrey6);
--mistica-color-barTrackInverse: var(--mistica-movistar-darkModeGrey6);
--mistica-color-loadingBar: var(--mistica-movistar-movistarBlue);
--mistica-color-loadingBarBackground: var(--mistica-movistar-darkModeGrey6);
--mistica-color-toggleAndroidInactive: var(--mistica-movistar-darkModeGrey2);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-movistar-movistarBlue20);
--mistica-color-iosControlKnob: var(--mistica-movistar-darkModeGrey2);
--mistica-color-controlKnobInverse: var(--mistica-movistar-darkModeGrey2);
--mistica-color-divider: rgba(var(--mistica-movistar-raw-white), 0.1);
--mistica-color-dividerInverse: rgba(var(--mistica-movistar-raw-white), 0.1);
--mistica-color-navigationBarDivider: var(--mistica-movistar-darkModeBlack);
Expand Down Expand Up @@ -463,11 +467,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-movistar-movistarBlue);
--mistica-color-controlError: var(--mistica-movistar-pepper45);
--mistica-color-barTrack: var(--mistica-movistar-darkModeGrey6);
--mistica-color-barTrackInverse: var(--mistica-movistar-darkModeGrey6);
--mistica-color-loadingBar: var(--mistica-movistar-movistarBlue);
--mistica-color-loadingBarBackground: var(--mistica-movistar-darkModeGrey6);
--mistica-color-toggleAndroidInactive: var(--mistica-movistar-darkModeGrey2);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-movistar-movistarBlue20);
--mistica-color-iosControlKnob: var(--mistica-movistar-darkModeGrey2);
--mistica-color-controlKnobInverse: var(--mistica-movistar-darkModeGrey2);
--mistica-color-divider: rgba(var(--mistica-movistar-raw-white), 0.1);
--mistica-color-dividerInverse: rgba(var(--mistica-movistar-raw-white), 0.1);
--mistica-color-navigationBarDivider: var(--mistica-movistar-darkModeBlack);
Expand Down Expand Up @@ -601,11 +607,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-movistar-white);
--mistica-color-controlError: var(--mistica-movistar-pepper55);
--mistica-color-barTrack: var(--mistica-movistar-grey3);
--mistica-color-barTrackInverse: rgba(var(--mistica-movistar-raw-black), 0.14);
--mistica-color-loadingBar: var(--mistica-movistar-movistarBlue);
--mistica-color-loadingBarBackground: var(--mistica-movistar-grey2);
--mistica-color-toggleAndroidInactive: var(--mistica-movistar-grey2);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-movistar-movistarBlue20);
--mistica-color-iosControlKnob: var(--mistica-movistar-white);
--mistica-color-controlKnobInverse: var(--mistica-movistar-movistarBlue);
--mistica-color-divider: var(--mistica-movistar-grey3);
--mistica-color-dividerInverse: rgba(var(--mistica-movistar-raw-white), 0.2);
--mistica-color-navigationBarDivider: var(--mistica-movistar-movistarBlue);
Expand Down
8 changes: 8 additions & 0 deletions css/o2-new.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-o2-new-white);
--mistica-color-controlError: var(--mistica-o2-new-o2Red60);
--mistica-color-barTrack: var(--mistica-o2-new-grey30);
--mistica-color-barTrackInverse: rgba(var(--mistica-o2-new-raw-white), 0.3);
--mistica-color-loadingBar: var(--mistica-o2-new-beyondBlue);
--mistica-color-loadingBarBackground: var(--mistica-o2-new-grey20);
--mistica-color-toggleAndroidInactive: var(--mistica-o2-new-grey30);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-o2-new-beyondBlue15);
--mistica-color-iosControlKnob: var(--mistica-o2-new-white);
--mistica-color-controlKnobInverse: var(--mistica-o2-new-beyondBlue);
--mistica-color-divider: var(--mistica-o2-new-grey30);
--mistica-color-dividerInverse: rgba(var(--mistica-o2-new-raw-white), 0.2);
--mistica-color-navigationBarDivider: var(--mistica-o2-new-darkBlue);
Expand Down Expand Up @@ -318,11 +320,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-o2-new-darkModeBeyondBlue);
--mistica-color-controlError: var(--mistica-o2-new-o2Red45);
--mistica-color-barTrack: var(--mistica-o2-new-darkModeGrey6);
--mistica-color-barTrackInverse: var(--mistica-o2-new-darkModeGrey6);
--mistica-color-loadingBar: var(--mistica-o2-new-darkModeBeyondBlue);
--mistica-color-loadingBarBackground: var(--mistica-o2-new-darkModeGrey6);
--mistica-color-toggleAndroidInactive: var(--mistica-o2-new-grey20);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-o2-new-beyondBlue15);
--mistica-color-iosControlKnob: var(--mistica-o2-new-grey30);
--mistica-color-controlKnobInverse: var(--mistica-o2-new-grey30);
--mistica-color-badge: var(--mistica-o2-new-o2Red65);
--mistica-color-feedbackErrorBackground: var(--mistica-o2-new-o2Red60);
--mistica-color-feedbackInfoBackground: var(--mistica-o2-new-darkModeGrey6);
Expand Down Expand Up @@ -457,11 +461,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-o2-new-darkModeBeyondBlue);
--mistica-color-controlError: var(--mistica-o2-new-o2Red45);
--mistica-color-barTrack: var(--mistica-o2-new-darkModeGrey6);
--mistica-color-barTrackInverse: var(--mistica-o2-new-darkModeGrey6);
--mistica-color-loadingBar: var(--mistica-o2-new-darkModeBeyondBlue);
--mistica-color-loadingBarBackground: var(--mistica-o2-new-darkModeGrey6);
--mistica-color-toggleAndroidInactive: var(--mistica-o2-new-grey20);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-o2-new-beyondBlue15);
--mistica-color-iosControlKnob: var(--mistica-o2-new-grey30);
--mistica-color-controlKnobInverse: var(--mistica-o2-new-grey30);
--mistica-color-badge: var(--mistica-o2-new-o2Red65);
--mistica-color-feedbackErrorBackground: var(--mistica-o2-new-o2Red60);
--mistica-color-feedbackInfoBackground: var(--mistica-o2-new-darkModeGrey6);
Expand Down Expand Up @@ -605,11 +611,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-o2-new-white);
--mistica-color-controlError: var(--mistica-o2-new-o2Red60);
--mistica-color-barTrack: var(--mistica-o2-new-grey30);
--mistica-color-barTrackInverse: rgba(var(--mistica-o2-new-raw-white), 0.3);
--mistica-color-loadingBar: var(--mistica-o2-new-beyondBlue);
--mistica-color-loadingBarBackground: var(--mistica-o2-new-grey20);
--mistica-color-toggleAndroidInactive: var(--mistica-o2-new-grey30);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-o2-new-beyondBlue15);
--mistica-color-iosControlKnob: var(--mistica-o2-new-white);
--mistica-color-controlKnobInverse: var(--mistica-o2-new-beyondBlue);
--mistica-color-badge: var(--mistica-o2-new-o2Red65);
--mistica-color-feedbackErrorBackground: var(--mistica-o2-new-o2Red60);
--mistica-color-feedbackInfoBackground: var(--mistica-o2-new-black);
Expand Down
8 changes: 8 additions & 0 deletions css/o2.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-o2-white);
--mistica-color-controlError: var(--mistica-o2-pepper);
--mistica-color-barTrack: var(--mistica-o2-grey3);
--mistica-color-barTrackInverse: rgba(var(--mistica-o2-raw-white), 0.3);
--mistica-color-loadingBar: var(--mistica-o2-o2BluePrimary);
--mistica-color-loadingBarBackground: var(--mistica-o2-grey1);
--mistica-color-toggleAndroidInactive: var(--mistica-o2-grey2);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-o2-o2BluePrimary15);
--mistica-color-iosControlKnob: var(--mistica-o2-white);
--mistica-color-controlKnobInverse: var(--mistica-o2-o2BluePrimary);
--mistica-color-divider: var(--mistica-o2-grey2);
--mistica-color-dividerInverse: rgba(var(--mistica-o2-raw-white), 0.2);
--mistica-color-navigationBarDivider: var(--mistica-o2-o2BluePrimary);
Expand Down Expand Up @@ -304,11 +306,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-o2-o2BluePrimary30);
--mistica-color-controlError: var(--mistica-o2-pepper);
--mistica-color-barTrack: var(--mistica-o2-darkModeGrey6);
--mistica-color-barTrackInverse: var(--mistica-o2-darkModeGrey6);
--mistica-color-loadingBar: var(--mistica-o2-darkModeO2BluePrimary);
--mistica-color-loadingBarBackground: var(--mistica-o2-darkModeGrey6);
--mistica-color-toggleAndroidInactive: var(--mistica-o2-grey4);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-o2-o2BlueLight30);
--mistica-color-iosControlKnob: var(--mistica-o2-grey2);
--mistica-color-controlKnobInverse: var(--mistica-o2-grey2);
--mistica-color-badge: var(--mistica-o2-pepper60);
--mistica-color-feedbackErrorBackground: var(--mistica-o2-pepper);
--mistica-color-feedbackInfoBackground: var(--mistica-o2-darkModeGrey6);
Expand Down Expand Up @@ -443,11 +447,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-o2-o2BluePrimary30);
--mistica-color-controlError: var(--mistica-o2-pepper);
--mistica-color-barTrack: var(--mistica-o2-darkModeGrey6);
--mistica-color-barTrackInverse: var(--mistica-o2-darkModeGrey6);
--mistica-color-loadingBar: var(--mistica-o2-darkModeO2BluePrimary);
--mistica-color-loadingBarBackground: var(--mistica-o2-darkModeGrey6);
--mistica-color-toggleAndroidInactive: var(--mistica-o2-grey4);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-o2-o2BlueLight30);
--mistica-color-iosControlKnob: var(--mistica-o2-grey2);
--mistica-color-controlKnobInverse: var(--mistica-o2-grey2);
--mistica-color-badge: var(--mistica-o2-pepper60);
--mistica-color-feedbackErrorBackground: var(--mistica-o2-pepper);
--mistica-color-feedbackInfoBackground: var(--mistica-o2-darkModeGrey6);
Expand Down Expand Up @@ -581,11 +587,13 @@
--mistica-color-controlActivatedInverse: var(--mistica-o2-white);
--mistica-color-controlError: var(--mistica-o2-pepper);
--mistica-color-barTrack: var(--mistica-o2-grey3);
--mistica-color-barTrackInverse: rgba(var(--mistica-o2-raw-white), 0.3);
--mistica-color-loadingBar: var(--mistica-o2-o2BluePrimary);
--mistica-color-loadingBarBackground: var(--mistica-o2-grey1);
--mistica-color-toggleAndroidInactive: var(--mistica-o2-grey2);
--mistica-color-toggleAndroidBackgroundActive: var(--mistica-o2-o2BluePrimary15);
--mistica-color-iosControlKnob: var(--mistica-o2-white);
--mistica-color-controlKnobInverse: var(--mistica-o2-o2BluePrimary);
--mistica-color-badge: var(--mistica-o2-pepper60);
--mistica-color-feedbackErrorBackground: var(--mistica-o2-pepper);
--mistica-color-feedbackInfoBackground: var(--mistica-o2-grey6);
Expand Down
Loading
Loading