You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

theme.ts 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /**
  2. * Copyright (c) Meta Platforms, Inc. and affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. *
  7. */
  8. export default {
  9. code: 'editor-code',
  10. heading: {
  11. h1: 'editor-heading-h1',
  12. h2: 'editor-heading-h2',
  13. h3: 'editor-heading-h3',
  14. h4: 'editor-heading-h4',
  15. h5: 'editor-heading-h5',
  16. },
  17. image: 'editor-image',
  18. link: 'editor-link',
  19. list: {
  20. listitem: 'editor-listitem',
  21. nested: {
  22. listitem: 'editor-nested-listitem',
  23. },
  24. ol: 'editor-list-ol',
  25. ul: 'editor-list-ul',
  26. },
  27. ltr: 'ltr',
  28. paragraph: 'editor-paragraph',
  29. placeholder: 'editor-placeholder',
  30. quote: 'editor-quote',
  31. rtl: 'rtl',
  32. text: {
  33. bold: 'editor-text-bold',
  34. code: 'editor-text-code',
  35. hashtag: 'editor-text-hashtag',
  36. italic: 'editor-text-italic',
  37. overflowed: 'editor-text-overflowed',
  38. strikethrough: 'editor-text-strikethrough',
  39. underline: 'editor-text-underline',
  40. underlineStrikethrough: 'editor-text-underlineStrikethrough',
  41. },
  42. };