Initial commit for project Spoon!
This commit is contained in:
commit
cf7ff2ee4e
268 files changed
+32981
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import { defineConfig } from 'eslint/config';
|
||||
|
||||
import { baseConfig } from '@spoon/eslint-config/base';
|
||||
|
||||
export default defineConfig(baseConfig);
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"name": "@spoon/tailwind-config",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"./theme": "./theme.css",
|
||||
"./postcss-config": "./postcss-config.js"
|
||||
},
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"clean": "git clean -xdf .cache .turbo node_modules",
|
||||
"format": "prettier --check . --ignore-path ../../.gitignore",
|
||||
"lint": "eslint --flag unstable_native_nodejs_ts_config",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tailwindcss/postcss": "catalog:",
|
||||
"postcss": "^8.5.8",
|
||||
"tailwindcss": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@spoon/eslint-config": "workspace:*",
|
||||
"@spoon/prettier-config": "workspace:*",
|
||||
"@spoon/tsconfig": "workspace:*",
|
||||
"@types/node": "catalog:",
|
||||
"eslint": "catalog:",
|
||||
"prettier": "catalog:",
|
||||
"typescript": "catalog:"
|
||||
},
|
||||
"prettier": "@spoon/prettier-config"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export default {
|
||||
plugins: {
|
||||
'@tailwindcss/postcss': {},
|
||||
},
|
||||
};
|
||||
@@ -0,0 +1,137 @@
|
||||
:root {
|
||||
--background: oklch(0.985 0.004 180);
|
||||
--foreground: oklch(0.18 0.015 250);
|
||||
--card: oklch(1 0 0);
|
||||
--card-foreground: oklch(0.18 0.015 250);
|
||||
--popover: oklch(1 0 0);
|
||||
--popover-foreground: oklch(0.18 0.015 250);
|
||||
--primary: oklch(0.49 0.12 178);
|
||||
--primary-foreground: oklch(0.99 0.004 180);
|
||||
--secondary: oklch(0.955 0.01 230);
|
||||
--secondary-foreground: oklch(0.22 0.02 250);
|
||||
--muted: oklch(0.95 0.008 235);
|
||||
--muted-foreground: oklch(0.48 0.02 245);
|
||||
--accent: oklch(0.94 0.035 168);
|
||||
--accent-foreground: oklch(0.25 0.06 180);
|
||||
--destructive: oklch(0.58 0.2 25);
|
||||
--destructive-foreground: oklch(0.99 0.004 180);
|
||||
--border: oklch(0.89 0.012 240);
|
||||
--input: oklch(0.89 0.012 240);
|
||||
--ring: oklch(0.56 0.12 178);
|
||||
--chart-1: oklch(0.56 0.12 178);
|
||||
--chart-2: oklch(0.58 0.13 210);
|
||||
--chart-3: oklch(0.62 0.15 145);
|
||||
--chart-4: oklch(0.64 0.14 95);
|
||||
--chart-5: oklch(0.57 0.16 300);
|
||||
--sidebar: oklch(0.975 0.004 220);
|
||||
--sidebar-foreground: oklch(0.18 0.015 250);
|
||||
--sidebar-primary: oklch(0.49 0.12 178);
|
||||
--sidebar-primary-foreground: oklch(0.99 0.004 180);
|
||||
--sidebar-accent: oklch(0.94 0.035 168);
|
||||
--sidebar-accent-foreground: oklch(0.25 0.06 180);
|
||||
--sidebar-border: oklch(0.89 0.012 240);
|
||||
--sidebar-ring: oklch(0.56 0.12 178);
|
||||
--font-sans:
|
||||
var(--font-geist-sans), Inter, ui-sans-serif, system-ui, sans-serif;
|
||||
--font-serif: Georgia, serif;
|
||||
--font-mono: var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace;
|
||||
--radius: 0.5rem;
|
||||
--shadow-2xs: 0 1px 2px 0 hsl(215 28% 17% / 0.04);
|
||||
--shadow-xs: 0 1px 2px 0 hsl(215 28% 17% / 0.06);
|
||||
--shadow-sm: 0 1px 2px 0 hsl(215 28% 17% / 0.08);
|
||||
--shadow: 0 1px 3px 0 hsl(215 28% 17% / 0.1);
|
||||
--shadow-md: 0 4px 10px -4px hsl(215 28% 17% / 0.16);
|
||||
--shadow-lg: 0 10px 20px -8px hsl(215 28% 17% / 0.18);
|
||||
--shadow-xl: 0 18px 35px -12px hsl(215 28% 17% / 0.2);
|
||||
--shadow-2xl: 0 24px 48px -18px hsl(215 28% 17% / 0.25);
|
||||
--tracking-normal: 0em;
|
||||
--spacing: 0.25rem;
|
||||
|
||||
@variant dark {
|
||||
--background: oklch(0.16 0.015 250);
|
||||
--foreground: oklch(0.96 0.006 220);
|
||||
--card: oklch(0.2 0.018 250);
|
||||
--card-foreground: oklch(0.96 0.006 220);
|
||||
--popover: oklch(0.2 0.018 250);
|
||||
--popover-foreground: oklch(0.96 0.006 220);
|
||||
--primary: oklch(0.7 0.13 172);
|
||||
--primary-foreground: oklch(0.14 0.02 250);
|
||||
--secondary: oklch(0.26 0.018 250);
|
||||
--secondary-foreground: oklch(0.94 0.006 220);
|
||||
--muted: oklch(0.24 0.018 250);
|
||||
--muted-foreground: oklch(0.7 0.02 235);
|
||||
--accent: oklch(0.28 0.05 175);
|
||||
--accent-foreground: oklch(0.92 0.035 168);
|
||||
--destructive: oklch(0.68 0.18 25);
|
||||
--destructive-foreground: oklch(0.98 0.004 220);
|
||||
--border: oklch(0.31 0.02 250);
|
||||
--input: oklch(0.31 0.02 250);
|
||||
--ring: oklch(0.7 0.13 172);
|
||||
--chart-1: oklch(0.7 0.13 172);
|
||||
--chart-2: oklch(0.72 0.12 210);
|
||||
--chart-3: oklch(0.72 0.13 145);
|
||||
--chart-4: oklch(0.74 0.12 95);
|
||||
--chart-5: oklch(0.72 0.14 300);
|
||||
--sidebar: oklch(0.18 0.015 250);
|
||||
--sidebar-foreground: oklch(0.96 0.006 220);
|
||||
--sidebar-primary: oklch(0.7 0.13 172);
|
||||
--sidebar-primary-foreground: oklch(0.14 0.02 250);
|
||||
--sidebar-accent: oklch(0.28 0.05 175);
|
||||
--sidebar-accent-foreground: oklch(0.92 0.035 168);
|
||||
--sidebar-border: oklch(0.31 0.02 250);
|
||||
--sidebar-ring: oklch(0.7 0.13 172);
|
||||
}
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--color-card: var(--card);
|
||||
--color-card-foreground: var(--card-foreground);
|
||||
--color-popover: var(--popover);
|
||||
--color-popover-foreground: var(--popover-foreground);
|
||||
--color-primary: var(--primary);
|
||||
--color-primary-foreground: var(--primary-foreground);
|
||||
--color-secondary: var(--secondary);
|
||||
--color-secondary-foreground: var(--secondary-foreground);
|
||||
--color-muted: var(--muted);
|
||||
--color-muted-foreground: var(--muted-foreground);
|
||||
--color-accent: var(--accent);
|
||||
--color-accent-foreground: var(--accent-foreground);
|
||||
--color-destructive: var(--destructive);
|
||||
--color-destructive-foreground: var(--destructive-foreground);
|
||||
--color-border: var(--border);
|
||||
--color-input: var(--input);
|
||||
--color-ring: var(--ring);
|
||||
--color-chart-1: var(--chart-1);
|
||||
--color-chart-2: var(--chart-2);
|
||||
--color-chart-3: var(--chart-3);
|
||||
--color-chart-4: var(--chart-4);
|
||||
--color-chart-5: var(--chart-5);
|
||||
--color-sidebar: var(--sidebar);
|
||||
--color-sidebar-foreground: var(--sidebar-foreground);
|
||||
--color-sidebar-primary: var(--sidebar-primary);
|
||||
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
||||
--color-sidebar-accent: var(--sidebar-accent);
|
||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||
--color-sidebar-border: var(--sidebar-border);
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
|
||||
--font-sans: var(--font-sans);
|
||||
--font-mono: var(--font-mono);
|
||||
--font-serif: var(--font-serif);
|
||||
|
||||
--radius-sm: calc(var(--radius) - 4px);
|
||||
--radius-md: calc(var(--radius) - 2px);
|
||||
--radius-lg: var(--radius);
|
||||
--radius-xl: calc(var(--radius) + 2px);
|
||||
|
||||
--shadow-2xs: var(--shadow-2xs);
|
||||
--shadow-xs: var(--shadow-xs);
|
||||
--shadow-sm: var(--shadow-sm);
|
||||
--shadow: var(--shadow);
|
||||
--shadow-md: var(--shadow-md);
|
||||
--shadow-lg: var(--shadow-lg);
|
||||
--shadow-xl: var(--shadow-xl);
|
||||
--shadow-2xl: var(--shadow-2xl);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"extends": "@spoon/tsconfig/base.json",
|
||||
"include": ["."],
|
||||
"exclude": ["node_modules", "eslint.config.ts"]
|
||||
}
|
||||
Reference in new issue
Block a user