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

174 Commits

Author SHA1 Message Date
Kristján Oddsson
0ed0307b7b
Set details overlay z-index to 111 (#1658)
* Set details overlay z-index to 111

* Add a CHANGESET
2021-10-05 09:00:03 -07:00
Javier Diaz
ce197c9ff1
Update alerts.md (#1628)
* Update alerts.md

Switched icons back to default icons for each type of message
* Info -> info
* Warning -> alert
* Error -> stop
* Success -> check

* Create gentle-rabbits-tickle.md

Co-authored-by: Cole Bemis <colebemis@github.com>
Co-authored-by: simurai <simurai@github.com>
2021-10-01 14:48:17 +09:00
Jeremy Danyow
54d3068bd6
remove remaining color-border-primary refs (#1629)
* --color-border-primary -> --color-border-default

* Create itchy-gifts-clap.md

Co-authored-by: Jon Rohan <rohan@github.com>
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-10-01 05:25:16 +00:00
Jon Rohan
5f3689b907
Updating @primer/stylelint-config and @primer/primitives (#1631)
* Updating @primer/stylelint-config and @primer/primitives

* Create late-crabs-flash.md
2021-10-01 14:19:57 +09:00
Jon Rohan
4d00d51d00
Changing to @primer/stylelint-config and upgrading @primer/primitives to 5.0 rc (#1626)
* Changing to @primer/styleint-config

* Put back these configs

* Create early-insects-share.md
2021-09-30 10:05:25 +09:00
Tracy Lum
afac04bcdf
Add footnote styles (#1616)
* Add footnote styles

Port the styles from dotcom to Primer.

* Create gold-games-tickle.md

* disable lints

* Nest footnotes within markdown-body

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

* Style footnotes

* Add footnotes to docs

* Lint

* Bump right border

Bumps the right border out a bit for symmetry in the :target border
style.

* Darken text when targeted

Co-authored-by: Jon Rohan <rohan@github.com>
Co-authored-by: simurai <simurai@github.com>
2021-09-29 03:02:35 +00:00
Jon Rohan
e47324faa4
Convert build tools to use dart-sass (#1617)
* Installing dart-sass

* Moving css compiling to separate file

* Removing node version

* Create polite-mayflies-refuse.md

* Don't compile support files

* Fix test to not check support

* Create olive-ants-kick.md
2021-09-24 00:49:00 +00:00
simurai
612841f1bd
V2 last minute tweaks (#1615)
* Last minute tweaks

* Create healthy-rings-suffer.md

* Update .color-border-tertiary mapping

* Format
2021-09-23 06:53:16 +00:00
simurai
21c5ebc01b
Colors V2 docs (#1603)
* Add v18 migration guide

* Update colors.mdx

* Move theming to support

* Delete color-system.mdx

* Update nav.yml

* Fix color imports in the docs

* Create small-papayas-prove.md

* Update theming.md

* Update colors.mdx

* Replace V1 with V2 classes

* More docs updates
2021-09-17 16:19:50 +00:00
simurai
852da9d5e3
Remove V1 color utilities (#1602)
* Remove V1 color utilities

* Create nice-terms-juggle.md
2021-09-17 01:43:15 +00:00
Jon Rohan
410c1d638b
Re-Added light & dark colorblind themes (#1601)
* Added light & dark colorblind themes

* Changeset

* Create afraid-pugs-whisper.md

* Updating primitives version

* Removing extra space

* Remove extra changeset

* Add themes

Co-authored-by: Julius Yanik <juliusschaeper@github.com>
Co-authored-by: simurai <simurai@github.com>
2021-09-16 18:39:23 -07:00
Jon Rohan
13de16c7d6
Prepare main to hold code for next major version (#1599)
* Adding pre mode

* Updating the workflows

* Update README.md

* Create proud-rules-wonder.md

* Rename and move color mode variables out of base package (#1462)

* Rename and move color mode variables out of base package

* Create mighty-goats-teach.md

* Add test to make sure support is never more than 0

* Update mighty-goats-teach.md

* Update mighty-goats-teach.md

* Remove test

* Delete patch

* Moving color modes to their own bundle (#1465)

* Moving color modes to their own bundle

* Create new-beers-peel.md

* Removing the rem() mixin and usages. Placing the computed values in place. (#1541)

* Removing the rem() mixin and usages. Placing the computed values in place.

* Create flat-shirts-lay.md

* Fixing stylelint issues

* Fix more stylelint issue

* Remove break-word from utilities (#1566)

* Remove break-word from utilities

* Create twelve-fireants-shave.md

* Adding dark high contrast

* Fixing mising color modes selectors

* Remove pre.json if it exists

* Fixing lint error

* Removing pre mode

Co-authored-by: simurai <simurai@github.com>
2021-09-16 18:20:07 -07:00
GitHub Design Systems Bot
289252583f
Version Packages (#1593)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-09-16 17:00:04 -07:00
Jon Rohan
f36d0e5fbc
Revert "Added light & dark colorblind themes (#1596)" (#1598)
This reverts commit dc99ed86cd.
2021-09-16 16:19:32 -07:00
Julius Yanik
dc99ed86cd
Added light & dark colorblind themes (#1596)
* Added light & dark colorblind themes

* Changeset

* Create afraid-pugs-whisper.md

* Updating primitives version

* Removing extra space

* Remove extra changeset

Co-authored-by: simurai <simurai@github.com>
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-09-16 09:34:45 -07:00
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