Common front-end components for Web using the Tesseract design system, written for React. https://make.modal.sh/tesseract/web/react/common
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

dark.css 3.5 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. @font-face {
  2. font-family: 'Encode Sans';
  3. font-stretch: semi-expanded;
  4. font-weight: 400;
  5. src:
  6. local('Encode Sans Semi Expanded'),
  7. local('Encode Sans');
  8. }
  9. @font-face {
  10. font-family: 'Encode Sans';
  11. font-stretch: semi-expanded;
  12. font-weight: 700;
  13. src:
  14. local('Encode Sans Semi Expanded Bold'),
  15. local('Encode Sans Semi Expanded'),
  16. local('Encode Sans');
  17. }
  18. @font-face {
  19. font-family: 'Encode Sans';
  20. font-stretch: condensed;
  21. font-weight: 100;
  22. src:
  23. local('Encode Sans Condensed Thin'),
  24. local('Encode Sans Condensed'),
  25. local('Encode Sans');
  26. }
  27. @font-face {
  28. font-family: 'Encode Sans';
  29. font-stretch: condensed;
  30. font-weight: 200;
  31. src:
  32. local('Encode Sans Condensed ExtraLight'),
  33. local('Encode Sans Condensed Extra Light'),
  34. local('Encode Sans Condensed'),
  35. local('Encode Sans');
  36. }
  37. @font-face {
  38. font-family: 'Encode Sans';
  39. font-stretch: condensed;
  40. font-weight: 300;
  41. src:
  42. local('Encode Sans Condensed Light'),
  43. local('Encode Sans Condensed'),
  44. local('Encode Sans');
  45. }
  46. :root {
  47. --color-active: #f90;
  48. --font-family-base: 'Encode Sans Semi Expanded', 'Encode Sans', system-ui;
  49. --font-stretch-base: semi-expanded;
  50. --font-weight-base: 400;
  51. --line-height-base: 2;
  52. --font-family-headings:'Encode Sans Condensed', 'Encode Sans', system-ui;
  53. --font-stretch-headings: condensed;
  54. --font-weight-headings: 100;
  55. --line-height-headings: 1.5;
  56. --font-family-monospace: 'mononoki';
  57. --font-size-root: 16px;
  58. --color-negative: #222;
  59. --color-positive: #eee;
  60. --color-accent: #C78AB3;
  61. --opacity-light: 0.25;
  62. --opacity-lighter: 0.5;
  63. --opacity-lightest: 0.75;
  64. }
  65. :root {
  66. --color-bg: var(--color-negative, white);
  67. --color-fg: var(--color-positive, black);
  68. background-color: var(--color-bg);
  69. color: var(--color-fg);
  70. font-size: var(--font-size-root);
  71. font-family: var(--font-family-base), sans-serif;
  72. font-stretch: var(--font-stretch-base, normal);
  73. font-weight: var(--font-weight-base, 400);
  74. line-height: var(--line-height-base, 2);
  75. transition-property: color, background-color;
  76. transition-timing-function: ease;
  77. transition-duration: 350ms;
  78. }
  79. h1 {
  80. font-family: var(--font-family-headings), sans-serif;
  81. font-stretch: var(--font-stretch-headings, normal);
  82. font-weight: var(--font-weight-headings, 400);
  83. line-height: var(--line-height-headings, 1.5);
  84. }
  85. h2 {
  86. font-family: var(--font-family-headings), sans-serif;
  87. font-stretch: var(--font-stretch-headings, normal);
  88. font-weight: var(--font-weight-headings, 400);
  89. line-height: var(--line-height-headings, 1.5);
  90. }
  91. h3 {
  92. font-family: var(--font-family-headings), sans-serif;
  93. font-stretch: var(--font-stretch-headings, normal);
  94. font-weight: var(--font-weight-headings, 400);
  95. line-height: var(--line-height-headings, 1.5);
  96. }
  97. h4 {
  98. font-family: var(--font-family-headings), sans-serif;
  99. font-stretch: var(--font-stretch-headings, normal);
  100. font-weight: var(--font-weight-headings, 400);
  101. line-height: var(--line-height-headings, 1.5);
  102. }
  103. h5 {
  104. font-family: var(--font-family-headings), sans-serif;
  105. font-stretch: var(--font-stretch-headings, normal);
  106. font-weight: var(--font-weight-headings, 400);
  107. line-height: var(--line-height-headings, 1.5);
  108. }
  109. h6 {
  110. font-family: var(--font-family-headings), sans-serif;
  111. font-stretch: var(--font-stretch-headings, normal);
  112. font-weight: var(--font-weight-headings, 400);
  113. line-height: var(--line-height-headings, 1.5);
  114. }
  115. a {
  116. color: var(--color-accent);
  117. }
  118. code {
  119. font-family: var(--font-family-monospace), monospace;
  120. }
  121. pre {
  122. font-family: var(--font-family-monospace), monospace;
  123. }