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

194 Commits

Author SHA1 Message Date
Jon Rohan
832e99886d
Updating @primer/primitives@6.1.0 (#1731)
* Updating @primer/primitives@6.1.0

* Create gentle-gifts-own.md
2021-11-01 23:27:16 +00:00
GitHub Design Systems Bot
085801af19
Version Packages (#1692)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-28 11:58:43 -07:00
simurai
bc3b94d26f
Add new color Labels (#1711)
* Add new role colors to .Label

* Create kind-cycles-hope.md
2021-10-28 17:34:29 +00:00
Katie Langerman
f7c44c35f8
Storybook: add Label stories (#1708)
* add label stories

* playgrounds

* add features

* Create dirty-pillows-drop.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-10-28 17:32:50 +00:00
Jon Rohan
bc50203324
Updating @primer/stylelint-config to 12.1.0 (#1712)
* Updating @primer/stylelint-config to 12.1.0

* Stylelint auto-fixes

* Create cyan-birds-help.md

Co-authored-by: Actions Auto Build <actions@github.com>
2021-10-28 10:14:08 -07:00
Jon Rohan
6a058ecbaf
Updating @primer/primitives to 6.0 (#1710)
* Updating @primer/primitives to 6.0

* Create beige-spiders-shout.md
2021-10-27 15:00:53 -07:00
Maxime De Greve
a997790b69
Fix for disabled Safari inputs (#1707)
* Fix for disabled Safari inputs

* Create lovely-rabbits-fly.md

* Fix linter warning

* Update src/forms/form-control.scss

Co-authored-by: simurai <simurai@github.com>

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
Co-authored-by: simurai <simurai@github.com>
2021-10-27 07:53:14 +01:00
simurai
af5a3ae826
Update Subhead actions (#1690)
* Right align .Subhead-actions

* Create dull-chefs-cover.md

* Increase spacing when description follows actions
2021-10-26 06:05:58 +00:00
simurai
b0e1687a56
Add more Octicon support (#1694)
* Add colored octicon support to .suggester

* Add octicon support for .radio-group

+ disabled state

* Add support for octicon in .btn in .flash

* Create dry-tips-scream.md
2021-10-25 00:49:49 +00:00
Jason Macgowan
c1ca19d4f0
Fix light-theme attr reference in theme docs (#1693)
* Fix light-theme attr reference

* Create olive-snakes-begin.md

Co-authored-by: Jon Rohan <rohan@github.com>
2021-10-21 17:13:59 +00:00
Aditya Patel
257f68f653
updated the color of toast warning icon (#1689)
* updated the color of toast warning icon (#1662)

* removed the `color` defination from `.Toast-icon`

* Create proud-mice-decide.md

Co-authored-by: Katie Langerman <langermank@github.com>
2021-10-20 16:47:12 -07:00
GitHub Design Systems Bot
88dfbb54f1
Version Packages (#1688)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-20 19:43:07 +09:00
simurai
cdb0faa606
Decrease contrast for disabled text (#1677)
* yarn add primer/primitives@^5.1.0

* Use --color-primer-fg-disabled

* Create tall-tips-thank.md

* Use --color-primer-fg-disabled for form inputs
2021-10-20 10:34:51 +00:00
hiroki osame
f013be66db
docs: close span tag (#1680)
* docs: close span tag

* Create curly-pans-march.md

Co-authored-by: Jon Rohan <rohan@github.com>
2021-10-18 22:26:43 +00:00
GitHub Design Systems Bot
b84400e7c9
Version Packages (#1664)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-08 09:24:47 -07:00
Jon Rohan
87b0b1d4c9
Removing the duplicate deprecation backgrounds (#1663)
* Removing the duplicate deprecation backgrounds

* Create thick-monkeys-film.md
2021-10-08 09:20:20 -07:00
GitHub Design Systems Bot
0cc2512392
Version Packages (#1600)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-10-08 16:39:37 +09:00
simurai
ebb573ff09
Update bg deprecations (#1661)
* Update bg deprecations

* Update v18-migration.mdx

* Create smooth-deers-accept.md
2021-10-08 16:28:45 +09:00
simurai
5f7bb45c21
Update utilities (#1630)
* Update utilities

* Create proud-scissors-compete.md

* Update spacing

* Remove `-subtle` and `-muted`

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-10-08 06:46:23 +00:00
Jon Rohan
d32e42f9ca
Rename protanopia themes to colorblind (#1659)
* Rename protanopia themes to colorblind

* Create red-lions-help.md
2021-10-06 02:10:52 +00:00
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