1
1
mirror of https://github.com/primer/css.git synced 2024-11-09 12:22:47 +03:00
Commit Graph

124 Commits

Author SHA1 Message Date
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
Jon Rohan
e4ee5f2780
Merge branch 'main' into text_truncate_2 2021-05-20 14:02:24 -07:00
Jon Rohan
9bff0b83a7
Merge branch 'main' into layout-component-v2 2021-05-20 09:16:47 -07:00
github-actions[bot]
10de5710fd Version Packages 2021-05-19 23:48:18 +00:00
simurai
d5e425e409
Create soft-gifts-pretend.md 2021-05-20 08:43:19 +09:00
github-actions[bot]
946c729781 Version Packages 2021-05-18 21:20:56 +00:00
Cole Bemis
1eea557506
Create olive-forks-breathe.md 2021-05-18 11:40:13 -07:00
Manuel Puyol
5ecc210d71
Merge branch 'main' into layout-component-v2 2021-05-18 10:10:51 -05:00
Tobias Ahlin
5ef399cff0
Create twenty-apples-attack.md 2021-05-14 10:26:29 +02:00
github-actions[bot]
eca30969fb Version Packages 2021-05-13 21:45:09 +00:00
Cole Bemis
5ef7bd6ef0
Create cyan-vans-shake.md 2021-05-13 10:10:19 -07:00
simurai
345db00485
Merge pull request #1391 from primer/nav-focus
Improve focus state for .SideNav and .menu
2021-05-13 19:50:46 +09:00