aboutsummaryrefslogtreecommitdiff
path: root/src/app.css
blob: 38d06531be45c618cf99638029e83e8c9f0341c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
  /* General */
  .leather {
    @apply bg-primary-0 dark:bg-primary-1000 text-gray-800 dark:text-gray-300;
  }

  /* Button */
  button.btn-leather.text-white {
    @apply text-primary-0;
  }

  .btn-leather span svg {
    @apply fill-gray-800 hover:fill-primary-400 dark:fill-gray-300 dark:hover:fill-primary-500;
  }

  .btn-leather.text-xs {
    @apply w-7 h-7;
  }

  .btn-leather.text-xs svg {
    @apply w-3 h-3;
  }

  .btn-leather.text-sm {
    @apply w-8 h-8;
  }

  .btn-leather.text-sm svg {
    @apply w-4 h-4;
  }

  /* Card */
  div.card-leather {
    @apply bg-primary-0 dark:bg-primary-1000 border-gray-200 has-[:hover]:border-primary-800 dark:border-gray-800 dark:has-[:hover]:border-primary-500;
  }

  div.card-leather h1,
  div.card-leather h2,
  div.card-leather h3,
  div.card-leather h4,
  div.card-leather h5,
  div.card-leather h6 {
    @apply text-gray-800 hover:text-primary-400 dark:text-gray-300 dark:hover:text-primary-500;
  }

  /* Content */
  div.note-leather {
    @apply bg-primary-0 dark:bg-primary-1000 text-gray-800 dark:text-gray-300 hover:bg-primary-100 dark:hover:bg-primary-800 p-2 rounded;
  }

  /* Heading */
  h1.h-leather,
  h2.h-leather,
  h3.h-leather,
  h4.h-leather,
  h5.h-leather {
    @apply text-gray-800 dark:text-gray-300;
  }

  /* Modal */
  div.modal-leather > div {
    @apply bg-primary-0 dark:bg-primary-1000 border-b-[1px] border-gray-800 dark:border-gray-500;
  }

  div.modal-leather > div > h1, 
  div.modal-leather > div > h2, 
  div.modal-leather > div > h3, 
  div.modal-leather > div > h4, 
  div.modal-leather > div > h5, 
  div.modal-leather > div > h6 {
    @apply text-gray-800 hover:text-gray-800 dark:text-gray-300 dark:hover:text-gray-300;
  }

  div.modal-leather button {
    @apply bg-primary-0 hover:bg-primary-0 dark:bg-primary-1000 dark:hover:bg-primary-1000 text-gray-800 hover:text-primary-400 dark:text-gray-300 dark:hover:text-primary-500;
  }

  /* Navbar */
  nav.navbar-leather {
    @apply bg-primary-0 dark:bg-primary-1000;
  }

  nav.navbar-leather svg {
    @apply fill-gray-800 hover:fill-primary-400 dark:fill-gray-300 dark:hover:fill-primary-500;
  }

  nav.navbar-leather h1,
  nav.navbar-leather h2,
  nav.navbar-leather h3,
  nav.navbar-leather h4,
  nav.navbar-leather h5,
  nav.navbar-leather h6 {
    @apply text-gray-800 hover:text-primary-400 dark:text-gray-300 dark:hover:text-primary-500;
  }

  /* Sidebar */
  aside.sidebar-leather > div {
    @apply bg-gray-100 dark:bg-gray-900;
  }

  a.sidebar-item-leather {
    @apply hover:bg-primary-100 dark:hover:bg-primary-800;
  }

  /* Tooltip */
  div.tooltip-leather {
    @apply text-gray-800 dark:text-gray-300;
  }

  /* Unordered list */
  .ul-leather li a {
    @apply text-gray-800 hover:text-primary-400 dark:text-gray-300 dark:hover:text-primary-500;
  }
}