|
6 | 6 | <title>Datetime</title> |
7 | 7 | <link rel="stylesheet" href="../../../common.css" /> |
8 | 8 | <script src="../../../common.js"></script> |
9 | | - <script type="module" src="https://cdn.jsdelivr.net/npm/@ionic/core@8/dist/ionic/ionic.esm.js"></script> |
10 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ionic/core@8/css/ionic.bundle.css" /> |
| 9 | + <script |
| 10 | + type="module" |
| 11 | + src="https://cdn.jsdelivr.net/npm/@ionic/core@8.6.3-dev.11753813535.1498583f/dist/ionic/ionic.esm.js" |
| 12 | + ></script> |
| 13 | + <link |
| 14 | + rel="stylesheet" |
| 15 | + href="https://cdn.jsdelivr.net/npm/@ionic/core@8.6.3-dev.11753813535.1498583f/css/ionic.bundle.css" |
| 16 | + /> |
11 | 17 | <style> |
12 | 18 | ion-datetime { |
13 | 19 | width: 350px; |
|
31 | 37 | date: '2023-01-05', |
32 | 38 | textColor: '#800080', |
33 | 39 | backgroundColor: '#ffc0cb', |
| 40 | + border: '1px solid #e91e63', |
34 | 41 | }, |
35 | 42 | { |
36 | 43 | date: '2023-01-10', |
37 | 44 | textColor: '#09721b', |
38 | 45 | backgroundColor: '#c8e5d0', |
| 46 | + border: '1px solid #4caf50', |
39 | 47 | }, |
40 | 48 | { |
41 | 49 | date: '2023-01-20', |
42 | | - textColor: 'var(--ion-color-secondary-contrast)', |
43 | | - backgroundColor: 'var(--ion-color-secondary)', |
| 50 | + textColor: 'var(--ion-color-secondary)', |
| 51 | + backgroundColor: 'rgb(var(--ion-color-secondary-rgb), 0.18)', |
| 52 | + border: '1px solid var(--ion-color-secondary-shade)', |
44 | 53 | }, |
45 | 54 | { |
46 | 55 | date: '2023-01-23', |
47 | 56 | textColor: 'rgb(68, 10, 184)', |
48 | 57 | backgroundColor: 'rgb(211, 200, 229)', |
| 58 | + border: '1px solid rgb(103, 58, 183)', |
49 | 59 | }, |
50 | 60 | ]; |
51 | 61 | </script> |
|
0 commit comments