1
1
mirror of https://github.com/primer/css.git synced 2024-09-19 20:57:37 +03:00
Commit Graph

159 Commits

Author SHA1 Message Date
Jon Rohan
2cf661c4d9
Loosening the primer/primitives dependency to any minor.patch version (#1594)
* Loosening the primer/primitives dependency to any minor.patch version

* Create friendly-squids-grin.md
2021-09-16 01:33:14 +00:00
Jon Rohan
5fb831cf50
Adding directional margin classes to the utilities (#1595)
* Adding directional margin classes to the utilities

Co-Authored-By: Katie Langerman <langermank@gmail.com>

* Create sixty-masks-matter.md

* Pushes the box to the top

Co-authored-by: Katie Langerman <langermank@gmail.com>
2021-09-15 16:33:47 -07:00
simurai
4a1f09a75e
Add V2 utilities (#1580)
* Add V2 utilities

* Create dull-birds-protect.md

* Comment out duplicate classes

* Update src/utilities/colors.scss

Co-authored-by: Jon Rohan <yes@jonrohan.codes>

* Lint

* Deprecate V1 utilities

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-09-15 10:07:48 -07:00
GitHub Design Systems Bot
acb284eb88
Version Packages (#1591)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-14 10:04:06 +09:00
simurai
39c9c92874
Revert font stack changes (#1592)
* Revert `$body-font` changes

* Create thirty-pants-relate.md
2021-09-14 09:58:30 +09:00
Joel Hawksley
e3c8f90e7f
Update Breadcrumbs markup to match w3 aria example (#1590) 2021-09-13 14:06:45 -06:00
GitHub Design Systems Bot
5eb81130b9
Version Packages (#1577)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-10 11:05:58 -07:00
Jon Rohan
be518b8023
Updating deprecations.js file to be more straightforward (#1581)
* Updating deprecations.js file to be more straightforward

* Create poor-coins-fix.md

* Remove tests

* Adding more info about the deprecation to the doc

* Title section

* Moving data to deprecations.json

* Moving data to deprecations.json

* Lint only scss files
2021-09-10 10:54:26 -07:00
Jon Rohan
c3b4a0c363
Removing v2 color mode css variable fallbacks (#1579)
* Removing v2 color mode fallbacks

* Create shaggy-shirts-camp.md
2021-09-09 10:11:45 +09:00
Jon Rohan
c7ea6448c1
Replacing deprecated variables with color v2 variables (#1575)
* Correcting stylelint deprecated color vars

* Fixing deprecations with no replacement
2021-09-08 09:27:40 -07:00
simurai
386dfa0145
Improve font stack on Windows (#1573)
* Use `Segoe UI Variable Text`

* Add `Yu Gothic`

* Create dirty-bikes-play.md

* Lint

* Use `Meiryo` instead of `Yu Gothic`

* Add note about Meiryo

* Update .changeset/dirty-bikes-play.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>

* Update .changeset/dirty-bikes-play.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-09-08 08:42:41 +09:00
GitHub Design Systems Bot
34d5531065
Version Packages (#1568)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-03 15:24:11 -07:00
Cole Bemis
ab72486f62
Bump @primer/primitives (#1567)
* Bump @primer/primitives to 4.7.0

* Output dark high contrast theme variables

* Remove modes-v2.scss

* Create little-vans-grin.md

* Create many-bananas-design.md

* Create late-hounds-scream.md

* Reduce severity of `no-deprecated-colors`lint rule
2021-09-03 15:16:27 -07:00
GitHub Design Systems Bot
01bfc49004
Version Packages (#1561)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-02 12:03:53 +09:00
simurai
679d70b579
Revert TimelineItem-badge fix (#1563)
* Revert `TimelineItem-badge` fix

* Create thirty-tips-help.md
2021-09-02 11:54:13 +09:00
Jon Rohan
4ae2174e33
Add .wb-break-word class to existing .break-word (#1555) 2021-08-31 00:42:26 +00:00
GitHub Design Systems Bot
8f1c40b074
Version Packages (#1554)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-30 12:43:11 +09:00
simurai
3ad13abac3
Fix TimelineItem--condensed background (#1556)
* Fix TimelineItem--condensed background

* Create silver-items-talk.md
2021-08-30 12:32:28 +09:00
simurai
966de4ee0f
Fix code in MD headers (#1552)
* Fix code in headers

* Create silver-shrimps-agree.md
2021-08-26 10:50:11 -07:00
GitHub Design Systems Bot
d1b1797dc7
Version Packages (#1551)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-26 11:42:24 +09:00
simurai
8a684ee4d1
Add gradient hack to TimelineItem-badge (#1550)
* Add gradient hack to TimelineItem-badge

* Create fuzzy-carpets-promise.md
2021-08-26 01:45:17 +00:00
GitHub Design Systems Bot
d1671d5881
Version Packages (#1530)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-08-18 19:56:47 -07:00
Joel Hawksley
6b6e89a8bf
use standard lifecyle milestones for statuses (#1540)
* use standard lifecyle milestones for statuses

* Create neat-laws-matter.md
2021-08-18 10:07:50 -07:00
Vinicius Depizzol
dca8e0aecc
Improve font rendering on Linux (#1529)
* Improve $body-font stack

This is an attempt at fixing #1209. Further reading: 

- https://infinnie.github.io/blog/2017/systemui.html
- https://blog.jim-nielsen.com/2020/system-fonts-on-the-web/

* pause stylelint complaints in documented stack

* Create silent-geckos-do.md

Co-authored-by: simurai <simurai@github.com>
2021-08-12 14:39:56 +09:00
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