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.
 
 
 
 

128 linhas
3.3 KiB

  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. }
  76. h1 {
  77. font-family: var(--font-family-headings), sans-serif;
  78. font-stretch: var(--font-stretch-headings, normal);
  79. font-weight: var(--font-weight-headings, 400);
  80. line-height: var(--line-height-headings, 1.5);
  81. }
  82. h2 {
  83. font-family: var(--font-family-headings), sans-serif;
  84. font-stretch: var(--font-stretch-headings, normal);
  85. font-weight: var(--font-weight-headings, 400);
  86. line-height: var(--line-height-headings, 1.5);
  87. }
  88. h3 {
  89. font-family: var(--font-family-headings), sans-serif;
  90. font-stretch: var(--font-stretch-headings, normal);
  91. font-weight: var(--font-weight-headings, 400);
  92. line-height: var(--line-height-headings, 1.5);
  93. }
  94. h4 {
  95. font-family: var(--font-family-headings), sans-serif;
  96. font-stretch: var(--font-stretch-headings, normal);
  97. font-weight: var(--font-weight-headings, 400);
  98. line-height: var(--line-height-headings, 1.5);
  99. }
  100. h5 {
  101. font-family: var(--font-family-headings), sans-serif;
  102. font-stretch: var(--font-stretch-headings, normal);
  103. font-weight: var(--font-weight-headings, 400);
  104. line-height: var(--line-height-headings, 1.5);
  105. }
  106. h6 {
  107. font-family: var(--font-family-headings), sans-serif;
  108. font-stretch: var(--font-stretch-headings, normal);
  109. font-weight: var(--font-weight-headings, 400);
  110. line-height: var(--line-height-headings, 1.5);
  111. }
  112. a {
  113. color: var(--color-accent);
  114. }