1
1
mirror of https://github.com/primer/css.git synced 2024-12-01 20:53:06 +03:00
Commit Graph

135 Commits

Author SHA1 Message Date
Kristján Oddsson
303cacae77
Convert package to a ES module (#1528)
* Set package as being a ES module package

* Set `engines` key to node versions that support ES modules

* Rename postcss config to a CommonJS extension

* Use import and export statements

* Import the default globby export

* Set stylelint config files as CommonJS files

* Convert prettier config to a CommonJS module

* Set a root ESLint config folder

* silence non-error output for dist

* export esm for stats modules

* Convert bundle size report

* Create strong-lemons-ring.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-08-11 14:10:47 -07:00
GitHub Design Systems Bot
612ed6b315
Version Packages (#1523)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-05 16:31:56 +00:00
Joel Hawksley
06f8362209
render code at 100% font size irregardless of direct descension (#1525)
* render `code` at 100% font size irregardless of direct descension

* Create famous-planes-dress.md
2021-08-05 10:18:28 -06:00
Jon Rohan
8bfe2b7e41
Fix bug where outline was showing up on hover (#1519)
* Fix bug where outline was showing up on hover

* Create breezy-ads-eat.md

* Put back this class
2021-08-02 08:24:38 -07:00
GitHub Design Systems Bot
4909f4c7c8
Version Packages (#1518)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-29 10:43:32 +09:00
simurai
7011d0469e
Remove background from .note (#1517)
* Remove background from .note

* Create khaki-lobsters-marry.md
2021-07-29 10:35:41 +09:00
GitHub Design Systems Bot
476b666171
Version Packages (#1509)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-28 09:06:48 +09:00
Jon Rohan
d1ea5c2c73
Adding outline to invisible buttons and close button (#1510)
* Adding outline to invisible buttons and close button

* Create slow-bobcats-sleep.md
2021-07-21 08:16:37 +09:00
simurai
30523d6436
Fix form tooltip transparency (#1507)
* Fix form tooltip transparency

* Create lovely-rockets-heal.md
2021-07-20 15:34:58 +00:00
Jon Rohan
13cda22638
Creating Header-input class for dark header inputs (#1506)
* Creating Header-input class for dark header inputs

* Create unlucky-cooks-punch.md

* Adding placeholder color
2021-07-20 15:29:25 +00:00
GitHub Design Systems Bot
68e6619d2a
Version Packages (#1463)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-07-16 11:06:11 +09:00
Marcelo Jacobus
2e580a7ed4
Fix label contrast (#1498) (#1499)
* Fix label contrast (#1498)

* Update src/dropdown/dropdown.scss

Co-authored-by: simurai <simulus@gmail.com>

* Create two-cows-work.md

Co-authored-by: simurai <simulus@gmail.com>
2021-07-15 13:46:16 +09:00
Tobias Ahlin
84bbd501a4
Add font-weight-medium to marketing styles, and use it in the type scale (#1497)
* Add and use medium

* Use $font-weight-extrabold instead of hard-coded 800 weight

* Formatting

* Create forty-buses-serve.md

* Add text-medium utility

* Add $font-weight-extrabold

* Bump extra bold to 800
2021-07-14 16:18:57 +02:00
Tobias Ahlin
e072734aa1
Documentation: Remove deprecated faded borders documentation (#1501)
* Remove deprecated faded borders

* Create proud-lions-bake.md
2021-07-14 13:33:12 +02:00
Jon Rohan
009de47667
Update heavy-rings-sip.md 2021-07-02 13:55:37 -07:00
Sarah Vessels
c345bd3819
Fix unreadable secondary text in dropdown-item on hover/focus (#1488)
* Fix unreadable secondary text in dropdown hover

* More widely applicable readability fix

Co-authored-by: Jon Rohan <rohan@github.com>

* Fix whitespace

* Create moody-apes-study.md

Co-authored-by: Jon Rohan <rohan@github.com>
2021-07-02 13:52:40 -07:00
Manuel Puyol
f52d40cce5
Prevent content to increase main's size (#1486)
Based on https://css-tricks.com/preventing-a-grid-blowout/

If main's content was large enough, it would cause `main` to grow more than it should and push `sidebar` to the side, causing an horizontal scroll on pages.

| Before | After |
|--------|--------|
| ![image](https://user-images.githubusercontent.com/11280312/124145356-56996900-da52-11eb-954d-8b6a44d85cea.png) | ![image](https://user-images.githubusercontent.com/11280312/124145395-5e590d80-da52-11eb-9024-175c2de360ad.png) |
2021-07-02 14:35:28 +00:00
Aramis Razzaghipour
0298b69bda
Move Menlo before Consolas in monospace font stack (#1487) 2021-07-02 15:02:44 +09:00
Jon Rohan
84488397f4
Make sure truncate is a direct child (#1483)
* Make sure truncate is a direct child

* Create clean-wolves-type.md
2021-07-01 12:42:18 +09:00
simurai
105296c6b4
Make TimelineItem-badge--success ready for V2 (#1475)
* Use btn-primary-text for TimelineItem-badge--success

* Use emphasis color

* Create silent-cycles-camp.md
2021-06-28 20:43:51 +09:00
simurai
8541ed1db1
Use variable for the active border of the UnderlineNav (#1472)
* Replace hex with variable

* Create rude-rockets-flow.md
2021-06-23 19:21:14 +09:00
mkt
8838a3ac48
fix: deprecation warning about using / for division (#1452)
* fix: replaced divisions using / with multiplications

using / for division is deprecated and the math module (math.div(x,y)) not guaranteed to be available

* added changeset

* fixed "lack of concentration" issue
2021-06-15 21:33:59 +09:00
GitHub Design Systems Bot
0b3584c6b3
Version Packages (#1438)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-06-09 11:37:27 +09:00
simurai
9181b479a8
Support SF Mono font in Firefox and Safari (take 2) (#1451)
* Update monospace font stack

* Create early-ducks-decide.md
2021-06-09 10:27:59 +09:00
Jeremy Danyow
c65b5f9cf0
set .btn-danger:disabled octicon color (#1443)
* fix disabled btn-danger octicon color

* fix lint error

* Create stupid-dolls-hammer.md

Co-authored-by: simurai <simulus@gmail.com>
2021-06-08 17:46:52 +09:00
Jon Rohan
1d366c4b2c
Adding fill mode forwards to anim-fade-out (#1450)
* Adding fill mode forwards to anim-fade-out

* Create neat-poems-flow.md
2021-06-08 12:15:50 +09:00
simurai
8175f88447
Replace auto and fade variables (#1448)
* Replace auto variables

* Replace fade variables

* Create smart-apples-hug.md

* yarn upgrade @primer/primitives

* yarn add primer/primitives@^4.3.10

* Use existing variables

Since the v2 variables are not available yet

* Revert bumping @primer/primitives

This should not be needed anymore.

* Update stylelint.config.js

* Revert "Use existing variables"

This reverts commit cc620b971a.

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-06-08 11:58:23 +09:00
Jeremy Danyow
6c22133ae1
set .btn-primary:disabled octicon color (#1442)
* set .btn-primary:disabled octicon color

* Create wicked-dolphins-study.md

Co-authored-by: simurai <simulus@gmail.com>
2021-06-07 11:14:42 +09:00
Jon Rohan
3b552c77af
Adding anim-hover-grow to replace hover-grow (#1441)
* Adding anim-hover-grow to replace hover-grow

* Create grumpy-shrimps-breathe.md
2021-06-07 11:01:44 +09:00
Manuel Puyol
eb9a100e0c update changeset 2021-05-27 11:05:09 -05:00
Manuel Puyol
55ca5f2f73 add changeset 2021-05-27 11:02:28 -05:00
github-actions[bot]
aa3806decc Version Packages 2021-05-27 13:50:09 +00:00
Jon Rohan
5bc54f9e3b
Create long-clouds-retire.md 2021-05-27 06:48:36 -07:00
github-actions[bot]
aa9c99f066 Version Packages 2021-05-27 00:19:11 +00:00
simurai
f780741a2c
Merge pull request #1422 from primer/layout-flow-as-row
Improve dividers and allow sidebar positioning when `Layout` is flowing as row.
2021-05-27 09:18:28 +09:00
Jon Rohan
6dad17845f
Create hip-bees-look.md 2021-05-26 14:57:18 -07:00
Jon Rohan
b992f6f167
Update quiet-rings-confess.md 2021-05-26 08:16:28 -07:00
simurai
57c1797b78
Merge pull request #1420 from hpalacio/hpalacio/lists
lists.scss: reset <ol> without 'type' attr to "decimal"
2021-05-26 17:30:43 +09:00
simurai
a113b7bd9a
Merge pull request #992 from primer/mono-font
Support SF Mono font in Firefox and Safari
2021-05-26 16:08:29 +09:00
Jon Rohan
55302dc232 Create quiet-rings-confess.md 2021-05-26 08:56:12 +02:00
Jon Rohan
90f95693f5
Create small-spies-give.md 2021-05-25 20:23:39 -07:00
Jon Rohan
efbd3a6ba0
Merge pull request #1423 from primer/variables_updates
Properly calculating the variables computed value for dist folder
2021-05-25 20:12:31 -07:00
Kate Higa
30597af94d Update CSS for breadcrumb slash separator 2021-05-25 15:31:16 -07:00
Jon Rohan
6f79bfaa7a
Create fuzzy-cars-promise.md 2021-05-25 14:44:12 -07:00
Manuel Puyol
1ec75e6c40 update changeset 2021-05-25 16:01:20 -05:00
Manuel Puyol
882c570f9a add changeset 2021-05-25 15:44:29 -05:00
github-actions[bot]
2d2fd04d84 Version Packages 2021-05-25 01:11:02 +00:00
simurai
a9a61ee690
Create sixty-drinks-dress.md 2021-05-25 10:08:32 +09:00
github-actions[bot]
c6c833185d Version Packages 2021-05-25 00:24:19 +00:00
simurai
fb6a7e3dc1
Create hip-chairs-guess.md 2021-05-25 09:16:53 +09:00