Skip to content

Commit

Permalink
ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Jan 24, 2025
1 parent 1bb0861 commit 160a23f
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 58 deletions.
2 changes: 1 addition & 1 deletion clients/example-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bokor&family=Doto:[email protected]&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Bokor&family=Doto:[email protected]&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
</head>
<body>
<div id="root"></div>
Expand Down
116 changes: 60 additions & 56 deletions clients/example-ui/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,69 +3,73 @@
@tailwind utilities;
@layer base {
:root {
--background: 146 100% 95%;
--foreground: 146 5% 10%;
--card: 146 50% 90%;
--card-foreground: 146 5% 15%;
--popover: 146 100% 95%;
--popover-foreground: 146 100% 10%;
--primary: 146 60% 91%;
--primary-foreground: 0 0% 0%;
--secondary: 146 30% 70%;
--secondary-foreground: 0 0% 0%;
--muted: 108 30% 85%;
--muted-foreground: 146 5% 40%;
--accent: 108 30% 80%;
--accent-foreground: 146 5% 15%;
--destructive: 0 100% 49%;
--destructive-foreground: 146 5% 90%;
--border: 146 30% 50%;
--input: 146 30% 49%;
--ring: 146 60% 91%;
--radius: 0.3rem;
--sidebar-background: 146 100% 95%;
--sidebar-foreground: 146 5% 10%;
--sidebar-primary: 146 60% 91%;
--sidebar-primary-foreground: 146 5% 10%;
--sidebar-accent: 146 50% 90%;
--sidebar-accent-foreground: 146 5% 15%;
--sidebar-border: 146 30% 50%;
--sidebar-ring: 146 60% 91%;
--background: 0 0% 100%;
--foreground: 240 10% 3.9%;
--card: 0 0% 100%;
--card-foreground: 240 10% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 240 10% 3.9%;
--primary: 240 5.9% 10%;
--primary-foreground: 0 0% 98%;
--secondary: 240 4.8% 95.9%;
--secondary-foreground: 240 5.9% 10%;
--muted: 240 4.8% 95.9%;
--muted-foreground: 240 3.8% 46.1%;
--accent: 240 4.8% 95.9%;
--accent-foreground: 240 5.9% 10%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 240 5.9% 90%;
--input: 240 5.9% 90%;
--ring: 240 5.9% 10%;
--radius: 0rem;
--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--sidebar-background: 240 4.8% 95.9%;
--sidebar-foreground: 240 5.9% 10%;
--sidebar-primary: 240 5.9% 10%;
--sidebar-primary-foreground: 0 0% 98%;
--sidebar-accent: 240 4.8% 95.9%;
--sidebar-accent-foreground: 240 5.9% 10%;
--sidebar-border: 240 5.9% 90%;
--sidebar-ring: 240 5.9% 10%;
}
.dark {
--background: 146 50% 10%;
--foreground: 146 5% 90%;
--card: 146 50% 10%;
--card-foreground: 146 5% 90%;
--popover: 146 50% 5%;
--popover-foreground: 146 5% 90%;
--primary: 146 60% 91%;
--primary-foreground: 0 0% 0%;
--secondary: 146 30% 20%;
--secondary-foreground: 0 0% 100%;
--muted: 108 30% 25%;
--muted-foreground: 146 5% 60%;
--accent: 108 30% 25%;
--accent-foreground: 146 5% 90%;
--destructive: 0 100% 49%;
--destructive-foreground: 146 5% 90%;
--border: 146 30% 49%;
--input: 146 30% 49%;
--ring: 146 60% 91%;
--radius: 0.3rem;
--background: 240 10% 3.9%;
--foreground: 0 0% 98%;
--card: 240 10% 3.9%;
--card-foreground: 0 0% 98%;
--popover: 240 10% 3.9%;
--popover-foreground: 0 0% 98%;
--primary: 0 0% 98%;
--primary-foreground: 240 5.9% 10%;
--secondary: 240 3.7% 15.9%;
--secondary-foreground: 0 0% 98%;
--muted: 240 3.7% 15.9%;
--muted-foreground: 240 5% 64.9%;
--accent: 240 3.7% 15.9%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;
--border: 240 3.7% 15.9%;
--input: 240 3.7% 15.9%;
--ring: 240 4.9% 83.9%;
--chart-1: 220 70% 50%;
--chart-2: 160 60% 45%;
--chart-3: 30 80% 55%;
--chart-4: 280 65% 60%;
--chart-5: 340 75% 55%;
--sidebar-background: 146 50% 10%;
--sidebar-foreground: 146 5% 90%;
--sidebar-primary: 146 60% 91%;
--sidebar-primary-foreground: 146 5% 10%;
--sidebar-accent: 146 50% 10%;
--sidebar-accent-foreground: 146 5% 90%;
--sidebar-border: 146 30% 49%;
--sidebar-ring: 146 60% 91%;
--sidebar-background: 240 3.7% 15.9%;
--sidebar-foreground: 0 0% 98%;
--sidebar-primary: 0 0% 98%;
--sidebar-primary-foreground: 240 5.9% 10%;
--sidebar-accent: 240 3.7% 15.9%;
--sidebar-accent-foreground: 0 0% 98%;
--sidebar-border: 240 3.7% 15.9%;
--sidebar-ring: 240 4.9% 83.9%;
}
}
@layer base {
Expand Down
2 changes: 1 addition & 1 deletion clients/example-ui/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
sm: "calc(var(--radius) - 4px)",
},
fontFamily: {
body: ["The Seasons", "monospace"],
body: ["Space Mono", "monospace"],
},
colors: {
background: "hsl(var(--background))",
Expand Down
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@daydreams/core",
"module": "index.ts",
"version": "0.0.1",
"type": "module",
"devDependencies": {
"@types/bun": "latest"
Expand Down

0 comments on commit 160a23f

Please sign in to comment.