{mapPlanName(sub.type)}
diff --git a/packages/app/src/index.css b/packages/app/src/index.css
index 10244f841..4309b7c6d 100644
--- a/packages/app/src/index.css
+++ b/packages/app/src/index.css
@@ -15,8 +15,8 @@
--live: #f83838;
--heart: #ef4444;
--zap: #ff710a;
-
--gray-superlight: #eee;
+ --bg-secondary: #2A2A2A;
--gray-light: #999;
--gray-medium: #7b7b7b;
--gray: #333;
@@ -28,22 +28,20 @@
--gray-gradient: linear-gradient(to bottom right, var(--gray-superlight), var(--gray), var(--gray-light));
--snort-gradient: linear-gradient(90deg, #a178ff 0%, #ff6baf 100%);
--dm-gradient: linear-gradient(90deg, #5722d2 0%, #db1771 100%);
- --invoice-gradient: linear-gradient(
- 45deg,
- var(--gray-superdark) 50%,
- rgba(161, 120, 255, 0.2),
- rgba(255, 107, 175, 0.2) 108.33%
- );
- --paid-invoice-gradient: linear-gradient(
- 45deg,
- var(--gray-superdark) 50%,
- rgba(161, 120, 255, 0.6),
- rgba(255, 107, 175, 0.6) 108.33%
- );
+ --invoice-gradient: linear-gradient(45deg,
+ var(--gray-superdark) 50%,
+ rgba(161, 120, 255, 0.2),
+ rgba(255, 107, 175, 0.2) 108.33%);
+ --paid-invoice-gradient: linear-gradient(45deg,
+ var(--gray-superdark) 50%,
+ rgba(161, 120, 255, 0.6),
+ rgba(255, 107, 175, 0.6) 108.33%);
--expired-invoice-gradient: linear-gradient(45deg, var(--gray-superdark) 50%, var(--gray), var(--gray-superdark));
--strike-army-gradient: linear-gradient(to bottom right, #ccff00, #a1c900);
-
+ --sub-bg: #111;
--header-padding-tb: 10px;
+ --btn-color: #FFF;
+ --primary-gradient: linear-gradient(90deg, rgba(239, 150, 68, 1) 0%, rgba(123, 65, 246, 1) 100%);
}
::-webkit-scrollbar {
@@ -70,27 +68,27 @@ html {
}
html.light {
- --bg-color: #f8f8f8;
+ --bg-color: #fff;
--font-color: #2f3f64;
- --font-secondary-color: #71717a;
+ --font-secondary-color: #5C6C92;
--font-tertiary-color: #52525b;
--border-color: #dee1e8;
-
--highlight: #7139f1;
- --modal-bg-color: rgba(240, 240, 240, 0.8);
-
- --gray: #999;
+ --modal-bg-color: #0009;
+ --gray: #dee1e8;
--gray-secondary: #aaa;
--gray-tertiary: #bbb;
--gray-superlight: #333;
--gray-light: #555;
--gray-dark: #ccc;
- --gray-superdark: #ddd;
- --gray-ultradark: #eee;
-
+ --gray-superdark: #FFF;
+ --gray-ultradark: #FFF;
--dm-gradient: var(--gray);
--invoice-gradient: linear-gradient(45deg, var(--gray-superdark) 50%, #f7b73333, #fc4a1a33);
--paid-invoice-gradient: linear-gradient(45deg, var(--gray-superdark) 50%, #f7b73399, #fc4a1a99);
+ --bg-secondary: #FFF;
+ --sub-bg: #FFF;
+ --btn-color: #FFF;
}
body {
@@ -136,12 +134,12 @@ code {
.card {
padding: 12px 16px;
- border-bottom: 1px solid var(--gray-superdark);
+ border-bottom: 1px solid var(--border-color);
}
/* Card inside card */
.card .card {
- border: 1px solid var(--gray-superdark);
+ border: 1px solid var(--border-color);
border-radius: 16px;
min-height: 0;
}
@@ -150,9 +148,10 @@ code {
display: flex;
flex-direction: row;
justify-content: space-between;
+ margin-bottom: -8px;
}
-.card > .footer {
+.card>.footer {
display: flex;
flex-direction: row;
}
@@ -164,16 +163,28 @@ code {
button {
cursor: pointer;
- padding: 6px 12px;
+ padding: 10px 16px;
font-weight: 600;
color: var(--bg-color);
font-size: var(--font-size);
- background-color: var(--font-color);
+ background-color: var(--btn-color);
border: none;
- border-radius: 16px;
+ border-radius: 100px;
outline: none;
}
+button.primary {
+ background: rgb(239, 150, 68);
+ background: var(--primary-gradient);
+ color: #FFF !important;
+ border: none !important;
+}
+
+button.primary:hover {
+ box-shadow: 0px 1px 4px rgba(128, 29, 255, 1) !important;
+ background: var(--primary-gradient) !important;
+}
+
button:disabled {
opacity: 0.3;
cursor: not-allowed;
@@ -187,7 +198,7 @@ button.secondary:disabled {
button:disabled:hover {
cursor: not-allowed;
color: var(--font-color);
- border-color: var(--gray-superdark);
+ border-color: var(--gray-border-color);
}
.light button.transparent {
@@ -211,11 +222,7 @@ button.transparent {
font-weight: 400;
color: var(--font-secondary);
background-color: transparent;
- border: 1px solid var(--gray-superdark);
-}
-
-.light button.secondary {
- background-color: var(--gray);
+ border: 1px solid var(--border-color);
}
button.secondary:hover {
@@ -229,15 +236,13 @@ button.transparent:hover {
background-color: var(--font-color);
}
-.light button.secondary:hover {
- background-color: var(--gray-secondary);
-}
-
button.icon {
border: none;
- background: none;
+ background: var(--bg-secondary);
color: var(--font-color);
- min-height: 28px;
+ width: 40px;
+ height: 40px;
+ padding: 10px;
}
button.icon .icon-wrapper {
@@ -307,13 +312,15 @@ input[type="password"],
input[type="number"],
select,
textarea {
- padding: 12px 16px;
+ padding: 8px 12px;
color: var(--font-color);
background: transparent;
- border: 1px solid rgba(255, 255, 255, 0.1);
+ border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
outline: none;
- line-height: 24px; /* 150% */
+ font-size: 15px;
+ line-height: 24px;
+ /* 150% */
}
.light input[type="text"],
@@ -321,7 +328,7 @@ textarea {
.light input[type="number"],
.light select,
.light textarea {
- border: 1px solid rgba(0, 0, 0, 0.3);
+ border: 2px solid var(--border-color);
}
option,
@@ -335,8 +342,8 @@ textarea:placeholder {
}
input[type="checkbox"] {
- width: 24px;
- height: 24px;
+ width: 20px;
+ height: 20px;
}
input:disabled {
@@ -482,22 +489,22 @@ div.form-group {
grid-template-columns: 1fr 2fr;
}
-div.form-group > div {
+div.form-group>div {
padding: 3px 5px;
}
-div.form-group > div:nth-child(1) {
+div.form-group>div:nth-child(1) {
display: flex;
align-self: center;
}
-div.form-group > div:nth-child(2) {
+div.form-group>div:nth-child(2) {
display: flex;
flex-grow: 1;
justify-content: flex-end;
}
-div.form-group > div:nth-child(2) input {
+div.form-group>div:nth-child(2) input {
flex-grow: 1;
}
@@ -601,7 +608,7 @@ small.xs {
margin: 0 auto;
}
-.tweet div .twitter-tweet > iframe {
+.tweet div .twitter-tweet>iframe {
max-height: unset;
}
@@ -630,8 +637,9 @@ small.xs {
.main-content h2 {
font-weight: 600;
- font-size: 32px;
- line-height: 39px;
+ font-size: 26px;
+ line-height: 36px;
+ margin: 12px 0 0 0;
}
.main-content .h4 {
@@ -639,7 +647,7 @@ small.xs {
}
.main-content .profile-preview {
- margin-bottom: 16px;
+ margin: 8px 0;
}
button.tall {
@@ -706,18 +714,24 @@ button.tall {
.rta__textarea {
/* Fix width calculation to account for 32px padding on input */
width: calc(100% - 32px) !important;
+ font-size: 15px !important;
}
.ctx-menu {
- color: var(--font-secondary-color) !important;
+ color: var(--font-color) !important;
background: transparent !important;
min-width: 0 !important;
margin: 0 !important;
}
+.szh-menu {
+ border-radius: 16px !important;
+ padding: 0 !important;
+}
+
.ctx-menu li {
background: #1e1e1e !important;
- padding: 8px 32px 8px 32px !important;
+ padding: 8px 24px !important;
display: grid !important;
grid-template-columns: 2rem auto !important;
font-size: 16px;
@@ -725,7 +739,7 @@ button.tall {
}
.light .ctx-menu li {
- background: var(--gray-superdark) !important;
+ background: #FFF !important;
}
.ctx-menu li:first-of-type {
@@ -733,13 +747,13 @@ button.tall {
}
.ctx-menu li:nth-child(3) {
- padding-top: 24px !important;
+ padding-top: 16px !important;
border-top-left-radius: 16px !important;
border-top-right-radius: 16px !important;
}
.ctx-menu li:last-of-type {
- padding-bottom: 24px !important;
+ padding-bottom: 16px !important;
border-bottom-left-radius: 16px !important;
border-bottom-right-radius: 16px !important;
}
@@ -754,8 +768,8 @@ button.tall {
}
.light .ctx-menu li:hover {
- color: white !important;
- background: var(--font-secondary-color) !important;
+ color: var(--font-color) !important;
+ background: #EEE !important;
}
.ctx-menu .red {
@@ -782,3 +796,54 @@ svg.heart-solid {
svg.zap-solid {
color: var(--zap);
}
+
+.subtier {
+ background: var(--sub-bg);
+ border-radius: 16px;
+}
+
+.light .subtier {
+ border: 1px solid var(--border-color);
+}
+
+.light .spinner-button {
+ background: #FFF;
+ border: 1px solid var(--border-color);
+ color: var(--font-secondary);
+ box-shadow: rgba(0, 0, 0, 0.08) 0 1px 1px;
+}
+
+.light .spinner-button:hover {
+ box-shadow: rgba(0, 0, 0, 0.2) 0 1px 3px;
+}
+
+.main-content.p {
+ border-bottom: 0;
+ border-top: 0;
+}
+
+.light button.icon {
+ border: 1px solid var(--border-color);
+ box-shadow: rgba(0, 0, 0, 0.08) 0 1px 1px;
+}
+
+.light button.icon:hover {
+ box-shadow: rgba(0, 0, 0, 0.2) 0 1px 3px;
+}
+
+.light button,
+.light button.secondary {
+ color: #4B5C83;
+ background-color: #FFF;
+ border: 1px solid var(--border-color);
+ box-shadow: rgba(0, 0, 0, 0.08) 0 1px 1px;
+}
+
+.light button:hover,
+.light button.secondary:hover {
+ box-shadow: rgba(0, 0, 0, 0.2) 0 1px 3px !important;
+}
+
+.light .modal button.secondary:hover {
+ background: #FFF !important;
+}
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index c3c267e46..e5c88c9a5 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2775,6 +2775,40 @@ __metadata:
languageName: unknown
linkType: soft
+"@snort/shared@^1.0.6, @snort/shared@workspace:*, @snort/shared@workspace:packages/shared":
+ version: 0.0.0-use.local
+ resolution: "@snort/nostr@workspace:packages/nostr"
+ dependencies:
+ "@noble/curves": ^1.0.0
+ "@noble/hashes": ^1.2.0
+ "@types/chai": ^4.3.4
+ "@types/events": ^3.0.0
+ "@types/expect": ^24.3.0
+ "@types/express": ^4.17.17
+ "@types/mocha": ^10.0.1
+ "@types/node": ^20.4.1
+ "@types/uuid": ^9.0.1
+ "@typescript-eslint/eslint-plugin": ^5.53.0
+ "@typescript-eslint/parser": ^5.53.0
+ base64-js: ^1.5.1
+ bech32: ^2.0.0
+ chai: ^4.3.7
+ eslint: ^8.34.0
+ events: ^3.3.0
+ express: ^4.18.2
+ isomorphic-ws: ^5.0.0
+ mocha: ^10.2.0
+ ts-loader: ^9.4.2
+ ts-mocha: ^10.0.0
+ ts-node: ^10.9.1
+ typescript: ^4.9.5
+ uuid: ^9.0.0
+ webpack: ^5.77.0
+ webpack-cli: ^5.0.1
+ ws: ^8.12.1
+ languageName: unknown
+ linkType: soft
+
"@snort/shared@^1.0.6, @snort/shared@workspace:*, @snort/shared@workspace:packages/shared":
version: 0.0.0-use.local
resolution: "@snort/shared@workspace:packages/shared"
@@ -2829,6 +2863,7 @@ __metadata:
"@peculiar/webcrypto": ^1.4.3
"@scure/base": ^1.1.2
"@snort/shared": ^1.0.6
+ "@snort/shared": ^1.0.6
"@stablelib/xchacha20": ^1.0.1
"@types/debug": ^4.1.8
"@types/jest": ^29.5.1