+
Example Response
+
-
API Reference
+
API Reference
Module:message
@@ -76,7 +78,7 @@ function ParamItem({ name, desc }: { name: string; desc: string }) {
return (
{name + ':'}
- {desc}
+ {desc}
);
}
diff --git a/src/styles/Color.ts b/src/styles/Color.ts
index b911e7c..22b89cf 100644
--- a/src/styles/Color.ts
+++ b/src/styles/Color.ts
@@ -1,11 +1,12 @@
// Should match tailwind.config.js
export enum Color {
- primaryBlack = '#010101',
- primaryWhite = '#FFFFFF',
- primaryGray = '#6B7280',
- primaryBlue = '#2362C1',
- primaryBeige = '#F1EDE9',
- primaryRed = '#BF1B15',
+ Black = '#010101',
+ White = '#FFFFFF',
+ Gray = '#6B7280',
+ Blue = '#2362C1',
+ Pink = '#D631B9',
+ Beige = '#F1EDE9',
+ Red = '#BF1B15',
}
// Useful for cases when using class names isn't convenient
@@ -13,11 +14,13 @@ export enum Color {
export function classNameToColor(className) {
switch (className) {
case 'bg-blue-500':
- return Color.primaryBlue;
+ return Color.Blue;
+ case 'bg-pink-500':
+ return Color.Pink;
case 'bg-red-500':
- return Color.primaryRed;
+ return Color.Red;
case 'bg-gray-500':
- return Color.primaryGray;
+ return Color.Gray;
default:
throw new Error('Missing color for className: ' + className);
}
diff --git a/tailwind.config.js b/tailwind.config.js
index 6c059e3..5fe57d9 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -43,16 +43,16 @@ module.exports = {
900: '#908E8B',
},
pink: {
- 50: '#FAEAF7',
- 100: '#F0C0E8',
- 200: '#EBABE0',
- 300: '#E282D1',
- 400: '#D858C2',
- 500: '#CF2FB3',
- 600: '#BA2AA1',
- 700: '#A5258F',
- 800: '#90207D',
- 900: '#7C1C6B',
+ 50: '#FCF2FA',
+ 100: '#F2C1EA',
+ 200: '#EA98DC',
+ 300: '#E26ECE',
+ 400: '#DA45C0',
+ 500: '#D631B9',
+ 600: '#C02CA6',
+ 700: '#952281',
+ 800: '#6B185C',
+ 900: '#400E37',
},
red: {
100: '#EBBAB8',