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.

62 lines
2.3 KiB

  1. // Commonly used web colors
  2. $black: #000000; // Black
  3. $white: #ffffff; // White
  4. $success-green: #79bd9a; // Padua
  5. $error-red: #df405a; // Cerise
  6. $warning-red: #ff5050; // Sunset Orange
  7. $gold-star: #ca8f04; // Dark Goldenrod
  8. $red-bookmark: $warning-red;
  9. // Values from the classic Mastodon UI
  10. $classic-base-color: #282c37; // Midnight Express
  11. $classic-primary-color: #9baec8; // Echo Blue
  12. $classic-secondary-color: #d9e1e8; // Pattens Blue
  13. $classic-highlight-color: #2b90d9; // Summer Sky
  14. // Variables for defaults in UI
  15. $base-shadow-color: $black !default;
  16. $base-overlay-background: $black !default;
  17. $base-border-color: $white !default;
  18. $simple-background-color: $white !default;
  19. $valid-value-color: $success-green !default;
  20. $error-value-color: $error-red !default;
  21. // Tell UI to use selected colors
  22. $ui-base-color: $classic-base-color !default; // Darkest
  23. $ui-base-lighter-color: lighten($ui-base-color, 26%) !default; // Lighter darkest
  24. $ui-primary-color: $classic-primary-color !default; // Lighter
  25. $ui-secondary-color: $classic-secondary-color !default; // Lightest
  26. $ui-highlight-color: $classic-highlight-color !default;
  27. // Variables for texts
  28. $primary-text-color: $white !default;
  29. $darker-text-color: $ui-primary-color !default;
  30. $dark-text-color: $ui-base-lighter-color !default;
  31. $secondary-text-color: $ui-secondary-color !default;
  32. $highlight-text-color: $ui-highlight-color !default;
  33. $action-button-color: $ui-base-lighter-color !default;
  34. // For texts on inverted backgrounds
  35. $inverted-text-color: $ui-base-color !default;
  36. $lighter-text-color: $ui-base-lighter-color !default;
  37. $light-text-color: $ui-primary-color !default;
  38. // Language codes that uses CJK fonts
  39. $cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW;
  40. // Variables for components
  41. $media-modal-media-max-width: 100%;
  42. // put margins on top and bottom of image to avoid the screen covered by image.
  43. $media-modal-media-max-height: 80%;
  44. $no-gap-breakpoint: 415px;
  45. $font-sans-serif: 'mastodon-font-sans-serif' !default;
  46. $font-display: 'mastodon-font-display' !default;
  47. $font-monospace: 'mastodon-font-monospace' !default;
  48. // Avatar border size (8% default, 100% for rounded avatars)
  49. $ui-avatar-border-size: 8%;
  50. // More variables
  51. $dismiss-overlay-width: 4rem;