FourLabs-UN2 commited on
Commit
caa3c72
·
verified ·
1 Parent(s): c0bff75

Faça variando em tons dessas cores:

Browse files
Files changed (2) hide show
  1. script.js +2 -2
  2. style.css +12 -12
script.js CHANGED
@@ -6,8 +6,8 @@ document.addEventListener('DOMContentLoaded', function() {
6
  datasets: [{
7
  label: 'Tokens Gerados',
8
  data: [1245, 1890, 1823, 2345, 2789, 3021, 3420, 3210, 2956, 2567, 2108, 1765],
9
- backgroundColor: 'rgba(67, 97, 238, 0.8)',
10
- borderColor: 'rgba(63, 55, 201, 1)',
11
  borderWidth: 1,
12
  borderRadius: {
13
  topLeft: 6,
 
6
  datasets: [{
7
  label: 'Tokens Gerados',
8
  data: [1245, 1890, 1823, 2345, 2789, 3021, 3420, 3210, 2956, 2567, 2108, 1765],
9
+ backgroundColor: 'rgba(255, 88, 15, 0.8)',
10
+ borderColor: 'rgba(255, 61, 0, 1)',
11
  borderWidth: 1,
12
  borderRadius: {
13
  topLeft: 6,
style.css CHANGED
@@ -1,36 +1,36 @@
1
 
2
  /* Base colors */
3
  :root {
4
- --primary: #4361ee;
5
- --primary-light: #4895ef;
6
- --secondary: #3f37c9;
7
- --light: #f8f9fa;
8
- --dark: #212529;
9
- --gray: #6c757d;
 
10
  }
11
-
12
  /* Custom chart tooltip styling */
13
  .chartjs-tooltip {
14
- background: rgba(33, 37, 41, 0.9) !important;
15
  border-radius: 4px !important;
16
  color: var(--light) !important;
17
  padding: 8px 12px !important;
18
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 
19
  }
20
-
21
  .chartjs-tooltip-key {
22
  display: inline-block;
23
  width: 10px;
24
  height: 10px;
25
  margin-right: 6px;
26
  border-radius: 2px;
27
- background: var(--primary-light);
 
28
  }
29
-
30
  body {
31
  background-color: var(--light);
 
32
  }
33
-
34
  /* Animation for chart loading */
35
  @keyframes fadeIn {
36
  from { opacity: 0; transform: translateY(10px); }
 
1
 
2
  /* Base colors */
3
  :root {
4
+ --primary: #ff580f;
5
+ --primary-light: #ff8040;
6
+ --secondary: #ff3d00;
7
+ --light: #f8f5f5;
8
+ --dark: #21223a;
9
+ --gray: #6c6d8a;
10
+ --dark-light: #3a3b5a;
11
  }
 
12
  /* Custom chart tooltip styling */
13
  .chartjs-tooltip {
14
+ background: rgba(33, 34, 58, 0.95) !important;
15
  border-radius: 4px !important;
16
  color: var(--light) !important;
17
  padding: 8px 12px !important;
18
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
19
+ border: 1px solid var(--dark-light);
20
  }
 
21
  .chartjs-tooltip-key {
22
  display: inline-block;
23
  width: 10px;
24
  height: 10px;
25
  margin-right: 6px;
26
  border-radius: 2px;
27
+ background: var(--primary);
28
+ box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
29
  }
 
30
  body {
31
  background-color: var(--light);
32
+ color: var(--dark);
33
  }
 
34
  /* Animation for chart loading */
35
  @keyframes fadeIn {
36
  from { opacity: 0; transform: translateY(10px); }