Skip to content

Commit cc86156

Browse files
committed
add mixins
1 parent 0991024 commit cc86156

7 files changed

Lines changed: 3349 additions & 1193 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
node: [20, 'lts/*']
14+
node: [22, 'lts/*']
1515
steps:
1616
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
1717
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changes to cssdb
22

3+
### 8.7.0 (January 14, 2026)
4+
5+
- Updated `@mdn/browser-compat-data` to `7.2.3`
6+
- Added `mixins`
7+
38
### 8.6.0 (December 26, 2025)
49

510
- Updated `@mdn/browser-compat-data` to `7.2.2`

cssdb.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,6 +1612,23 @@
16121612
"vendors_implementations": 3,
16131613
"web-feature": "media-query-range-syntax"
16141614
},
1615+
{
1616+
"id": "mixins",
1617+
"title": "`@mixin`",
1618+
"description": "Use `@mixin` and `@apply`",
1619+
"specification": "https://drafts.csswg.org/css-mixins/#mixin-rule",
1620+
"stage": 2,
1621+
"browser_support": {},
1622+
"docs": {},
1623+
"example": "@mixin --foo() {\n color: green;\n }\n\n.foo {\n @apply --foo;\n}",
1624+
"polyfills": [
1625+
{
1626+
"type": "PostCSS Plugin",
1627+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-mixins"
1628+
}
1629+
],
1630+
"vendors_implementations": 0
1631+
},
16151632
{
16161633
"id": "nested-calc",
16171634
"title": "Nested `calc()`",

cssdb.mjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,6 +1612,23 @@ export default [
16121612
"vendors_implementations": 3,
16131613
"web-feature": "media-query-range-syntax"
16141614
},
1615+
{
1616+
"id": "mixins",
1617+
"title": "`@mixin`",
1618+
"description": "Use `@mixin` and `@apply`",
1619+
"specification": "https://drafts.csswg.org/css-mixins/#mixin-rule",
1620+
"stage": 2,
1621+
"browser_support": {},
1622+
"docs": {},
1623+
"example": "@mixin --foo() {\n color: green;\n }\n\n.foo {\n @apply --foo;\n}",
1624+
"polyfills": [
1625+
{
1626+
"type": "PostCSS Plugin",
1627+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-mixins"
1628+
}
1629+
],
1630+
"vendors_implementations": 0
1631+
},
16151632
{
16161633
"id": "nested-calc",
16171634
"title": "Nested `calc()`",

cssdb.settings.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,6 +1247,23 @@
12471247
}
12481248
]
12491249
},
1250+
{
1251+
"id": "mixins",
1252+
"title": "`@mixin`",
1253+
"description": "Use `@mixin` and `@apply`",
1254+
"specification": "https://drafts.csswg.org/css-mixins/#mixin-rule",
1255+
"stage": 2,
1256+
"browser_support": {},
1257+
"docs": {},
1258+
"example": "@mixin --foo() {\n color: green;\n }\n\n.foo {\n @apply --foo;\n}",
1259+
"mdn_path": "",
1260+
"polyfills": [
1261+
{
1262+
"type": "PostCSS Plugin",
1263+
"link": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-mixins"
1264+
}
1265+
]
1266+
},
12501267
{
12511268
"id": "nested-calc",
12521269
"title": "Nested `calc()`",

0 commit comments

Comments
 (0)