-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: migrate to panda & cleanup
- Loading branch information
Showing
82 changed files
with
3,325 additions
and
3,078 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
# Node.js dependencies | ||
node_modules | ||
|
||
# Build folder | ||
dist | ||
|
||
# Log files | ||
*.log | ||
.env | ||
|
||
# Environment files | ||
.env* | ||
|
||
# Styled system | ||
styled-system |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
import { defineConfig, defineGlobalStyles } from "@pandacss/dev"; | ||
|
||
const globalCss = defineGlobalStyles({ | ||
"*": { | ||
scrollbarColor: "{colors.purple.500} {colors.transparent}", | ||
scrollbarWidth: "thin", | ||
}, | ||
|
||
"::selection": { | ||
backgroundColor: "purple.500", | ||
color: "white", | ||
}, | ||
|
||
body: { | ||
backgroundColor: { base: "neutral.100", _dark: "neutral.900" }, | ||
color: { base: "black", _dark: "white" }, | ||
fontFamily: "sans", | ||
fontSize: 14, | ||
}, | ||
|
||
"#modal-root": { | ||
position: "absolute", | ||
zIndex: 50, | ||
}, | ||
|
||
".os-theme-gumbo": { | ||
"--os-handle-bg-active": "{colors.purple.600}", | ||
"--os-handle-bg-hover": "{colors.purple.400}", | ||
"--os-handle-bg": "{colors.purple.500}", | ||
"--os-handle-border-radius": "{radii.full}", | ||
"--os-handle-interactive-area-offset": "3px", | ||
"--os-padding-axis": "3px", | ||
"--os-padding-perpendicular": "3px", | ||
"--os-size": "8px", | ||
|
||
"& .os-scrollbar-handle": { | ||
opacity: 0.5, | ||
}, | ||
|
||
_hover: { | ||
"--os-size": "10px", | ||
|
||
"& .os-scrollbar-handle": { | ||
opacity: 1, | ||
}, | ||
}, | ||
}, | ||
}); | ||
|
||
export default defineConfig({ | ||
globalCss, | ||
|
||
preflight: true, | ||
|
||
outdir: "src/browser/styled-system", | ||
outExtension: "js", | ||
|
||
importMap: "", | ||
|
||
jsxFramework: "react", | ||
jsxStyleProps: "minimal", | ||
|
||
include: ["src/**/*.{js,jsx,ts,tsx}"], | ||
|
||
theme: { | ||
extend: { | ||
tokens: { | ||
fonts: { | ||
sans: { | ||
value: | ||
"'Noto Sans Display', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'", | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
"@pandacss/dev/postcss": {}, | ||
"@csstools/postcss-cascade-layers": {}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@layer reset, base, tokens, recipes, utilities; | ||
|
||
@import url("overlayscrollbars/overlayscrollbars.css"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#app-root { | ||
height: 600px; | ||
width: 420px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.