@primer/brand-css 0.56.4-rc.99f23b6a → 0.57.0-rc.19072860

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.
@@ -379,17 +379,52 @@ pre.IDE__Chat-copilot-indicator {
379
379
  fill: var(--brand-IDE-autoSuggest-fgColor);
380
380
  }
381
381
 
382
- .IDE__Editor-replay {
383
- margin-block-start: var(--base-size-24);
384
- margin-block-end: var(--base-size-16);
385
- align-self: center;
386
- position: relative;
387
- z-index: 1;
382
+ .IDE__play-pause-button {
383
+ cursor: pointer;
384
+ position: absolute;
385
+ bottom: var(--base-size-16);
386
+ right: var(--base-size-16);
387
+ display: flex;
388
+ align-items: center;
389
+ justify-content: center;
390
+ width: var(--base-size-48);
391
+ height: var(--base-size-48);
392
+ margin: 0;
393
+ padding: 0;
394
+ border: none;
395
+ border-radius: var(--brand-borderRadius-full);
396
+ background-color: var(--brand-IDE-playPauseControl-rest);
397
+ transition: background-color var(--brand-animation-duration-faster);
388
398
  }
389
399
 
390
- .IDE__Editor-replay[disabled] {
391
- opacity: 0.5;
392
- cursor: not-allowed;
400
+ .IDE__play-pause-button:hover {
401
+ background-color: var(--brand-IDE-playPauseControl-hover);
402
+ }
403
+
404
+ .IDE__play-pause-button:focus-visible {
405
+ outline: var(--base-size-4) solid var(--brand-color-focus);
406
+ outline-offset: var(--base-size-2);
407
+ }
408
+
409
+ .IDE__play-pause-button svg {
410
+ width: var(--base-size-16);
411
+ height: var(--base-size-16);
412
+ }
413
+
414
+ .IDE__play-pause-button path {
415
+ fill: var(--brand-button-subtle-fgColor-rest);
416
+ }
417
+
418
+ .IDE--chat-only .IDE__Chat-input-area {
419
+ width: calc(100% - var(--base-size-64));
420
+ }
421
+
422
+ .IDE--chat-only .IDE__play-pause-button {
423
+ background-color: var(--brand-IDE-playPauseControl-rest);
424
+ }
425
+
426
+ .IDE--chat-only .IDE__play-pause-button:hover {
427
+ background-color: var(--brand-IDE-playPauseControl-hover);
393
428
  }
394
429
 
395
430
  /* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-css",
3
- "version": "0.56.4-rc.99f23b6a",
3
+ "version": "0.57.0-rc.19072860",
4
4
  "description": "CSS stylesheets for Primer Brand components",
5
5
  "keywords": [
6
6
  "primer",