Skip to content

Commit

Permalink
Fix issue with inset-x/y [publish]
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre committed Aug 31, 2022
1 parent c18b233 commit 46be984
Show file tree
Hide file tree
Showing 6 changed files with 347 additions and 342 deletions.
2 changes: 1 addition & 1 deletion .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.1.2

Fix issue with inset-x/y

## 0.1.1

Add `%` to the scan regex
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default defineConfig({ plugins: [downwind()] });

Add `import "virtual:@downwind/base.css";` and `import "virtual:@downwind/utils.css";` to your code.

To use nesting, install [postcss-nested](https://github.com/postcss/postcss-nested) and it to the postcss config:
To use nesting, install [postcss-nested](https://github.com/postcss/postcss-nested) and add it to the postcss config:

```js
// postcss.config.js
Expand Down Expand Up @@ -209,3 +209,4 @@ Internally downwind flatten the palette color, so you should use `theme(colors.b
- Object for keyframes definition
- Multiple keyframes in animation
- Letter spacing in fontSize theme
- Regular expressions in safelist
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@arnaud-barre/downwind",
"description": "A PostCSS-less implementation of Tailwind based on @parcel/css",
"version": "0.1.1",
"version": "0.1.2",
"author": "Arnaud Barré (https://github.com/ArnaudBarre)",
"license": "MIT",
"scripts": {
Expand All @@ -13,7 +13,7 @@
"lint": "bun run lint-ci --fix --cache",
"lint-ci": "eslint src scripts tests --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"prettier": "bun run prettier-ci --write",
"prettier-ci": "prettier --check '**/*.{js,ts,tsx,html,css,json,md}'",
"prettier-ci": "prettier --check '**/*.{js,ts,tsx,html,css,json,md,yml}'",
"ci": "tsc && bun test-ci && bun lint-ci && bun prettier-ci && bun run build"
},
"prettier": {
Expand Down
4 changes: 2 additions & 2 deletions src/coreRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export const getCoreRules = ({
(d) =>
({
all: ["top", "right", "bottom", "left"],
x: ["top", "bottom"],
y: ["left", "right"],
x: ["left", "right"],
y: ["top", "bottom"],
tr: ["top", "right"],
br: ["bottom", "right"],
bl: ["bottom", "left"],
Expand Down
Loading

0 comments on commit 46be984

Please sign in to comment.