accent.pcss.css

Same filename in this branch
  1. main core/themes/default_admin/migration/css/theme/accent.pcss.css
Same filename and directory in other branches
  1. 11.x core/themes/default_admin/migration/css/theme/accent.pcss.css
  2. 11.x core/themes/default_admin/css/theme/accent.pcss.css

Accent color and focus ring theme styles.

File

core/themes/default_admin/css/theme/accent.pcss.css

View source
  1. /**
  2. * @file
  3. * Accent color and focus ring theme styles.
  4. */
  5. @media (forced-colors: none) {
  6. .gin--high-contrast-mode {
  7. --admin-color-bg: #d9dbde;
  8. --admin-color-text: rgb(0, 0, 0, 0.8);
  9. --admin-color-text-soft: rgb(0, 0, 0, 0.8);
  10. --admin-color-icon: rgb(0, 0, 0, 0.8);
  11. --admin-color-focus: rgb(0, 0, 0, 0.8);
  12. --admin-color-border: rgb(0, 0, 0, 0.8);
  13. --admin-color-border-soft: rgb(0, 0, 0, 0.6);
  14. --admin-color-border-loud: rgb(0, 0, 0, 0.8);
  15. --admin-color-border-input: rgb(0, 0, 0, 0.8);
  16. --admin-color-border-table: rgb(0, 0, 0, 0.8);
  17. .gin--dark-mode
  18. }
  19. }
  20. [data-gin-focus="green"] {
  21. --admin-color-focus: rgb(8, 163, 144, 0.6);
  22. }
  23. [data-gin-focus="claro"] {
  24. --admin-color-focus: rgb(38, 167, 105, 0.6);
  25. }
  26. [data-gin-focus="orange"] {
  27. --admin-color-focus: rgb(236, 124, 87, 0.6);
  28. }
  29. [data-gin-focus="dark"] {
  30. --admin-color-focus: var(--admin-color-focus-neutral);
  31. }
  32. [data-gin-focus="accent"] {
  33. /* stylelint-disable-next-line color-function-notation */
  34. --admin-color-focus: rgb(from var(--admin-color-primary) r g b / 0.6);
  35. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.