ply-css 1.4.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,6 +69,26 @@
69
69
  --ply-bg-yellow: #f1c21b;
70
70
  --ply-bg-yellow-hover: #d2a106;
71
71
  --ply-bg-yellow-active: #b28600;
72
+ --ply-blue-surface: #d3e3fb;
73
+ --ply-red-surface: #f8d5d8;
74
+ --ply-green-surface: #d5ecd9;
75
+ --ply-yellow-surface: #fff4cc;
76
+ --ply-indigo-surface: #e0e7ff;
77
+ --ply-purple-surface: #ede9fe;
78
+ --ply-pink-surface: #fce7f3;
79
+ --ply-orange-surface: #ffedd5;
80
+ --ply-teal-surface: #ccfbf1;
81
+ --ply-cyan-surface: #cffafe;
82
+ --ply-blue-border: #92baf6;
83
+ --ply-red-border: #ef969d;
84
+ --ply-green-border: #96cfa1;
85
+ --ply-yellow-border: #ffe480;
86
+ --ply-indigo-border: #a5b4fc;
87
+ --ply-purple-border: #c4b5fd;
88
+ --ply-pink-border: #f9a8d4;
89
+ --ply-orange-border: #fdba74;
90
+ --ply-teal-border: #5eead4;
91
+ --ply-cyan-border: #67e8f9;
72
92
  --ply-blue-1: #0f62fe;
73
93
  --ply-blue-2: #0043ce;
74
94
  --ply-blue-3: #002d9c;
@@ -124,9 +144,9 @@
124
144
  --ply-color-text-inverse: #161616;
125
145
  --ply-border-color: #393939;
126
146
  --ply-border-strong: #6f6f6f;
127
- --ply-color-link: var(--ply-btn-default-bg);
147
+ --ply-color-link: #4589ff;
128
148
  --ply-color-link-hover: #619bff;
129
- --ply-color-link-hover: color-mix(in oklch, var(--ply-btn-default-bg), white 15%);
149
+ --ply-color-link-hover: color-mix(in oklch, #4589ff, white 15%);
130
150
  --ply-color-focus: #0f62fe;
131
151
  --ply-color-field-bg: #262626;
132
152
  --ply-color-input-border: #6f6f6f;
@@ -163,6 +183,26 @@
163
183
  --ply-shadow-2: 0 2px 8px rgba(0, 0, 0, 0.3);
164
184
  --ply-shadow-3: 0 4px 24px rgba(0, 0, 0, 0.4);
165
185
  --ply-bg-glass: rgba(38, 38, 38, 0.25);
186
+ --ply-blue-surface: #1a2744;
187
+ --ply-red-surface: #3b1c1e;
188
+ --ply-green-surface: #1a2e1e;
189
+ --ply-yellow-surface: #332b10;
190
+ --ply-indigo-surface: #1e1b4b;
191
+ --ply-purple-surface: #2e1065;
192
+ --ply-pink-surface: #3b0a2a;
193
+ --ply-orange-surface: #331a08;
194
+ --ply-teal-surface: #132f2e;
195
+ --ply-cyan-surface: #133040;
196
+ --ply-blue-border: #1a52a5;
197
+ --ply-red-border: #b2232f;
198
+ --ply-green-border: #237f35;
199
+ --ply-yellow-border: #cca000;
200
+ --ply-indigo-border: #3730a3;
201
+ --ply-purple-border: #5b21b6;
202
+ --ply-pink-border: #9d174d;
203
+ --ply-orange-border: #c2410c;
204
+ --ply-teal-border: #0f766e;
205
+ --ply-cyan-border: #0e7490;
166
206
  --ply-bg-blue: #0f62fe;
167
207
  --ply-bg-blue-hover: #0043ce;
168
208
  --ply-bg-blue-active: #002d9c;
@@ -220,9 +260,9 @@
220
260
  --ply-color-text-inverse: #161616;
221
261
  --ply-border-color: #393939;
222
262
  --ply-border-strong: #6f6f6f;
223
- --ply-color-link: var(--ply-btn-default-bg);
263
+ --ply-color-link: #4589ff;
224
264
  --ply-color-link-hover: #619bff;
225
- --ply-color-link-hover: color-mix(in oklch, var(--ply-btn-default-bg), white 15%);
265
+ --ply-color-link-hover: color-mix(in oklch, #4589ff, white 15%);
226
266
  --ply-color-focus: #0f62fe;
227
267
  --ply-color-field-bg: #262626;
228
268
  --ply-color-input-border: #6f6f6f;
@@ -259,6 +299,26 @@
259
299
  --ply-shadow-2: 0 2px 8px rgba(0, 0, 0, 0.3);
260
300
  --ply-shadow-3: 0 4px 24px rgba(0, 0, 0, 0.4);
261
301
  --ply-bg-glass: rgba(38, 38, 38, 0.25);
302
+ --ply-blue-surface: #1a2744;
303
+ --ply-red-surface: #3b1c1e;
304
+ --ply-green-surface: #1a2e1e;
305
+ --ply-yellow-surface: #332b10;
306
+ --ply-indigo-surface: #1e1b4b;
307
+ --ply-purple-surface: #2e1065;
308
+ --ply-pink-surface: #3b0a2a;
309
+ --ply-orange-surface: #331a08;
310
+ --ply-teal-surface: #132f2e;
311
+ --ply-cyan-surface: #133040;
312
+ --ply-blue-border: #1a52a5;
313
+ --ply-red-border: #b2232f;
314
+ --ply-green-border: #237f35;
315
+ --ply-yellow-border: #cca000;
316
+ --ply-indigo-border: #3730a3;
317
+ --ply-purple-border: #5b21b6;
318
+ --ply-pink-border: #9d174d;
319
+ --ply-orange-border: #c2410c;
320
+ --ply-teal-border: #0f766e;
321
+ --ply-cyan-border: #0e7490;
262
322
  --ply-bg-blue: #0f62fe;
263
323
  --ply-bg-blue-hover: #0043ce;
264
324
  --ply-bg-blue-active: #002d9c;
@@ -2761,7 +2821,7 @@ table tfoot td {
2761
2821
  .units-row.reverse-direction, .units-row.right-to-left {
2762
2822
  flex-direction: row-reverse;
2763
2823
  }
2764
- .units-row.split {
2824
+ .units-row.joined, .units-row.split {
2765
2825
  --units-gap: 0px;
2766
2826
  gap: 0;
2767
2827
  }
@@ -4451,13 +4511,15 @@ input[type=button].btn,
4451
4511
  input[type=reset].btn,
4452
4512
  button.btn {
4453
4513
  transition: all 150ms ease-in-out, transform 50ms ease, background 150ms ease-in-out;
4454
- display: inline-block;
4514
+ display: inline-flex;
4455
4515
  vertical-align: top;
4516
+ align-items: center;
4517
+ justify-content: center;
4518
+ gap: var(--ply-btn-gap, 0.5em);
4456
4519
  font-family: var(--ply-font-body, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji);
4457
- font-size: 1em;
4520
+ font-size: var(--ply-btn-font-size, 1em);
4458
4521
  font-weight: 400;
4459
4522
  line-height: 1.5rem;
4460
- text-align: center;
4461
4523
  text-decoration: none;
4462
4524
  color: var(--ply-btn-secondary-color, var(--ply-color-text-inverse, #fff));
4463
4525
  -webkit-appearance: none;
@@ -5404,6 +5466,10 @@ button.btn-white.btn-outline.btn-active {
5404
5466
  .btn-group .btn:last-child {
5405
5467
  border-radius: 0 0.125rem 0.125rem 0;
5406
5468
  }
5469
+ .btn-single.joined,
5470
+ .btn-group.joined {
5471
+ gap: 0;
5472
+ }
5407
5473
  .btn-single.rounded .btn:first-child,
5408
5474
  .btn-single.rounded .input-search:first-child,
5409
5475
  .btn-group.rounded .btn:first-child,