-
-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(app): add chinese and some other things
- Loading branch information
Showing
34 changed files
with
3,630 additions
and
3,961 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* TODO: See #33 and #90 of the Relivator's Roadmap | ||
* @see https://github.com/tokenami/tokenami#readme | ||
*/ | ||
|
||
import { createConfig } from "@tokenami/dev"; | ||
|
||
export default createConfig({ | ||
include: ["./src/**/*.{js,jsx,ts,tsx}"], | ||
grid: "0.25rem", | ||
responsive: { | ||
medium: "@media (min-width: 1024px)", | ||
"medium-self": "@container (min-width: 400px)", | ||
}, | ||
theme: { | ||
alpha: {}, | ||
anim: {}, | ||
border: {}, | ||
color: { | ||
"slate-100": "#f1f5f9", | ||
"slate-700": "#334155", | ||
"sky-500": "#0ea5e9", | ||
}, | ||
ease: {}, | ||
"font-size": {}, | ||
leading: {}, | ||
"line-style": {}, | ||
radii: { | ||
rounded: "10px", | ||
circle: "9999px", | ||
none: "none", | ||
}, | ||
size: {}, | ||
shadow: {}, | ||
surface: {}, | ||
tracking: {}, | ||
transition: {}, | ||
weight: {}, | ||
z: {}, | ||
}, | ||
}); |
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,8 @@ | ||
/// <reference types="./tokenami.env.d.ts" /> | ||
import type { Config } from "./tokenami.env"; | ||
|
||
declare module "@tokenami/dev" { | ||
interface TokenamiConfig extends Config { | ||
CI: true; | ||
} | ||
} |
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,20 @@ | ||
/** | ||
* TODO: See #33 and #90 of the Relivator's Roadmap | ||
* @see https://github.com/tokenami/tokenami#readme | ||
*/ | ||
|
||
import { TokenamiProperties } from "@tokenami/dev"; | ||
|
||
import config from "./tokenami.config"; | ||
|
||
export type Config = typeof config; | ||
|
||
declare module "@tokenami/dev" { | ||
// biome-ignore lint/suspicious/noEmptyInterface: <explanation> | ||
interface TokenamiConfig extends Config {} | ||
} | ||
|
||
declare module "react" { | ||
// biome-ignore lint/suspicious/noEmptyInterface: <explanation> | ||
interface CSSProperties extends TokenamiProperties {} | ||
} |
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 |
---|---|---|
@@ -1,16 +1,17 @@ | ||
{ | ||
"$schema": "https://ui.shadcn.com/schema.json", | ||
"style": "new-york", | ||
"style": "default", | ||
"rsc": true, | ||
"tsx": true, | ||
"aliases": { | ||
"utils": "~/utils", | ||
"components": "~/islands/primitives" | ||
}, | ||
"tailwind": { | ||
"css": "./src/styles/globals.css", | ||
"css": "src/styles/globals.css", | ||
"config": "tailwind.config.ts", | ||
"cssVariables": true, | ||
"baseColor": "zinc", | ||
"cssVariables": true | ||
}, | ||
"aliases": { | ||
"components": "~/islands", | ||
"utils": "~/utils" | ||
"prefix": "" | ||
} | ||
} |
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
Oops, something went wrong.