-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
244eb20
commit b027e2e
Showing
11 changed files
with
633 additions
and
20 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 |
---|---|---|
|
@@ -24,3 +24,4 @@ node_modules | |
|
||
# generated files | ||
/app/components/ui/icons | ||
/app/styles/tokenami.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,45 @@ | ||
import { createConfig } from '@tokenami/css' | ||
|
||
export default createConfig({ | ||
include: ['./app/**/*.{ts,tsx}'], | ||
grid: '0.25rem', | ||
responsive: { | ||
sm: '(min-width: 640px)', | ||
md: '(min-width: 768px)', | ||
lg: '(min-width: 1024px)', | ||
xl: '(min-width: 1280px)', | ||
'2xl': '(min-width: 1536px)', | ||
}, | ||
theme: { | ||
modes: { | ||
light: { | ||
color: { | ||
background: 'hsl(0 0% 100%)', | ||
foreground: 'hsl(222.2 84% 4.9%)', | ||
}, | ||
}, | ||
dark: { | ||
color: { | ||
background: 'hsl(222.2 84% 4.9%)', | ||
foreground: 'hsl(210 40% 98%)', | ||
}, | ||
}, | ||
}, | ||
alpha: {}, | ||
anim: {}, | ||
border: {}, | ||
color: {}, | ||
ease: {}, | ||
'font-size': {}, | ||
leading: {}, | ||
'line-style': {}, | ||
radii: {}, | ||
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,7 @@ | ||
import type config from './tokenami.config' | ||
|
||
export type Config = typeof config | ||
|
||
declare module '@tokenami/dev' { | ||
interface TokenamiConfig extends Config {} | ||
} |
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 |
---|---|---|
|
@@ -43,7 +43,7 @@ | |
--radius: 0.5rem; | ||
} | ||
|
||
.dark { | ||
.theme-dark { | ||
--background: 222.2 84% 4.9%; | ||
--foreground: 210 40% 98%; | ||
|
||
|
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,26 @@ | ||
import { type CSS } from '@tokenami/css' | ||
import { type TokenamiProperties } from '@tokenami/dev' | ||
|
||
/* | ||
.container { | ||
width: 100%; | ||
margin-right: auto; | ||
margin-left: auto; | ||
padding-right: 2rem; | ||
padding-left: 2rem; | ||
} | ||
@media (min-width: 1400px) { | ||
.container { | ||
max-width: 1400px; | ||
} | ||
} | ||
*/ | ||
|
||
function container() { | ||
const containerCSS: TokenamiProperties = { | ||
// '--' | ||
} | ||
return containerCSS | ||
} |
Oops, something went wrong.