@apo100l/ace-ui-kit 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,8 +50,14 @@
50
50
  gap: var(--ak-space-3);
51
51
  height: var(--ak-topbar-height);
52
52
  padding: 0 var(--ak-space-4);
53
- border-bottom: 1px solid var(--ak-color-border);
54
- background: var(--ak-color-surface);
53
+ border-bottom: 1px solid var(--ak-topbar-border);
54
+ background: var(--ak-topbar-bg);
55
+ color: var(--ak-topbar-fg);
56
+
57
+ .ak-btn--ghost {
58
+ --_fg: var(--ak-topbar-fg);
59
+ --_bg-hover: var(--ak-topbar-hover);
60
+ }
55
61
  }
56
62
  .ak-topbar__menu {
57
63
  display: none;
@@ -60,11 +66,12 @@
60
66
  display: flex;
61
67
  align-items: center;
62
68
  gap: var(--ak-space-2);
63
- color: var(--ak-color-text);
69
+ color: var(--ak-topbar-fg);
64
70
  font-weight: var(--ak-font-weight-semibold);
65
71
  text-decoration: none;
66
72
 
67
73
  &:hover {
74
+ color: var(--ak-topbar-fg);
68
75
  text-decoration: none;
69
76
  }
70
77
  }
@@ -80,7 +87,7 @@
80
87
  font-weight: var(--ak-font-weight-bold);
81
88
  }
82
89
  .ak-topbar__scope {
83
- color: var(--ak-color-muted);
90
+ color: var(--ak-topbar-muted);
84
91
  font-size: var(--ak-font-size-md);
85
92
 
86
93
  &::before {
@@ -104,8 +111,9 @@
104
111
  height: calc(100vh - var(--ak-topbar-height));
105
112
  padding: var(--ak-space-3) var(--ak-space-2) var(--ak-space-6);
106
113
  overflow-y: auto;
107
- border-right: 1px solid var(--ak-color-border);
108
- background: var(--ak-color-ground);
114
+ border-right: 1px solid var(--ak-sidebar-border);
115
+ background: var(--ak-sidebar-bg);
116
+ color: var(--ak-sidebar-fg);
109
117
  scrollbar-color: var(--ak-color-control) transparent;
110
118
  scrollbar-width: thin;
111
119
  }
@@ -129,7 +137,7 @@
129
137
  min-height: var(--ak-nav-row);
130
138
  padding: var(--ak-space-1) var(--ak-space-3);
131
139
  border-radius: var(--ak-radius-control);
132
- color: var(--ak-color-text);
140
+ color: var(--ak-sidebar-fg);
133
141
  font-size: var(--ak-font-size-md);
134
142
  line-height: var(--ak-line-height-tight);
135
143
  text-decoration: none;
@@ -140,13 +148,13 @@
140
148
  display: none;
141
149
  }
142
150
  > .ak-icon {
143
- color: var(--ak-color-muted);
151
+ color: var(--ak-sidebar-icon);
144
152
  }
145
153
  > .ak-badge {
146
154
  margin-left: auto;
147
155
  }
148
156
  &:hover {
149
- background: var(--ak-color-raised);
157
+ background: var(--ak-sidebar-hover);
150
158
  text-decoration: none;
151
159
  }
152
160
  &:focus-visible {
@@ -154,14 +162,22 @@
154
162
  box-shadow: var(--ak-focus-ring);
155
163
  }
156
164
  &[aria-current='page'] {
157
- background: var(--ak-color-active);
158
- font-weight: var(--ak-font-weight-medium);
165
+ background: var(--ak-nav-active-bg);
166
+ color: var(--ak-nav-active-fg);
167
+ font-weight: var(--ak-nav-active-weight);
168
+ box-shadow:
169
+ inset 0 1px 0 var(--ak-nav-active-rule),
170
+ inset 0 -1px 0 var(--ak-nav-active-rule);
171
+
172
+ > .ak-icon {
173
+ color: var(--ak-nav-active-icon);
174
+ }
159
175
  }
160
176
  .ak-nav .ak-nav & {
161
- color: var(--ak-color-muted);
177
+ color: color-mix(in srgb, var(--ak-sidebar-fg) 80%, var(--ak-sidebar-bg));
162
178
 
163
179
  &[aria-current='page'] {
164
- color: var(--ak-color-text);
180
+ color: var(--ak-nav-active-fg);
165
181
  }
166
182
  }
167
183
  }
@@ -192,6 +208,7 @@
192
208
  .ak-main {
193
209
  grid-area: main;
194
210
  min-width: 0;
211
+ background: var(--ak-main-bg);
195
212
  padding: var(--ak-space-4) var(--ak-space-6) var(--ak-space-10);
196
213
  }
197
214
 
@@ -233,9 +250,9 @@
233
250
  }
234
251
  .ak-page-header__title {
235
252
  margin: 0;
236
- color: var(--ak-color-text);
253
+ color: var(--ak-page-title-color);
237
254
  font-size: var(--ak-font-size-2xl);
238
- font-weight: var(--ak-font-weight-semibold);
255
+ font-weight: var(--ak-page-title-weight);
239
256
  line-height: var(--ak-line-height-tight);
240
257
  }
241
258
  .ak-page-header__lead {
@@ -13,3 +13,4 @@
13
13
  @use 'components/overlay';
14
14
  @use 'components/shell';
15
15
  @use 'components/feedback';
16
+ @use 'components/auth';
@@ -4,6 +4,7 @@
4
4
  border: 1px solid var(--ak-color-border);
5
5
  border-radius: var(--ak-radius-card);
6
6
  background: var(--ak-color-surface);
7
+ box-shadow: var(--ak-card-shadow);
7
8
  }
8
9
 
9
10
  @mixin header {
@@ -7,7 +7,7 @@
7
7
  background: none;
8
8
  color: var(--ak-color-muted);
9
9
  font-size: var(--ak-font-size-sm);
10
- font-weight: var(--ak-font-weight-regular);
10
+ font-weight: var(--ak-th-weight);
11
11
  text-align: left;
12
12
  text-transform: none;
13
13
  letter-spacing: 0;