Brajmovech commited on
Commit
4a45f24
·
1 Parent(s): 585e64a

fix: add light mode text color overrides for recommendation section

Browse files
Files changed (2) hide show
  1. static/style.css +55 -0
  2. templates/index.html +1 -1
static/style.css CHANGED
@@ -1904,6 +1904,61 @@ footer p {
1904
  background: rgba(0, 0, 0, 0.06);
1905
  }
1906
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1907
  [data-theme="light"] .rec-card-skeleton {
1908
  background: rgba(0, 0, 0, 0.02);
1909
  border-color: rgba(0, 0, 0, 0.08);
 
1904
  background: rgba(0, 0, 0, 0.06);
1905
  }
1906
 
1907
+ [data-theme="light"] .rec-title {
1908
+ color: #1a1a2e;
1909
+ }
1910
+
1911
+ [data-theme="light"] .rec-subtitle {
1912
+ color: #6b7280;
1913
+ }
1914
+
1915
+ [data-theme="light"] .rec-ticker {
1916
+ color: #111827;
1917
+ }
1918
+
1919
+ [data-theme="light"] .rec-name {
1920
+ color: #6b7280;
1921
+ }
1922
+
1923
+ [data-theme="light"] .rec-price {
1924
+ color: #111827;
1925
+ }
1926
+
1927
+ [data-theme="light"] .rec-price-change.rec-ch-positive {
1928
+ color: #16a34a;
1929
+ }
1930
+
1931
+ [data-theme="light"] .rec-price-change.rec-ch-negative {
1932
+ color: #dc2626;
1933
+ }
1934
+
1935
+ [data-theme="light"] .rec-price-change.rec-ch-neutral {
1936
+ color: #d97706;
1937
+ }
1938
+
1939
+ [data-theme="light"] .rec-change-badge.rec-badge-positive {
1940
+ background: rgba(22, 163, 74, 0.1);
1941
+ color: #16a34a;
1942
+ }
1943
+
1944
+ [data-theme="light"] .rec-change-badge.rec-badge-negative {
1945
+ background: rgba(220, 38, 38, 0.1);
1946
+ color: #dc2626;
1947
+ }
1948
+
1949
+ [data-theme="light"] .rec-change-badge.rec-badge-neutral {
1950
+ background: rgba(217, 119, 6, 0.1);
1951
+ color: #d97706;
1952
+ }
1953
+
1954
+ [data-theme="light"] .rec-nav-btn {
1955
+ color: #4b5563;
1956
+ }
1957
+
1958
+ [data-theme="light"] .rec-nav-btn:hover:not(:disabled) {
1959
+ color: #111827;
1960
+ }
1961
+
1962
  [data-theme="light"] .rec-card-skeleton {
1963
  background: rgba(0, 0, 0, 0.02);
1964
  border-color: rgba(0, 0, 0, 0.08);
templates/index.html CHANGED
@@ -14,7 +14,7 @@
14
  })();
15
  </script>
16
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">
17
- <link rel="stylesheet" href="/static/style.css?v=8">
18
  <link rel="icon" type="image/svg+xml"
19
  href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22 fill=%22%233b82f6%22>IA</text></svg>">
20
  </head>
 
14
  })();
15
  </script>
16
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">
17
+ <link rel="stylesheet" href="/static/style.css?v=9">
18
  <link rel="icon" type="image/svg+xml"
19
  href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22 fill=%22%233b82f6%22>IA</text></svg>">
20
  </head>