-
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
a83d83a
commit c961265
Showing
9 changed files
with
93 additions
and
59 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,11 @@ | ||
import { Fira_Code as FontMono, Inter as FontSans } from "next/font/google" | ||
|
||
export const fontSans = FontSans({ | ||
subsets: ["latin"], | ||
variable: "--font-sans", | ||
}) | ||
|
||
export const fontMono = FontMono({ | ||
subsets: ["latin"], | ||
variable: "--font-mono", | ||
}) |
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 @@ | ||
export type SiteConfig = typeof siteConfig; | ||
|
||
export const siteConfig = { | ||
name: "Next.js + NextUI", | ||
description: "Make beautiful websites regardless of your design experience.", | ||
links: {}, | ||
}; |
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,53 @@ | ||
import { tv } from 'tailwind-variants'; | ||
|
||
export const title = tv({ | ||
base: 'tracking-tight inline font-semibold', | ||
variants: { | ||
color: { | ||
violet: 'from-[#FF1CF7] to-[#b249f8]', | ||
yellow: 'from-[#FF705B] to-[#FFB457]', | ||
blue: 'from-[#5EA2EF] to-[#0072F5]', | ||
cyan: 'from-[#00b7fa] to-[#01cfea]', | ||
green: 'from-[#6FEE8D] to-[#17c964]', | ||
pink: 'from-[#FF72E1] to-[#F54C7A]', | ||
foreground: 'dark:from-[#FFFFFF] dark:to-[#4B4B4B]', | ||
}, | ||
size: { | ||
sm: 'text-3xl lg:text-4xl', | ||
md: 'text-[2.3rem] lg:text-5xl leading-9', | ||
lg: 'text-4xl lg:text-6xl', | ||
}, | ||
fullWidth: { | ||
true: 'w-full block', | ||
}, | ||
}, | ||
defaultVariants: { | ||
size: 'md', | ||
}, | ||
compoundVariants: [ | ||
{ | ||
color: [ | ||
'violet', | ||
'yellow', | ||
'blue', | ||
'cyan', | ||
'green', | ||
'pink', | ||
'foreground', | ||
], | ||
class: 'bg-clip-text text-transparent bg-gradient-to-b', | ||
}, | ||
], | ||
}); | ||
|
||
export const subtitle = tv({ | ||
base: 'w-full md:w-1/2 my-2 text-lg lg:text-xl text-default-600 block max-w-full', | ||
variants: { | ||
fullWidth: { | ||
true: '!w-full', | ||
}, | ||
}, | ||
defaultVariants: { | ||
fullWidth: 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
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
File renamed without changes.
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
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,19 +1,16 @@ | ||
// tailwind.config.js | ||
import {nextui} from "@nextui-org/react"; | ||
import { nextui } from '@nextui-org/react'; | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
const config = { | ||
// prefix : "tw-", | ||
content: [ | ||
// ... | ||
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}", | ||
"./pages/home.tsx" | ||
], | ||
theme: { | ||
extend: {}, | ||
}, | ||
darkMode: "class", | ||
plugins: [nextui()] | ||
} | ||
|
||
export default config; | ||
module.exports = { | ||
content: [ | ||
'./pages/**/*.{js,ts,jsx,tsx,mdx}', | ||
'./components/**/*.{js,ts,jsx,tsx,mdx}', | ||
'./app/**/*.{js,ts,jsx,tsx,mdx}', | ||
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}', | ||
], | ||
theme: { | ||
extend: {}, | ||
}, | ||
darkMode: 'class', | ||
plugins: [nextui()], | ||
}; |