theme.less 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .bg-white {
  2. background-color: @component-background !important;
  3. }
  4. html[data-theme='light'] {
  5. .text-secondary {
  6. color: rgb(0 0 0 / 45%);
  7. }
  8. .ant-alert-success {
  9. background-color: #f6ffed;
  10. border: 1px solid #b7eb8f;
  11. }
  12. .ant-alert-error {
  13. background-color: #fff2f0;
  14. border: 1px solid #ffccc7;
  15. }
  16. .ant-alert-warning {
  17. background-color: #fffbe6;
  18. border: 1px solid #ffe58f;
  19. }
  20. :not(:root):fullscreen::backdrop {
  21. background-color: @layout-body-background !important;
  22. }
  23. }
  24. [data-theme='dark'] {
  25. .text-secondary {
  26. color: #8b949e;
  27. }
  28. .ant-card-grid-hoverable:hover {
  29. box-shadow: 0 3px 6px -4px rgb(0 0 0 / 48%), 0 6px 16px 0 rgb(0 0 0 / 32%),
  30. 0 9px 28px 8px rgb(0 0 0 / 20%);
  31. }
  32. .ant-card-grid {
  33. box-shadow: 1px 0 0 0 #434343, 0 1px 0 0 #434343, 1px 1px 0 0 #434343, 1px 0 0 0 #434343 inset,
  34. 0 1px 0 0 #434343 inset;
  35. }
  36. .ant-calendar-selected-day .ant-calendar-date {
  37. color: rgb(0 0 0 / 80%);
  38. }
  39. .ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
  40. color: rgb(0 0 0 / 90%);
  41. }
  42. }