Skip to content

Commit

Permalink
Merge branch 'rc' of https://github.com/master-co/css into rc
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSeage committed Jan 16, 2024
2 parents 3856b29 + 38eab2a commit f0f08cc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const syntaxes = [
['@iteration-count:`value`|`…`'],
['@iteration:`value`'],
'@iteration:infinite'
]

Expand Down
2 changes: 1 addition & 1 deletion website/app/[locale]/(root)/docs/background/content.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
## Conditionally apply
Apply styles based on different states using [selectors](/docs/state-selectors) and [conditional queries](/docs/conditional-queries).
```html
<div class="bg:url(\'…\');center/cover**:hover** bg:url(\'…\');center/cover**@sm** bg:url(\'…\');center/cover**@dark** bg:url(\'…\');center/cover**@print**">…</div>
<div class="bg:url(\'…\')|center/cover**:hover** bg:url(\'…\')|center/cover**@sm** bg:url(\'…\')|center/cover**@dark** bg:url(\'…\')|center/cover**@print**">…</div>
```

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const syntaxes = [
['scroll-snap:`value`'],
['scroll-snap-align:`value`'],
'scroll-snap:center',
'scroll-snap:end',
'scroll-snap:start',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const syntaxes = [
['text:`color`'],
['text-fill-color:`color`'],
'text:current',
'text:transparent'
]
Expand Down
6 changes: 1 addition & 5 deletions website/app/[locale]/(root)/docs/text-shadow/syntaxes.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
const syntaxes = [
['text-shadow:`offset-x`|`offset-y`|`blur-radius`|`color`,`…`'],
['text-shadow:`color`|`offset-x`|`offset-y`|`blur-radius`'],
['text-shadow:`offset-x`|`offset-y`|`color`'],
['text-shadow:`color`|`offset-x`|`offset-y`'],
['text-shadow:`offset-x`|`offset-y`'],
['text-shadow:`value`'],
]

export default syntaxes

0 comments on commit f0f08cc

Please sign in to comment.