light.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. // Sidebar
  2. @sidebar-bg: #fff;
  3. @sidebar-color: @neutral-40;
  4. @sidebar-active-bg: @green;
  5. @sidebar-active-color: #fff;
  6. @sidebar-hover-bg: @neutral-20;
  7. @sidebar-active-font-weight: normal;
  8. @sidebar-hover-text-decoration: none;
  9. @v2-dash-pane-bg: @neutral-20;
  10. @v2-dash-pane-link-color: @blue;
  11. @v2-dash-pane-toggle-color: @neutral-70;
  12. @v2-dash-pane-btn-bg: @neutral-80;
  13. @v2-dash-pane-btn-hover-bg: @neutral-90;
  14. @v2-dash-pane-color: @neutral-70;
  15. @progress-bar-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  16. @progress-bg: @neutral-10;
  17. @input-border: @neutral-20;
  18. // Editor file-tree
  19. @file-tree-bg: #fff;
  20. @file-tree-line-height: 2.05;
  21. @file-tree-item-color: @neutral-70;
  22. @file-tree-item-focus-color: @file-tree-item-color;
  23. @file-tree-item-selected-color: #fff;
  24. @file-tree-item-toggle-color: @neutral-40;
  25. @file-tree-item-icon-color: @neutral-40;
  26. @file-tree-item-folder-color: @neutral-40;
  27. @file-tree-item-hover-bg: @neutral-20;
  28. @file-tree-item-selected-bg: @green;
  29. @file-tree-multiselect-bg: @blue;
  30. @file-tree-multiselect-hover-bg: @blue-dark;
  31. @file-tree-droppable-bg-color: @neutral-40;
  32. @file-tree-error-color: @ol-blue-gray-5;
  33. @file-tree-toolbar-btn-hover-color: @neutral-10;
  34. @content-alt-bg-color: @neutral-10;
  35. // File outline
  36. @outline-line-guide-color: @neutral-20;
  37. @outline-header-hover-bg: @file-tree-item-hover-bg;
  38. @outline-highlight-bg: mix(@file-tree-bg, @neutral-20);
  39. @vertical-resizable-resizer-bg: @neutral-20;
  40. @vertical-resizable-resizer-hover-bg: @file-tree-item-hover-bg;
  41. // Editor resizers
  42. @editor-resizer-bg-color: @neutral-20;
  43. @editor-resizer-bg-color-dragging: @neutral-20;
  44. @editor-toggler-bg-color: @neutral-40;
  45. @editor-toggler-hover-bg-color: @green;
  46. @synctex-controls-z-index: 6;
  47. @synctex-controls-padding: 0;
  48. @editor-border-color: @neutral-20;
  49. @toolbar-border-color: @neutral-20;
  50. @toolbar-alt-bg-color: #fff;
  51. @editor-toolbar-bg: @toolbar-alt-bg-color;
  52. @toolbar-header-bg-color: #fff;
  53. @toolbar-header-btn-border-color: @neutral-20;
  54. @toolbar-btn-color: @neutral-70;
  55. @toolbar-btn-hover-color: @neutral-70;
  56. @toolbar-btn-hover-bg-color: @neutral-10;
  57. @toolbar-icon-btn-color: @neutral-70;
  58. @toolbar-icon-btn-hover-color: @neutral-70;
  59. @editor-header-logo-background: url(../../../../public/img/ol-brand/overleaf-o.svg)
  60. center / contain no-repeat;
  61. @project-name-color: @neutral-70;
  62. @project-rename-link-color: @neutral-70;
  63. @project-rename-link-color-hover: @neutral-70;
  64. @logs-pane-bg: @neutral-10;
  65. @pdf-toolbar-btn-hover-color: @neutral-10;
  66. // Navbar
  67. @navbar-default-bg: #fff;
  68. @navbar-default-border: @neutral-20;
  69. @navbar-default-link-bg: @green;
  70. @navbar-default-link-color: #fff;
  71. @navbar-default-link-border-color: transparent;
  72. @navbar-default-link-hover-bg: @green;
  73. @navbar-default-link-active-bg: @green;
  74. @navbar-default-link-hover-color: @green;
  75. @navbar-title-color: @neutral-20;
  76. @navbar-title-color-hover: @neutral-40;
  77. @navbar-default-color: @neutral-70;
  78. @navbar-brand-image-url: url(../../../../public/img/ol-brand/overleaf.svg);
  79. @navbar-subdued-color: @neutral-70;
  80. @navbar-subdued-hover-bg: @neutral-20;
  81. @navbar-subdued-hover-color: @neutral-70;
  82. // v2 History
  83. @history-toolbar-color: @neutral-70;
  84. @history-base-bg: @neutral-10;
  85. @history-file-badge-bg: rgba(0, 0, 0, 0.25);
  86. @history-file-badge-color: #fff;
  87. // Formatting buttons
  88. @formatting-btn-color: @toolbar-icon-btn-color;
  89. @formatting-btn-bg: transparent;
  90. @formatting-btn-border: @neutral-20;
  91. @formatting-menu-bg: #fff;
  92. // Chat
  93. @chat-bg: #fff;
  94. @chat-instructions-color: @neutral-70;
  95. @chat-message-color: #fff;
  96. @chat-message-name-color: @neutral-70;
  97. @chat-message-date-color: @neutral-70;
  98. @chat-new-message-bg: @neutral-10;
  99. @chat-new-message-textarea-bg: #fff;
  100. @chat-new-message-textarea-color: @neutral-90;
  101. @chat-new-message-border-color: @neutral-20;
  102. // Symbol Palette
  103. @symbol-palette-bg: #fff;
  104. @symbol-palette-color: @neutral-70;
  105. @symbol-palette-header-background: @neutral-20;
  106. @symbol-palette-item-bg: @neutral-20;
  107. @symbol-palette-item-color: @neutral-70;
  108. @symbol-palette-selected-tab-bg: #fff;
  109. @symbol-palette-selected-tab-color: @blue;
  110. @symbol-palette-text-shadow-color: @neutral-20;
  111. // React History
  112. @history-react-header-bg: #fff;
  113. @history-react-header-color: @ol-blue-gray-3;
  114. @history-react-separator-color: @neutral-20;