Commit Graph

17 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
2efe17814f Bug 1860666 - Add pref-gated ::slider-* pseudo-elements, and some tests. r=layout-reviewers,jfkthame
We fail some because we right now we have a track pseudo for meter/progress.

I plan to fix this, but a lot of these frame classes are basically copy-pasta,
so I wanted to get rid of them first.

Differential Revision: https://phabricator.services.mozilla.com/D192097
2023-10-30 15:15:24 +00:00
Emilio Cobos Álvarez
aa1b4e435a Bug 1857565 - Remove leftover -moz-image-rect from function-no-unknown lint. r=desktop-theme-reviewers,dao
It's gone.

Differential Revision: https://phabricator.services.mozilla.com/D190312
2023-10-12 12:01:05 +00:00
Emilio Cobos Álvarez
113b9abfc1 Bug 1857522 - Don't ignore pseudo-classes in max-nesting-depth limit. r=Gijs
As that allows you to get around the lint with :is() trivially.

Differential Revision: https://phabricator.services.mozilla.com/D190311
2023-10-08 23:07:36 +00:00
Emilio Cobos Álvarez
f3e1e3ff01 Bug 1857522 - Reduce max nesting depth to 3. r=Gijs
That still doesn't trigger on the code in comment 2, so that is a bit
confusing and needs investigation.

Differential Revision: https://phabricator.services.mozilla.com/D190310
2023-10-08 22:33:39 +00:00
Nicolas Chevobbe
684a2f5628 Bug 1856660 - [devtools] Add stylelint max-nesting-depth rule. r=Gijs
The rule was already enabled for newtab, let's make it the default.

Differential Revision: https://phabricator.services.mozilla.com/D190001
2023-10-05 05:20:46 +00:00
Gijs Kruitbosch
1e67277c8f Bug 1851544 - use clearer media queries in new tab styling, r=Standard8,omc-reviewers,thecount,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D188836
2023-09-27 14:45:18 +00:00
Iulian Moraru
8867443f5d Backed out 2 changesets (bug 1852084) for causing bug 1853970. CLOSED TREE
Backed out changeset 427a6983a14b (bug 1852084)
Backed out changeset aac846ab41a5 (bug 1852084)
2023-09-21 00:41:39 +03:00
Emilio Cobos Álvarez
5bddfadebb Bug 1852084 - Add a -moz-themed(<appearance>) background-image. r=boris
Some appearance values are really just a background.

Being able to draw them using `background-image` instead of appearance
allows us to preserve borders, etc.

Differential Revision: https://phabricator.services.mozilla.com/D187851
2023-09-15 22:16:28 +00:00
Mark Banner
e640e38886 Bug 1563927 - Upgrade stylelint to the latest version. r=Gijs
Depends on D186882

Differential Revision: https://phabricator.services.mozilla.com/D187424
2023-09-05 12:59:31 +00:00
Emilio Cobos Álvarez
a942bb2bfc Bug 1850811 - Add light-dark() to stylelintrc. r=dao
MANUAL PUSH: This was originally reviewed in bug 1843044.
2023-09-01 13:01:52 +02:00
Cristian Tuns
72e7b89401 Backed out changeset 37a26c9f2c5c (bug 1843044) for breaking macOS dark theme CLOSED TREE 2023-09-01 05:03:36 -04:00
Emilio Cobos Álvarez
32d7994287 Bug 1843044 - Make the default theme work with dark color schemes. r=dao,pbz
This builds on the light-dark() function added in bug 1845679 to provide
custom colors for both the default light and dark themes, and remove the
"default theme in dark mode" bits.

This is all to be landed after the soft-freeze in any case. Untested on
macOS for now, but no reason it shouldn't work. Will test later today.

Differential Revision: https://phabricator.services.mozilla.com/D184708
2023-08-31 10:43:54 +00:00
Shane Hughes
d399ad1b76 Bug 1835028 - Change newtab stylelint problem severity from warning to error. r=Gijs,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D179906
2023-06-05 12:58:01 +00:00
Gijs Kruitbosch
ecc15a8a0d Bug 1832765 - merge new tab linting into main stylelint config, r=Standard8,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D178533
2023-05-30 22:41:22 +00:00
Gijs Kruitbosch
b4130b15da Bug 1832765 - start linting scss across the tree in our standard config, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D178532
2023-05-30 22:41:22 +00:00
Nicolas Chevobbe
bff321d727 Bug 1831302 - [devtools] remove unused debugger .stylelintrc and .stylelintignore. r=Gijs,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D177910
2023-05-15 08:35:12 +00:00
Gijs Kruitbosch
f238fa0035 Bug 1508369 - add stylelint linter support to mach lint, r=Standard8,dao,linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D177477
2023-05-11 16:06:38 +00:00