Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Format

on:
push:

jobs:
format:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24
cache: npm
- run: npm ci --ignore-scripts
- run: npm run format:check
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.DS_Store
node_modules
4 changes: 4 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"ignorePatterns": []
}
8 changes: 4 additions & 4 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ That's why the community is essential for this project to keep evolving. Below a

Themes on [draculatheme.com](https://draculatheme.com) show a preview image on their page. You can provide one or more screenshots in two ways:

| Approach | When to use |
| -------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [`screenshot.png`](screenshot.png) at the repo root | A single preview is enough (default and simplest option). |
| A `screenshot/` folder with multiple images | You want to show different views, platforms, or variants (e.g. editor, terminal, light/dark). |
| Approach | When to use |
| --------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [`screenshot.png`](screenshot.png) at the repo root | A single preview is enough (default and simplest option). |
| A `screenshot/` folder with multiple images | You want to show different views, platforms, or variants (e.g. editor, terminal, light/dark). |

**Priority:** if the `screenshot/` folder contains at least one supported image, the website uses those files and ignores the root `screenshot.png`. If the folder is missing or empty, the site falls back to `screenshot.png`.

Expand Down
Loading
Loading