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

10 Commits

Author SHA1 Message Date
Josh Soref
4d2efad7a5
Spelling (code changes) (#1982)
* spelling: contains

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: func

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: itemis

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Katie Langerman <langermank@github.com>
2022-04-12 13:57:56 -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
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
Jon Rohan
93b40e7b7d
Properly calculating the variables computed value for dist 2021-05-25 14:29:18 -07:00
Jon Rohan
07c8d5aebc
Fixing analyze-variables script 2021-04-08 19:34:17 -07:00
Jon Rohan
63764f7edd
Upgrade analyze-variables plugin 2021-04-08 10:27:54 -07:00
Jon Rohan
f003e60997
Fixing eslint config 2021-04-07 08:33:42 -07:00
Michelle Tilley
c4a5d72b20
Re-enable variable analysis
Since we currently have a lot of old variables aliased to the new CSS
color variables, I modified the variable analysis function to skip any
variable with a computed value that is a CSS variable (i.e. matches
the regex `/^var\(--.*\)/`).
2020-10-29 11:02:16 -07:00
Shawn Allen
99c223e13a lint 2019-10-22 15:50:09 -07:00
Shawn Allen
7f0cca8c4d add script/analyze-variables.js 2019-10-22 15:43:47 -07:00