Skip to content

Commit

Permalink
[MPP-1708] Popup Refactor - Register Subdomain / Create Custom Masks (#…
Browse files Browse the repository at this point in the history
…466)

* Add prompt for premium users to register subdomain if not yet set

* Add new icons

* Add revised Nebula error colors

* Refactor how hostnames are requested from bg.js script

* Add new bg function to create custom masks for premium users

* Add PSL library for custom-mask prepopulate mask name feature

* Add custom mask creation panel, including JS logic and styles

* Add localized promo blocking tooltip strings

* Review revisions: Migrate font-size to use global variables, remove comments, add aria role
  • Loading branch information
maxxcrawford authored Feb 10, 2023
1 parent f2fa9ba commit cfe5d99
Show file tree
Hide file tree
Showing 8 changed files with 515 additions and 48 deletions.
23 changes: 19 additions & 4 deletions src/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@
--screenLg: 1024px;
--screenXl: 1312px;

/* Typography Tokens */
--fontSizeTitle2xl: 64px;
--fontSizeTitleXl: 56px;
--fontSizeTitleLg: 48px;
--fontSizeTitleMd: 40px;
--fontSizeTitleSm: 32px;
--fontSizeTitleXs: 24px;
--fontSizeTitle2xs: 20px;
--fontSizeTitle3xs: 16px;
--fontSizeBodyXl: 21px;
--fontSizeBodyLg: 18px;
--fontSizeBodyMd: 16px;
--fontSizeBodySm: 14px;
--fontSizeBodyXs: 12px;

/* Box Shadow Tokens */
--boxShadowSm: 0 8px 12px 1px rgba(29, 17, 51, .04), 0 3px 16px 2px rgba(9, 32, 77, .12), 0 5px 10px -3px rgba(29, 17, 51, .12);
--boxShadowMd: 0 16px 24px 2px rgba(29, 17, 51, .04), 0 6px 32px 4px rgba(9, 32, 77, .12), 0 8px 12px -5px rgba(29, 17, 51, .12);
Expand All @@ -50,9 +65,9 @@
--colorInformationalDisabled: #C9D9F3;

/* Nebula Colors: Button: Error */
--colorError: #FF4F5E;
--colorErrorActive: #C50042;
--colorErrorHover: #E22850;
--colorError: #E22850;
--colorErrorActive: #810220;
--colorErrorHover: #C50042;
--colorErrorFocus: #FFBDC5 ;

/* Nebula Colors: Button: Warning */
Expand Down Expand Up @@ -154,7 +169,7 @@
appearance: none;
outline: none;
border: none;
font-size: 16px;
font: 16px;
cursor: pointer;
position: relative;
width: 100%;
Expand Down
Loading

0 comments on commit cfe5d99

Please sign in to comment.