accent.pcss.css

Same filename and directory in other branches
  1. main core/themes/default_admin/migration/css/theme/accent.pcss.css

Accent color and focus ring theme styles.

File

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

View source
  1. /**
  2. * @file
  3. * Accent color and focus ring theme styles.
  4. */
  5. [data-gin-accent="blue"] {
  6. --gin-color-sticky-rgb: 235, 241, 253;
  7. }
  8. [data-gin-accent="light_blue"] {
  9. --gin-color-sticky-rgb: 238, 243, 251;
  10. }
  11. [data-gin-accent="dark_purple"] {
  12. --gin-color-sticky-rgb: 240, 235, 250;
  13. }
  14. [data-gin-accent="purple"] {
  15. --gin-color-sticky-rgb: 242, 235, 255;
  16. }
  17. [data-gin-accent="teal"] {
  18. --gin-color-sticky-rgb: 236, 245, 245;
  19. }
  20. [data-gin-accent="green"] {
  21. --gin-color-sticky-rgb: 235, 245, 242;
  22. }
  23. [data-gin-accent="red"] {
  24. --gin-color-sticky-rgb: 252, 235, 238;
  25. }
  26. [data-gin-accent="orange"] {
  27. --gin-color-sticky-rgb: 252, 243, 235;
  28. }
  29. [data-gin-accent="yellow"] {
  30. --gin-color-sticky-rgb: 249, 244, 235;
  31. }
  32. [data-gin-accent="pink"] {
  33. --gin-color-sticky-rgb: 251, 238, 244;
  34. }
  35. [data-gin-accent="neutral"] {
  36. --gin-color-sticky-rgb: 236, 236, 236;
  37. }
  38. [data-gin-accent="custom"] {
  39. --gin-color-sticky-rgb: 236, 236, 236;
  40. }
  41. @media (forced-colors: none) {
  42. .gin--high-contrast-mode {
  43. --gin-bg-app: #d9dbde;
  44. --gin-color-text: rgb(0, 0, 0, 0.8);
  45. --gin-color-text-light: rgb(0, 0, 0, 0.8);
  46. --gin-icon-color: rgb(0, 0, 0, 0.8);
  47. --gin-color-focus: rgb(0, 0, 0, 0.8);
  48. --gin-border-color: rgb(0, 0, 0, 0.8);
  49. --gin-border-color-secondary: rgb(0, 0, 0, 0.6);
  50. --gin-border-color-layer: rgb(0, 0, 0, 0.6);
  51. --gin-border-color-layer2: rgb(0, 0, 0, 0.8);
  52. --gin-border-color-table: rgb(0, 0, 0, 0.8);
  53. --gin-border-color-table-header: rgb(0, 0, 0, 0.8);
  54. --gin-border-color-form-element: rgb(0, 0, 0, 0.8);
  55. .gin--dark-mode
  56. }
  57. }
  58. [data-gin-focus="green"] {
  59. --gin-color-focus: rgb(8, 163, 144, 0.6);
  60. }
  61. [data-gin-focus="claro"] {
  62. --gin-color-focus: rgb(38, 167, 105, 0.6);
  63. }
  64. [data-gin-focus="orange"] {
  65. --gin-color-focus: rgb(236, 124, 87, 0.6);
  66. }
  67. [data-gin-focus="dark"] {
  68. --gin-color-focus: var(--gin-color-focus-neutral-rgb);
  69. }
  70. [data-gin-focus="accent"] {
  71. --gin-color-focus: rgb(var(--gin-color-primary-rgb), 0.6);
  72. }

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