zmp-core
Version:
Full featured mobile HTML framework for building iOS & Android apps
113 lines (100 loc) • 3.93 kB
text/less
:root {
--zmp-notification-max-width: 568px;
--zmp-notification-subtitle-text-transform: none;
--zmp-notification-subtitle-line-height: 1.35;
--zmp-notification-text-text-transform: none;
--zmp-notification-text-font-weight: 400;
.dark-vars({
--zmp-notification-subtitle-color: #fff;
});
}
.ios-vars({
--zmp-notification-margin: 8px;
--zmp-notification-padding: 10px;
--zmp-notification-border-radius: 12px;
--zmp-notification-box-shadow: 0px 5px 25px -10px rgba(0, 0, 0, 0.7);
--zmp-notification-icon-size: 20px;
--zmp-notification-title-font-size: 13px;
--zmp-notification-title-text-transform: uppercase;
--zmp-notification-title-line-height: 1.4;
--zmp-notification-title-font-weight: 400;
--zmp-notification-title-letter-spacing: 0.02em;
--zmp-notification-title-right-font-size: 13px;
--zmp-notification-subtitle-font-size: 15px;
--zmp-notification-subtitle-font-weight: 600;
--zmp-notification-text-font-size: 15px;
--zmp-notification-text-line-height: 1.2;
.light-vars({
--zmp-notification-bg-color: rgba(250,250,250,0.95);
--zmp-notification-bg-color-rgb: 255, 255, 255;
--zmp-notification-title-color: #000;
--zmp-notification-title-right-color: rgba(0,0,0,0.45);
--zmp-notification-subtitle-color: #000;
--zmp-notification-text-color: #000;
});
.dark-vars({
--zmp-notification-bg-color: rgba(30,30,30,0.95);
--zmp-notification-bg-color-rgb: 30, 30, 30;
--zmp-notification-title-color: #fff;
--zmp-notification-text-color: #fff;
--zmp-notification-title-right-color: rgba(255,255,255,0.55);
});
});
.md-vars({
--zmp-notification-margin: 0px;
--zmp-notification-padding: 16px;
--zmp-notification-border-radius: 0px;
--zmp-notification-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22), 0 1px 2px rgba(0, 0, 0, 0.24);
--zmp-notification-icon-size: 16px;
--zmp-notification-title-color: var(--zmp-theme-color);
--zmp-notification-title-font-size: 12px;
--zmp-notification-title-text-transform: none;
--zmp-notification-title-line-height: 1;
--zmp-notification-title-font-weight: 400;
--zmp-notification-title-right-font-size: 12px;
--zmp-notification-subtitle-font-size: 14px;
--zmp-notification-subtitle-font-weight: 400;
--zmp-notification-text-font-size: 14px;
--zmp-notification-text-line-height: 1.35;
.light-vars({
--zmp-notification-bg-color: #fff;
--zmp-notification-title-right-color: rgba(0,0,0,0.54);
--zmp-notification-subtitle-color: #212121;
--zmp-notification-text-color: rgba(0,0,0,0.54);
});
.dark-vars({
--zmp-notification-bg-color: #242424;
--zmp-notification-title-right-color: rgba(255,255,255,0.54);
--zmp-notification-text-color: rgba(255,255,255,0.54);
});
});
.aurora-vars({
--zmp-notification-margin: 16px;
--zmp-notification-padding: 16px;
--zmp-notification-border-radius: 8px;
--zmp-notification-box-shadow: 0px 5px 25px -10px rgba(0, 0, 0, 0.7);
--zmp-notification-icon-size: 24px;
--zmp-notification-title-font-size: 16px;
--zmp-notification-title-text-transform: none;
--zmp-notification-title-line-height: 1.4;
--zmp-notification-title-font-weight: 600;
--zmp-notification-title-letter-spacing: 0.02em;
--zmp-notification-title-right-font-size: 14px;
--zmp-notification-subtitle-font-size: 14px;
--zmp-notification-subtitle-font-weight: 600;
--zmp-notification-text-font-size: 14px;
--zmp-notification-text-line-height: 1.35;
.light-vars({
--zmp-notification-bg-color: #fff;
--zmp-notification-title-color: #000;
--zmp-notification-title-right-color: rgba(0,0,0,0.6);
--zmp-notification-subtitle-color: #000;
--zmp-notification-text-color: #000;
});
.dark-vars({
--zmp-notification-bg-color: #242424;
--zmp-notification-title-color: #fff;
--zmp-notification-text-color: #fff;
--zmp-notification-title-right-color: rgba(255,255,255,0.54);
});
});