1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 00:58:31 +03:00
Commit Graph

5786 Commits

Author SHA1 Message Date
Jon Rohan
901582bfc9
Update stale.yml 2021-05-26 14:44:11 -07:00
Jon Rohan
71dc139d3b
Merge pull request #1425 from primer/stale
Stalebot to close stale PR/Issues
2021-05-26 10:14:38 -07:00
Jon Rohan
00325c7b74
Merge branch 'main' into stale 2021-05-26 10:13:14 -07:00
Jon Rohan
4fd6b19250
Update stale.yml 2021-05-26 10:12:34 -07:00
Jon Rohan
67c54a8327
Update stale.yml 2021-05-26 10:09:53 -07:00
Jon Rohan
1369fa3ee8
Update stale.yml 2021-05-26 09:53:13 -07:00
Jon Rohan
ebcaf806e0
Update stale.yml 2021-05-26 09:45:34 -07:00
Jon Rohan
7c8292161c
Update stale.yml 2021-05-26 09:45:08 -07:00
Jon Rohan
aed1b3b626
Organize the settings a bit 2021-05-26 09:34:00 -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
Hector Palacios
38c9c8da95 lists.scss: reset <ol> without 'type' attr to "decimal"
HTML default list-style-type is "decimal" when there is no 'type'
attribute.

In MarkDown language, you can't specify the style type of a list
item, so nested lists *always* represent with decimal numbers at
any level. Since this is not user friendly, GitHub CSS styling
overrides the HTML standard by setting lower-roman for second-level
items and lower-alpha for third-level items.

In AsciiDoc language, you can specify the style type of a list
item using a tage before the list, for example:

   Tag		    Produces
   [loweralpha]     <ol type="a">
   [lowerroman]     <ol type="i">
   [decimal]        <ol>

The [decimal] tag doesn't generate any 'type' attribute because
the HTML standard when there is no type, *is* decimal.
If such a [decimal] tag is used on a second-level or third-level
item, GitHub CSS for MarkDown overrides HTML standard and you get
instead a lowerroman or loweralpha sign.

The added CSS resets the list-style-type of <ol> without type to
decimal, as it should be in the first place, for the construction
div > ol, which is only produced by AsciiDoc files, to avoid any effect
on existing MarkDown files.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
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
simurai
1502641de7
Merge pull request #1219 from arzg/ui-monospace
Prepend monospace font stack with new ui-monospace font family
2021-05-26 11:48:18 +09:00
simurai
0a278f7871
Merge branch 'mono-font' into ui-monospace 2021-05-26 11:37:10 +09:00
Jon Rohan
af5787b416
Merge pull request #1424 from primer/kh-update_breadcrumbs_divider
Update CSS for breadcrumb slash separator
2021-05-25 16:06:09 -07:00
Jon Rohan
31715cb283
Merge branch 'main' into kh-update_breadcrumbs_divider 2021-05-25 16:05:07 -07:00
Jon Rohan
2361793365
Update stale.yml 2021-05-25 16:02:34 -07:00
Kate Higa
7ef1b74662 fix linters 2021-05-25 16:00:36 -07:00
Jon Rohan
573980b271
Merge branch 'main' into stale 2021-05-25 15:59:43 -07:00
Kate Higa
30597af94d Update CSS for breadcrumb slash separator 2021-05-25 15:31:16 -07:00
Jon Rohan
dfbb3cf114
Merge pull request #1417 from primer/dependabot/npm_and_yarn/docs/browserslist-4.16.6
Bump browserslist from 4.16.3 to 4.16.6 in /docs
2021-05-25 15:12:29 -07:00
dependabot[bot]
e35b7d8115
Bump browserslist from 4.16.3 to 4.16.6 in /docs
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 22:11:21 +00:00
Jon Rohan
d8e68c56bf
Merge pull request #1416 from primer/dependabot/npm_and_yarn/browserslist-4.16.6
Bump browserslist from 4.16.3 to 4.16.6
2021-05-25 15:10:21 -07:00
Jon Rohan
794c06d0ed
Merge branch 'main' into dependabot/npm_and_yarn/browserslist-4.16.6 2021-05-25 15:09:03 -07:00
Jon Rohan
6f79bfaa7a
Create fuzzy-cars-promise.md 2021-05-25 14:44:12 -07:00
Jon Rohan
93b40e7b7d
Properly calculating the variables computed value for dist 2021-05-25 14:29:18 -07:00
simurai
e02694d1ba
Merge pull request #1419 from primer/changeset-release/main
Release Tracking
2021-05-25 10:13:35 +09:00
github-actions[bot]
2d2fd04d84 Version Packages 2021-05-25 01:11:02 +00:00
simurai
8fd779f92f
Merge pull request #1418 from primer/undeprecate-18.0.0
Undeprecate .css-truncate
2021-05-25 10:10:21 +09:00
simurai
a9a61ee690
Create sixty-drinks-dress.md 2021-05-25 10:08:32 +09:00
simurai
5fa4d1902c
Update deprecations.js 2021-05-25 10:05:55 +09:00
dependabot[bot]
daece4f9e1
Bump browserslist from 4.16.3 to 4.16.6
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 00:33:41 +00:00
simurai
3ac50121e2
Merge pull request #1412 from primer/changeset-release/main
Release Tracking
2021-05-25 09:29:02 +09:00
github-actions[bot]
c6c833185d Version Packages 2021-05-25 00:24:19 +00:00
simurai
76fa224412
Merge pull request #1415 from primer/bump-primitives@4.3.5
Bump primer/primitives@4.3.5
2021-05-25 09:23:35 +09:00
simurai
fb6a7e3dc1
Create hip-chairs-guess.md 2021-05-25 09:16:53 +09:00
simurai
552f715094 Bump primer/primitives@4.3.5 2021-05-25 09:15:42 +09:00
Jon Rohan
4bdff56b01
Merge pull request #1414 from primer/dependabot/npm_and_yarn/postcss-8.3.0
Bump postcss from 8.2.15 to 8.3.0
2021-05-24 09:28:15 -07:00
Jon Rohan
544dcf4693
Merge branch 'main' into dependabot/npm_and_yarn/postcss-8.3.0 2021-05-24 09:27:13 -07:00
Jon Rohan
8377fb5d47
Merge pull request #1413 from primer/dependabot/npm_and_yarn/eslint-7.27.0
Bump eslint from 7.26.0 to 7.27.0
2021-05-24 09:25:56 -07:00
dependabot[bot]
7177601ae7
Bump postcss from 8.2.15 to 8.3.0
Bumps [postcss](https://github.com/postcss/postcss) from 8.2.15 to 8.3.0.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.2.15...8.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 06:46:39 +00:00
dependabot[bot]
32fe922619
Bump eslint from 7.26.0 to 7.27.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.26.0...v7.27.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 06:46:14 +00:00
Jon Rohan
39274b353b
Merge pull request #1358 from primer/text_truncate_2
Adding new .Truncate class and deprecating css-truncate
2021-05-20 14:03:37 -07:00
Jon Rohan
e4ee5f2780
Merge branch 'main' into text_truncate_2 2021-05-20 14:02:24 -07:00
Jon Rohan
7d545ec44e
Merge pull request #1409 from primer/layout-component-v2
Layout component
2021-05-20 09:45:51 -07:00
Jon Rohan
9bff0b83a7
Merge branch 'main' into layout-component-v2 2021-05-20 09:16:47 -07:00