-
Notifications
You must be signed in to change notification settings - Fork 5
Release v0.2.0 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2ec0023
82fbc88
6b708ae
ec5abeb
fbafca2
9e2458f
cd04cde
4baaf35
d99e554
86f02b4
3348d7d
0b069ee
0fc67a5
b801c3d
5162abb
8e49235
ba1407e
bd6757a
711f168
f923726
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [dev] | ||
| pull_request: | ||
| branches: [main] | ||
|
Comment on lines
+3
to
+7
|
||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '18' | ||
| cache: 'npm' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci --legacy-peer-deps | ||
|
|
||
| - name: Build | ||
| run: npm run build | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: Release | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
| publish: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '18' | ||
| cache: 'npm' | ||
| registry-url: 'https://registry.npmjs.org' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci --legacy-peer-deps | ||
|
|
||
| - name: Build | ||
| run: npm run build | ||
|
|
||
| - name: Publish to npm | ||
| run: npm publish --access public | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| # Design System | ||
|
|
||
| TabbySpaces uses a modular DRY SCSS architecture. | ||
|
|
||
| ## Structure | ||
|
|
||
| ``` | ||
| src/styles/ | ||
| ├── _index.scss # Entry point (imports all) | ||
| ├── _variables.scss # Spacing, radius, colors, z-index, transitions | ||
| └── _mixins.scss # Reusable patterns (flex, inputs, buttons, overlays) | ||
| ``` | ||
|
|
||
| ## Usage | ||
|
|
||
| All component SCSS files import shared styles: | ||
|
|
||
| ```scss | ||
| @use '../styles/index' as *; | ||
|
|
||
| .my-component { | ||
| padding: $spacing-md; | ||
| border-radius: $radius-lg; | ||
| @include flex-center; | ||
| } | ||
| ``` | ||
|
|
||
| ## Variables | ||
|
|
||
| @src/styles/_variables.scss | ||
|
|
||
| ## Mixins | ||
|
|
||
| Key mixins available: | ||
|
|
||
| | Mixin | Purpose | | ||
| |-------|---------| | ||
| | `flex-center` | Center content with flexbox | | ||
| | `form-input($bg)` | Styled input field with focus state | | ||
| | `form-label` | Uppercase compact label (S1 design) | | ||
| | `toolbar-btn` | Small toolbar button with hover state | | ||
| | `btn-success` | Green success button | | ||
| | `btn-base` | Base button styling with flex layout | | ||
| | `btn-ghost` | Ghost button with border | | ||
| | `btn-primary` | Primary button with theme color | | ||
| | `icon-btn-sm($size)` | Small icon button with border | | ||
| | `full-overlay($z)` | Fixed fullscreen overlay | | ||
| | `dropdown-panel` | Dropdown with border/shadow | | ||
| | `text-ellipsis` | Truncate text with ellipsis | | ||
|
Comment on lines
36
to
49
|
||
|
|
||
| ## Theming | ||
|
|
||
| Plugin uses Tabby's CSS custom properties (`--theme-*`) for automatic theme support: | ||
| - `--theme-bg`, `--theme-bg-more`, `--theme-bg-more-more` | ||
| - `--theme-fg`, `--theme-fg-more` | ||
| - `--theme-border`, `--theme-primary` | ||
| - `--theme-success`, `--theme-danger` | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.claude/settings.local.jsoncontains local-machine command allowlists and absolute Windows paths. This looks like developer-local tooling config and is likely not intended to be tracked in the release branch. Consider removing it from the repo and adding.claude/(or at leastsettings.local.json) to.gitignore, similar to how.mcp.jsonis handled.