mirror of
https://github.com/AppFlowy-IO/AppFlowy-Web.git
synced 2025-11-29 19:08:33 +08:00
* new sync protocolt * refresh outline when folder change was detected * add 250ms debounce for yjs doc update emits * fix refresh outline on folder change * remove existing SyncManager * added update timestamp to lastUpdatedCollab info * turn off http fetch in get doc page * fix empty state vector binary parsing * return existing sync context if possible * update * chore: load workspace database data before loadview * chore: fixed the issue of database rows can not update * add awareness to RegisterSyncContext type def * chore: remove redundant logs * chore: add display of collaborative users * chore: display cursors * chore: setup web socket reconnect options * chore: init sync context only once * revert reconnect * chore: add blur * chore: cache device id * revert storage device id * chore: refactor remote selection rendering and add cursor animation * chore: refactor remote selection rendering * chore: add blur * chore: update cursor display logic, add device ID, optimize Yjs event handling * chore: add cross-tab sync via broadcast channel * chore: add text application logic, optimize selection transform handling, update ESLint rules * chore: fix lint * chore: others * add heartbeat and ready state logging * chore: add reconnect and listen connecting * chore: fix conneting banner * chore: modified the logic of adding recent * echo-based heartbeat * chore: remove condition of render cursors * chore: modified generate cursor color * chore: fix some test issues * chore: use jest mock timers in sync tests * chore: fix jest issue * chore: fix the lint issue --------- Co-authored-by: Kilu <lu@appflowy.io>
51 lines
1.0 KiB
JavaScript
51 lines
1.0 KiB
JavaScript
const colors = require('./tailwind/colors.cjs');
|
|
const boxShadow = require('./tailwind/box-shadow.cjs');
|
|
|
|
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
content: [
|
|
'./index.html',
|
|
'./src/**/*.{js,ts,jsx,tsx}',
|
|
'./node_modules/react-tailwindcss-datepicker/dist/index.esm.js',
|
|
],
|
|
important: '#body',
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
colors,
|
|
boxShadow,
|
|
borderRadius: {
|
|
100: '4px',
|
|
200: '6px',
|
|
300: '8px',
|
|
400: '12px',
|
|
500: '16px',
|
|
600: '20px',
|
|
},
|
|
padding: {
|
|
100: '4px',
|
|
200: '6px',
|
|
300: '8px',
|
|
400: '12px',
|
|
500: '16px',
|
|
600: '20px',
|
|
xs: '4px',
|
|
sm: '6px',
|
|
md: '12px',
|
|
lg: '16px',
|
|
xl: '20px',
|
|
},
|
|
keyframes: {
|
|
blink: {
|
|
'0%, 50%': { opacity: '1' },
|
|
'51%, 100%': { opacity: '0' },
|
|
},
|
|
},
|
|
animation: {
|
|
blink: 'blink 1s infinite',
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
};
|