softchatjs-react
Version:
Install the softchat-js SDKs
1 lines • 2.2 kB
Source Map (JSON)
{"version":3,"sources":["../../src/theme/index.tsx"],"sourcesContent":["import { ReactTheme } from \"./type\";\r\n\r\nexport const defaulTheme: ReactTheme = {\r\n background: {\r\n primary: \"#1b1d21\", // White for the primary background\r\n secondary: \"#202326\", // Light grey for secondary background\r\n disabled: \"#E0E0E0\", // Very light grey for disabled background\r\n },\r\n text: {\r\n primary: \"white\", // Black text for high contrast\r\n secondary: \"#4A4A4A\", // Dark grey for secondary text\r\n disabled: \"#9E9E9E\", // Light grey for disabled text\r\n },\r\n action: {\r\n primary: \"#007AFF\", // Bright blue for primary action buttons\r\n secondary: \"#5AA3FF\", // Light blue for secondary action buttons\r\n },\r\n chatBubble: {\r\n left: {\r\n bgColor: \"#343434\", // Light grey for incoming message background\r\n messageColor: \"white\", // Dark grey for incoming message text\r\n messageTimeColor: \"#6D6D6D\", // Medium grey for message time\r\n replyBorderColor: \"#D1D1D6\", // Slightly darker grey for reply border\r\n },\r\n right: {\r\n bgColor: \"#343434\", // Light blue for outgoing message background\r\n messageColor: \"white\", // Black for outgoing message text\r\n messageTimeColor: \"#6D6D6D\", // Medium grey for message time\r\n replyBorderColor: \"#A3D1FF\", // Medium blue for reply border\r\n },\r\n },\r\n icon: \"white\", // Dark grey for icons\r\n divider: \"rgba(128, 128, 128, 0.136)\", // Light grey for dividers\r\n hideDivider: false,\r\n input: {\r\n bgColor: \"#1b1d21\", // Light grey for input background\r\n textColor: \"white\", // Black for input text\r\n emojiPickerTheme: \"dark\", // Light theme for emoji picker\r\n },\r\n};\r\n"],"mappings":"AAEO,IAAMA,EAA0B,CACrC,WAAY,CACV,QAAS,UACT,UAAW,UACX,SAAU,SACZ,EACA,KAAM,CACJ,QAAS,QACT,UAAW,UACX,SAAU,SACZ,EACA,OAAQ,CACN,QAAS,UACT,UAAW,SACb,EACA,WAAY,CACV,KAAM,CACJ,QAAS,UACT,aAAc,QACd,iBAAkB,UAClB,iBAAkB,SACpB,EACA,MAAO,CACL,QAAS,UACT,aAAc,QACd,iBAAkB,UAClB,iBAAkB,SACpB,CACF,EACA,KAAM,QACN,QAAS,6BACT,YAAa,GACb,MAAO,CACL,QAAS,UACT,UAAW,QACX,iBAAkB,MACpB,CACF","names":["defaulTheme"]}