@erdemtuna/doc-review 0.11.0 → 0.12.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.
package/lib/ui/chrome.css CHANGED
@@ -71,87 +71,145 @@
71
71
  }
72
72
 
73
73
  @layer legacy {
74
+ :root, .review-ui {
75
+ color-scheme: light;
76
+ --background: #f5f2ea;
77
+ --foreground: #292e2b;
78
+ --card: #fffdf7;
79
+ --card-foreground: #292e2b;
80
+ --popover: #fffdf7;
81
+ --popover-foreground: #292e2b;
82
+ --primary: #17685f;
83
+ --primary-foreground: #fffdf7;
84
+ --secondary: #ecede5;
85
+ --secondary-foreground: #626b65;
86
+ --muted: #ecede5;
87
+ --muted-foreground: #626b65;
88
+ --accent: #e1eeea;
89
+ --accent-foreground: #17685f;
90
+ --destructive: #b43c48;
91
+ --destructive-foreground: #fffdf7;
92
+ --border: #d8d8cc;
93
+ --input: #7c877d;
94
+ --ring: #17685f;
95
+ --review-added: #eff3e2;
96
+ --review-added-foreground: #4d6b24;
97
+ --review-added-border: #82945e;
98
+ --review-removed: #fcecef;
99
+ --review-removed-foreground: #b43c48;
100
+ --review-removed-border: #c88791;
101
+ --review-modified: #fff1d9;
102
+ --review-modified-foreground: #915b13;
103
+ --review-modified-border: #b99157;
104
+ --review-count-added: #4d6b24;
105
+ --review-count-removed: #b43c48;
106
+ --review-count-modified: #915b13;
107
+ --review-insert: #dce7c5;
108
+ --review-delete: #fae2e7;
109
+ --review-overlay: #191f1d80;
110
+ --review-shadow-color: #191f1d26;
111
+ --annotation-foreground: #75470e;
112
+ --annotation-background: #fff1d9;
113
+ --annotation-active: #f5d6a3;
114
+ --annotation-border: #915b13;
115
+ --annotation-tint: #915b131a;
116
+ --annotation-active-tint: #915b132e;
117
+ --halo-light: #fffdf7;
118
+ --halo-dark: #191f1d;
119
+ }
120
+
121
+ :root[data-theme="dark"], :root[data-theme="dark"].review-ui, :root[data-theme="dark"] .review-ui {
122
+ color-scheme: dark;
123
+ --background: #191f1d;
124
+ --foreground: #eeefe6;
125
+ --card: #222a26;
126
+ --card-foreground: #eeefe6;
127
+ --popover: #222a26;
128
+ --popover-foreground: #eeefe6;
129
+ --primary: #85c7b8;
130
+ --primary-foreground: #102f29;
131
+ --secondary: #303a33;
132
+ --secondary-foreground: #afb9af;
133
+ --muted: #303a33;
134
+ --muted-foreground: #afb9af;
135
+ --accent: #293f37;
136
+ --accent-foreground: #85c7b8;
137
+ --destructive: #f2a2ab;
138
+ --destructive-foreground: #40272c;
139
+ --border: #3c4841;
140
+ --input: #77877b;
141
+ --ring: #85c7b8;
142
+ --review-added: #2b3522;
143
+ --review-added-foreground: #bbcd87;
144
+ --review-added-border: #6f8347;
145
+ --review-removed: #40272c;
146
+ --review-removed-foreground: #f2a2ab;
147
+ --review-removed-border: #a96572;
148
+ --review-modified: #3d3020;
149
+ --review-modified-foreground: #e7bb72;
150
+ --review-modified-border: #9c7a46;
151
+ --review-count-added: #bbcd87;
152
+ --review-count-removed: #f2a2ab;
153
+ --review-count-modified: #e7bb72;
154
+ --review-insert: #3e4d2d;
155
+ --review-delete: #633944;
156
+ --review-overlay: #191f1db3;
157
+ --review-shadow-color: #0006;
158
+ --annotation-foreground: #f1cc8e;
159
+ --annotation-background: #3d3020;
160
+ --annotation-active: #594325;
161
+ --annotation-border: #e7bb72;
162
+ --annotation-tint: #e7bb721a;
163
+ --annotation-active-tint: #e7bb722e;
164
+ --halo-light: #fffdf7;
165
+ --halo-dark: #191f1d;
166
+ }
167
+
168
+ :root, .review-ui {
169
+ --canvas: var(--background);
170
+ --panel: var(--card);
171
+ --card-border: var(--border);
172
+ --hair: var(--border);
173
+ --hair-2: var(--border);
174
+ --dash: var(--border);
175
+ --strong-border: var(--input);
176
+ --txt: var(--foreground);
177
+ --strong-txt: var(--foreground);
178
+ --mute: var(--muted-foreground);
179
+ --mute-2: var(--muted-foreground);
180
+ --faint: var(--muted-foreground);
181
+ --faint-2: var(--muted-foreground);
182
+ --soft: var(--muted);
183
+ --chip: var(--secondary);
184
+ --input-bg: var(--card);
185
+ --focus: var(--ring);
186
+ --danger: var(--destructive);
187
+ --danger-soft: var(--review-removed);
188
+ --amber: var(--annotation-border);
189
+ --green: var(--review-added-foreground);
190
+ --btn-bg: var(--primary);
191
+ --btn-fg: var(--primary-foreground);
192
+ --diff-paper: var(--card);
193
+ --diff-ink: var(--foreground);
194
+ --diff-muted: var(--muted-foreground);
195
+ --diff-line: var(--border);
196
+ --diff-removed: var(--review-removed);
197
+ --diff-added: var(--review-added);
198
+ --diff-delete: var(--review-delete);
199
+ --diff-insert: var(--review-insert);
200
+ --diff-delete-ink: var(--review-removed-foreground);
201
+ --diff-insert-ink: var(--review-added-foreground);
202
+ --diff-gap: var(--muted);
203
+ --diff-accent: var(--review-modified-foreground);
204
+ --focus-ring: 0 0 0 3px var(--ring);
205
+ --review-shadow: 0 8px 24px var(--review-shadow-color), 0 1px 3px var(--review-shadow-color);
206
+ }
207
+
74
208
  :root {
75
- --canvas: #eceae4;
76
- --panel: #fbfaf7;
77
- --card: #fff;
78
- --card-border: #e9e7e0;
79
- --hair: #e4e2db;
80
- --hair-2: #eceae4;
81
- --dash: #e0ddd4;
82
- --strong-border: #d9d5c9;
83
- --txt: #26241e;
84
- --strong-txt: #1b1a16;
85
- --mute: #736e63;
86
- --mute-2: #6b6862;
87
- --faint: #b6b2a8;
88
- --faint-2: #a8a49a;
89
- --soft: #f2f0ea;
90
- --chip: #f4f2ec;
91
- --input-bg: #fdfcfa;
92
- --focus: #5a63d8;
93
- --danger: #b23b2e;
94
- --danger-soft: #f6ecea;
95
- --amber: #c99500;
96
- --green: #7d9370;
97
- --btn-bg: #1b1a16;
98
- --btn-fg: #fbfaf7;
99
209
  --toolbar-h: 48px;
100
210
  --drawer-w: 380px;
101
211
  --narrow: 720px;
102
212
  --overlay: 60;
103
- --focus-ring: 0 0 0 3px #5a63d847;
104
- --diff-paper: #fffefa;
105
- --diff-ink: #302f29;
106
- --diff-muted: #696459;
107
- --diff-line: #dedad0;
108
- --diff-removed: #fff2ee;
109
- --diff-added: #eff7ec;
110
- --diff-delete: #f6d3c9;
111
- --diff-insert: #cee8c8;
112
- --diff-delete-ink: #833f31;
113
- --diff-insert-ink: #386132;
114
- --diff-gap: #f7f5ef;
115
- --diff-accent: #426581;
116
- }
117
-
118
- :root[data-theme="dark"] {
119
- --canvas: #171614;
120
- --panel: #1f1e1b;
121
- --card: #262420;
122
- --card-border: #34322d;
123
- --hair: #2f2d29;
124
- --hair-2: #2a2825;
125
- --dash: #3a3833;
126
- --strong-border: #403d37;
127
- --txt: #eae7e0;
128
- --strong-txt: #f4f1ea;
129
- --mute: #9c968a;
130
- --mute-2: #a8a29a;
131
- --faint: #6e6961;
132
- --faint-2: #837d74;
133
- --soft: #2c2a26;
134
- --chip: #2e2c27;
135
- --input-bg: #1c1b18;
136
- --focus: #8d95ff;
137
- --danger: #d9705f;
138
- --danger-soft: #3a2320;
139
- --amber: #d9a520;
140
- --green: #8ea37f;
141
- --btn-bg: #f0ede6;
142
- --btn-fg: #1b1a16;
143
- --diff-paper: #24231f;
144
- --diff-ink: #eae7df;
145
- --diff-muted: #b8b1a5;
146
- --diff-line: #464239;
147
- --diff-removed: #372723;
148
- --diff-added: #263426;
149
- --diff-delete: #61382e;
150
- --diff-insert: #355735;
151
- --diff-delete-ink: #ffb6a5;
152
- --diff-insert-ink: #b1d9a7;
153
- --diff-gap: #2a2823;
154
- --diff-accent: #9bbad2;
155
213
  }
156
214
 
157
215
  * {
@@ -360,6 +418,7 @@
360
418
  background: var(--panel);
361
419
  width: min(380px, 100vw - 16px);
362
420
  max-height: min(300px, 50vh);
421
+ box-shadow: var(--review-shadow);
363
422
  color: var(--txt);
364
423
  border-radius: 8px;
365
424
  padding: 12px 16px;
@@ -369,7 +428,6 @@
369
428
  top: calc(100% + 4px);
370
429
  right: 8px;
371
430
  overflow: auto;
372
- box-shadow: 0 8px 24px #0002;
373
431
  }
374
432
 
375
433
  .script-details-body p {
@@ -1046,13 +1104,13 @@
1046
1104
  border: 1px solid var(--strong-border);
1047
1105
  background: var(--card);
1048
1106
  width: min(340px, 100vw - 24px);
1107
+ box-shadow: 0 16px 44px var(--review-shadow-color);
1049
1108
  max-height: calc(100dvh - var(--toolbar-h) - 12px);
1050
1109
  border-radius: 10px;
1051
1110
  padding: 14px;
1052
1111
  animation: .13s ease-out rise;
1053
1112
  position: fixed;
1054
1113
  overflow-y: auto;
1055
- box-shadow: 0 16px 44px #1b1a163d;
1056
1114
  }
1057
1115
 
1058
1116
  .contextual-compose.sheet {
@@ -1136,10 +1194,10 @@
1136
1194
  }
1137
1195
 
1138
1196
  .quote {
1197
+ border-left: 2px solid var(--annotation-border);
1139
1198
  color: var(--mute);
1140
1199
  white-space: normal;
1141
1200
  overflow-wrap: anywhere;
1142
- border-left: 2px solid #f5c400b3;
1143
1201
  margin: 0 0 10px;
1144
1202
  padding-left: 9px;
1145
1203
  font-size: 12px;
@@ -1218,11 +1276,11 @@
1218
1276
  max-height: min(280px, calc(100dvh - var(--toolbar-h) - 24px));
1219
1277
  border: 1px solid var(--strong-border);
1220
1278
  background: var(--card);
1279
+ box-shadow: 0 10px 30px var(--review-shadow-color);
1221
1280
  border-radius: 9px;
1222
1281
  padding: 13px 14px;
1223
1282
  position: fixed;
1224
1283
  overflow: auto;
1225
- box-shadow: 0 10px 30px #1b1a1633;
1226
1284
  }
1227
1285
 
1228
1286
  .drawer {
@@ -1231,6 +1289,7 @@
1231
1289
  width: min(var(--drawer-w), calc(100vw - 32px));
1232
1290
  border-left: 1px solid var(--hair);
1233
1291
  background: var(--panel);
1292
+ box-shadow: -12px 0 34px var(--review-shadow-color);
1234
1293
  visibility: hidden;
1235
1294
  grid-template-rows: auto minmax(0, 1fr) minmax(0, auto);
1236
1295
  transition: transform .16s ease-out, visibility 0s linear .16s;
@@ -1239,7 +1298,6 @@
1239
1298
  bottom: 0;
1240
1299
  right: 0;
1241
1300
  transform: translateX(102%);
1242
- box-shadow: -12px 0 34px #1b1a1629;
1243
1301
  }
1244
1302
 
1245
1303
  .drawer.open {
@@ -1258,7 +1316,7 @@
1258
1316
  .drawer-backdrop {
1259
1317
  z-index: 70;
1260
1318
  inset: var(--toolbar-h) 0 0;
1261
- background: #14131133;
1319
+ background: var(--review-overlay);
1262
1320
  position: fixed;
1263
1321
  }
1264
1322
 
@@ -1406,13 +1464,13 @@
1406
1464
  z-index: 3;
1407
1465
  border: 1px solid var(--strong-border);
1408
1466
  background: var(--card);
1409
- border-radius: 7px;
1410
1467
  min-width: 132px;
1468
+ box-shadow: var(--review-shadow);
1469
+ border-radius: 7px;
1411
1470
  padding: 4px;
1412
1471
  position: absolute;
1413
1472
  top: 38px;
1414
1473
  right: 12px;
1415
- box-shadow: 0 8px 24px #1b1a1633;
1416
1474
  }
1417
1475
 
1418
1476
  .aligned-card .comment-menu {
@@ -1486,10 +1544,10 @@
1486
1544
  .btn-danger {
1487
1545
  border: 1px solid var(--danger);
1488
1546
  background: var(--danger);
1489
- color: #fff;
1547
+ min-height: 32px;
1548
+ color: var(--destructive-foreground);
1490
1549
  cursor: pointer;
1491
1550
  border-radius: 6px;
1492
- min-height: 32px;
1493
1551
  padding: 6px 11px;
1494
1552
  font-size: 12px;
1495
1553
  font-weight: 500;
@@ -1757,6 +1815,7 @@
1757
1815
  z-index: 110;
1758
1816
  background: var(--btn-bg);
1759
1817
  color: var(--btn-fg);
1818
+ box-shadow: var(--review-shadow);
1760
1819
  border-radius: 8px;
1761
1820
  padding: 8px 14px;
1762
1821
  font-size: 12px;
@@ -1765,7 +1824,6 @@
1765
1824
  bottom: 22px;
1766
1825
  left: 50%;
1767
1826
  transform: translateX(-50%);
1768
- box-shadow: 0 8px 24px #0000002e;
1769
1827
  }
1770
1828
 
1771
1829
  @keyframes rise {
@@ -2524,7 +2582,19 @@
2524
2582
  }
2525
2583
 
2526
2584
  .shell-destinations {
2585
+ flex-wrap: wrap;
2527
2586
  grid-area: destinations;
2587
+ align-items: center;
2588
+ gap: 8px;
2589
+ min-width: 0;
2590
+ display: flex;
2591
+ }
2592
+
2593
+ .brand-mark {
2594
+ flex: 0 0 32px;
2595
+ width: 32px;
2596
+ height: 32px;
2597
+ display: block;
2528
2598
  }
2529
2599
 
2530
2600
  .segmented-control {
@@ -3264,6 +3334,10 @@
3264
3334
  overflow-y: auto;
3265
3335
  }
3266
3336
 
3337
+ .rounded {
3338
+ border-radius: .25rem;
3339
+ }
3340
+
3267
3341
  .rounded-4xl {
3268
3342
  border-radius: var(--radius-4xl);
3269
3343
  }
@@ -3656,6 +3730,11 @@
3656
3730
  filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
3657
3731
  }
3658
3732
 
3733
+ .invert {
3734
+ --tw-invert: invert(100%);
3735
+ filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
3736
+ }
3737
+
3659
3738
  .transition {
3660
3739
  transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
3661
3740
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -3698,6 +3777,10 @@
3698
3777
  block-size: var(--spacing);
3699
3778
  }
3700
3779
 
3780
+ .paused {
3781
+ animation-play-state: paused;
3782
+ }
3783
+
3701
3784
  .running {
3702
3785
  animation-play-state: running;
3703
3786
  }
@@ -4402,6 +4485,58 @@
4402
4485
  outline-offset: 2px;
4403
4486
  box-shadow: none;
4404
4487
  }
4488
+
4489
+ .shell-destinations .segmented-control {
4490
+ background: var(--card);
4491
+ max-width: 100%;
4492
+ min-height: 32px;
4493
+ box-shadow: inset 0 0 0 1px var(--border);
4494
+ isolation: isolate;
4495
+ border: 0;
4496
+ border-radius: 8px;
4497
+ gap: 0;
4498
+ padding: 0;
4499
+ }
4500
+
4501
+ .shell-destinations .segmented-control > button {
4502
+ isolation: isolate;
4503
+ height: auto;
4504
+ min-height: 32px;
4505
+ box-shadow: none;
4506
+ white-space: normal;
4507
+ background: none;
4508
+ border: 0;
4509
+ border-radius: 8px;
4510
+ padding: 0 12px;
4511
+ position: relative;
4512
+ }
4513
+
4514
+ .shell-destinations .segmented-control > button:before {
4515
+ content: "";
4516
+ z-index: -1;
4517
+ pointer-events: none;
4518
+ border-radius: 5px;
4519
+ position: absolute;
4520
+ inset: 3px;
4521
+ }
4522
+
4523
+ .shell-destinations .segmented-control > button:hover:before {
4524
+ background: var(--secondary);
4525
+ }
4526
+
4527
+ .shell-destinations .segmented-control > button[aria-pressed="true"] {
4528
+ color: var(--accent-foreground);
4529
+ }
4530
+
4531
+ .shell-destinations .segmented-control > button[aria-pressed="true"]:before {
4532
+ background: var(--accent);
4533
+ }
4534
+
4535
+ .shell-destinations .segmented-control > button:focus-visible {
4536
+ outline: 2px solid var(--ring);
4537
+ outline-offset: 2px;
4538
+ z-index: 1;
4539
+ }
4405
4540
  }
4406
4541
 
4407
4542
  @property --tw-animation-delay {
@@ -4505,42 +4640,141 @@
4505
4640
  initial-value: 0;
4506
4641
  }
4507
4642
 
4508
- .review-ui {
4643
+ :root, .review-ui {
4509
4644
  color-scheme: light;
4510
- --background: #f6f7f9;
4511
- --foreground: #23262e;
4512
- --card: #fff;
4513
- --card-foreground: #23262e;
4514
- --popover: #fff;
4515
- --popover-foreground: #23262e;
4516
- --primary: #3449b9;
4517
- --primary-foreground: #fff;
4518
- --secondary: #edf0f5;
4519
- --secondary-foreground: #303642;
4520
- --muted: #f0f2f5;
4521
- --muted-foreground: #606775;
4522
- --accent: #eaf0ff;
4523
- --accent-foreground: #3045a2;
4524
- --destructive: #b52f3c;
4525
- --destructive-foreground: #fff;
4526
- --border: #dce0e7;
4527
- --input: #8791a1;
4528
- --ring: #475dcb;
4529
- --review-added: #edf7f0;
4530
- --review-added-foreground: #25613b;
4531
- --review-added-border: #a5cfb2;
4532
- --review-removed: #fff0f0;
4533
- --review-removed-foreground: #9b303a;
4534
- --review-removed-border: #e2b0b5;
4535
- --review-modified: #fff7e6;
4536
- --review-modified-foreground: #805316;
4537
- --review-modified-border: #d9be80;
4538
- --review-count-added: #047857;
4539
- --review-count-modified: #2563eb;
4540
- --review-count-removed: #be123c;
4541
- --review-insert: #c7e8d2;
4542
- --review-delete: #f6cdd2;
4543
- --review-overlay: #12172380;
4645
+ --background: #f5f2ea;
4646
+ --foreground: #292e2b;
4647
+ --card: #fffdf7;
4648
+ --card-foreground: #292e2b;
4649
+ --popover: #fffdf7;
4650
+ --popover-foreground: #292e2b;
4651
+ --primary: #17685f;
4652
+ --primary-foreground: #fffdf7;
4653
+ --secondary: #ecede5;
4654
+ --secondary-foreground: #626b65;
4655
+ --muted: #ecede5;
4656
+ --muted-foreground: #626b65;
4657
+ --accent: #e1eeea;
4658
+ --accent-foreground: #17685f;
4659
+ --destructive: #b43c48;
4660
+ --destructive-foreground: #fffdf7;
4661
+ --border: #d8d8cc;
4662
+ --input: #7c877d;
4663
+ --ring: #17685f;
4664
+ --review-added: #eff3e2;
4665
+ --review-added-foreground: #4d6b24;
4666
+ --review-added-border: #82945e;
4667
+ --review-removed: #fcecef;
4668
+ --review-removed-foreground: #b43c48;
4669
+ --review-removed-border: #c88791;
4670
+ --review-modified: #fff1d9;
4671
+ --review-modified-foreground: #915b13;
4672
+ --review-modified-border: #b99157;
4673
+ --review-count-added: #4d6b24;
4674
+ --review-count-removed: #b43c48;
4675
+ --review-count-modified: #915b13;
4676
+ --review-insert: #dce7c5;
4677
+ --review-delete: #fae2e7;
4678
+ --review-overlay: #191f1d80;
4679
+ --review-shadow-color: #191f1d26;
4680
+ --annotation-foreground: #75470e;
4681
+ --annotation-background: #fff1d9;
4682
+ --annotation-active: #f5d6a3;
4683
+ --annotation-border: #915b13;
4684
+ --annotation-tint: #915b131a;
4685
+ --annotation-active-tint: #915b132e;
4686
+ --halo-light: #fffdf7;
4687
+ --halo-dark: #191f1d;
4688
+ }
4689
+
4690
+ :root[data-theme="dark"], :root[data-theme="dark"].review-ui, :root[data-theme="dark"] .review-ui {
4691
+ color-scheme: dark;
4692
+ --background: #191f1d;
4693
+ --foreground: #eeefe6;
4694
+ --card: #222a26;
4695
+ --card-foreground: #eeefe6;
4696
+ --popover: #222a26;
4697
+ --popover-foreground: #eeefe6;
4698
+ --primary: #85c7b8;
4699
+ --primary-foreground: #102f29;
4700
+ --secondary: #303a33;
4701
+ --secondary-foreground: #afb9af;
4702
+ --muted: #303a33;
4703
+ --muted-foreground: #afb9af;
4704
+ --accent: #293f37;
4705
+ --accent-foreground: #85c7b8;
4706
+ --destructive: #f2a2ab;
4707
+ --destructive-foreground: #40272c;
4708
+ --border: #3c4841;
4709
+ --input: #77877b;
4710
+ --ring: #85c7b8;
4711
+ --review-added: #2b3522;
4712
+ --review-added-foreground: #bbcd87;
4713
+ --review-added-border: #6f8347;
4714
+ --review-removed: #40272c;
4715
+ --review-removed-foreground: #f2a2ab;
4716
+ --review-removed-border: #a96572;
4717
+ --review-modified: #3d3020;
4718
+ --review-modified-foreground: #e7bb72;
4719
+ --review-modified-border: #9c7a46;
4720
+ --review-count-added: #bbcd87;
4721
+ --review-count-removed: #f2a2ab;
4722
+ --review-count-modified: #e7bb72;
4723
+ --review-insert: #3e4d2d;
4724
+ --review-delete: #633944;
4725
+ --review-overlay: #191f1db3;
4726
+ --review-shadow-color: #0006;
4727
+ --annotation-foreground: #f1cc8e;
4728
+ --annotation-background: #3d3020;
4729
+ --annotation-active: #594325;
4730
+ --annotation-border: #e7bb72;
4731
+ --annotation-tint: #e7bb721a;
4732
+ --annotation-active-tint: #e7bb722e;
4733
+ --halo-light: #fffdf7;
4734
+ --halo-dark: #191f1d;
4735
+ }
4736
+
4737
+ :root, .review-ui {
4738
+ --canvas: var(--background);
4739
+ --panel: var(--card);
4740
+ --card-border: var(--border);
4741
+ --hair: var(--border);
4742
+ --hair-2: var(--border);
4743
+ --dash: var(--border);
4744
+ --strong-border: var(--input);
4745
+ --txt: var(--foreground);
4746
+ --strong-txt: var(--foreground);
4747
+ --mute: var(--muted-foreground);
4748
+ --mute-2: var(--muted-foreground);
4749
+ --faint: var(--muted-foreground);
4750
+ --faint-2: var(--muted-foreground);
4751
+ --soft: var(--muted);
4752
+ --chip: var(--secondary);
4753
+ --input-bg: var(--card);
4754
+ --focus: var(--ring);
4755
+ --danger: var(--destructive);
4756
+ --danger-soft: var(--review-removed);
4757
+ --amber: var(--annotation-border);
4758
+ --green: var(--review-added-foreground);
4759
+ --btn-bg: var(--primary);
4760
+ --btn-fg: var(--primary-foreground);
4761
+ --diff-paper: var(--card);
4762
+ --diff-ink: var(--foreground);
4763
+ --diff-muted: var(--muted-foreground);
4764
+ --diff-line: var(--border);
4765
+ --diff-removed: var(--review-removed);
4766
+ --diff-added: var(--review-added);
4767
+ --diff-delete: var(--review-delete);
4768
+ --diff-insert: var(--review-insert);
4769
+ --diff-delete-ink: var(--review-removed-foreground);
4770
+ --diff-insert-ink: var(--review-added-foreground);
4771
+ --diff-gap: var(--muted);
4772
+ --diff-accent: var(--review-modified-foreground);
4773
+ --focus-ring: 0 0 0 3px var(--ring);
4774
+ --review-shadow: 0 8px 24px var(--review-shadow-color), 0 1px 3px var(--review-shadow-color);
4775
+ }
4776
+
4777
+ .review-ui {
4544
4778
  --radius: .5rem;
4545
4779
  --radius-md: var(--radius);
4546
4780
  --review-control-height: 2rem;
@@ -4552,7 +4786,6 @@
4552
4786
  --review-text-base: .875rem;
4553
4787
  --review-text-lg: 1.125rem;
4554
4788
  --review-space: .25rem;
4555
- --review-shadow: 0 8px 24px #17203814, 0 1px 3px #1720380d;
4556
4789
  --review-duration: .12s;
4557
4790
  --review-layer-toolbar: 20;
4558
4791
  --review-layer-context: 60;
@@ -4562,45 +4795,6 @@
4562
4795
  --review-layer-dialog: 120;
4563
4796
  }
4564
4797
 
4565
- :root[data-theme="dark"].review-ui, :root[data-theme="dark"] .review-ui {
4566
- color-scheme: dark;
4567
- --background: #14161b;
4568
- --foreground: #e7eaf0;
4569
- --card: #1c1f26;
4570
- --card-foreground: #e7eaf0;
4571
- --popover: #242832;
4572
- --popover-foreground: #e7eaf0;
4573
- --primary: #a7b6ff;
4574
- --primary-foreground: #17224e;
4575
- --secondary: #2b303b;
4576
- --secondary-foreground: #e0e5ef;
4577
- --muted: #252a34;
4578
- --muted-foreground: #a6afbd;
4579
- --accent: #2b3556;
4580
- --accent-foreground: #ccd6ff;
4581
- --destructive: #ff9aa3;
4582
- --destructive-foreground: #45141a;
4583
- --border: #373e4b;
4584
- --input: #707c90;
4585
- --ring: #a7b6ff;
4586
- --review-added: #1c3528;
4587
- --review-added-foreground: #a1dbb3;
4588
- --review-added-border: #416d50;
4589
- --review-removed: #3e252b;
4590
- --review-removed-foreground: #ffb2bb;
4591
- --review-removed-border: #80515b;
4592
- --review-modified: #392f1d;
4593
- --review-modified-foreground: #e9ca8b;
4594
- --review-modified-border: #7b6742;
4595
- --review-count-added: #34d399;
4596
- --review-count-modified: #60a5fa;
4597
- --review-count-removed: #fb7185;
4598
- --review-insert: #31523c;
4599
- --review-delete: #633943;
4600
- --review-overlay: #070a10b3;
4601
- --review-shadow: 0 8px 24px #00000040, 0 1px 3px #0003;
4602
- }
4603
-
4604
4798
  @media (prefers-reduced-motion: reduce) {
4605
4799
  .review-ui {
4606
4800
  --review-duration: 0s;