Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,37 @@
/** @type {import('tailwindcss').Config} */

const v2ColorTokens = {
blue: {
50: '#EEF7FF',
100: '#D8EDFF',
200: '#BADFFF',
300: '#8ACCFF',
400: '#53B0FF',
500: '#2B8DFF',
600: '#146EFC',
700: '#0D56E8',
800: '#1246BB',
900: '#08184D',
950: '#122759',
},
gray: {
50: '#F6F6F6',
100: '#E7E7E7',
200: '#D1D1D1',
300: '#B0B0B0',
400: '#888888',
500: '#6D6D6D',
600: '#595959',
700: '#4F4F4F',
800: '#454545',
900: '#3D3D3D',
950: '#262626',
},
red: {
600: '#FC0606',
Copy link
Collaborator Author

@wendyyuchensun wendyyuchensun Feb 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

figma 裡紅色目前只用到 600,不像藍色或灰色用到比較多色調,所以紅色目前就先只加 600。以後紅色若有新需求,可以繼續加其他色調進來。

},
};

module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
Expand Down Expand Up @@ -34,6 +67,23 @@ module.exports = {
icon: '#DA1414',
},
},

// v2 color tokens
...v2ColorTokens,
primary: v2ColorTokens.blue[700],
error: v2ColorTokens.red[600],
bg: {
main: '#F8FCFF',
},
border: {
main: v2ColorTokens.gray[400],
},
text: {
heading: v2ColorTokens.gray[900],
primary: v2ColorTokens.gray[800],
secondary: v2ColorTokens.gray[500],
placeholder: v2ColorTokens.gray[400],
},
},
},
},
Expand Down