@deepgram/styles 0.2.9 → 0.2.11

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.
package/lib/deepgram.css CHANGED
@@ -38,31 +38,31 @@
38
38
  }
39
39
 
40
40
  .dg-btn--primary {
41
- @apply border border-transparent relative text-white dg-gradient-border dg-glow-cyan-green;
41
+ @apply border border-transparent relative text-dg-solid dg-gradient-border dg-glow-cyan-green;
42
42
  }
43
43
 
44
44
  .dg-btn--primary:hover {
45
- @apply border-transparent text-black dg-bg-reset bg-white dg-shadow-subtle;
45
+ @apply border-transparent text-dg-on-solid dg-bg-reset bg-dg-solid dg-shadow-subtle;
46
46
  }
47
47
 
48
48
  .dg-btn--secondary {
49
- @apply border border-transparent bg-white text-black;
49
+ @apply border border-transparent bg-dg-solid text-dg-on-solid;
50
50
  }
51
51
 
52
52
  .dg-btn--secondary:hover {
53
- @apply border border-white bg-black text-white;
53
+ @apply border border-dg-solid bg-dg-on-solid text-dg-solid;
54
54
  }
55
55
 
56
56
  .dg-btn--ghost {
57
- @apply border border-dg-slate bg-transparent text-white;
57
+ @apply border border-dg-slate bg-transparent text-dg-solid;
58
58
  }
59
59
 
60
60
  .dg-btn--ghost:hover {
61
- @apply border-transparent text-black dg-bg-reset bg-white dg-shadow-subtle;
61
+ @apply border-transparent text-dg-on-solid dg-bg-reset bg-dg-solid dg-shadow-subtle;
62
62
  }
63
63
 
64
64
  .dg-btn--danger-ghost {
65
- @apply border border-dg-danger bg-transparent text-white;
65
+ @apply border border-dg-danger bg-transparent text-dg-solid;
66
66
  }
67
67
 
68
68
  .dg-btn--danger-ghost:hover {
@@ -263,7 +263,7 @@
263
263
 
264
264
  .dg-card--selectable:has(input[type="radio"]:checked) {
265
265
  @apply border-dg-primary;
266
- background: rgba(19, 239, 149, 0.05);
266
+ background: color-mix(in srgb, var(--dg-primary) 5%, transparent);
267
267
  }
268
268
 
269
269
  .dg-sr-only {
@@ -279,7 +279,7 @@
279
279
  }
280
280
 
281
281
  .dg-card--selectable__icon {
282
- @apply text-white;
282
+ @apply text-dg-text;
283
283
  margin-right: 0.5rem;
284
284
  }
285
285
 
@@ -288,7 +288,7 @@
288
288
  }
289
289
 
290
290
  .dg-card--selectable .dg-item-title {
291
- @apply text-base font-semibold text-white;
291
+ @apply text-base font-semibold text-dg-text;
292
292
  display: flex;
293
293
  align-items: center;
294
294
  }
@@ -332,7 +332,7 @@
332
332
 
333
333
  .dg-card--file-upload:has(input[type="checkbox"]:checked) {
334
334
  @apply border-dg-primary border-solid;
335
- background: rgba(19, 239, 149, 0.05);
335
+ background: color-mix(in srgb, var(--dg-primary) 5%, transparent);
336
336
  }
337
337
 
338
338
  .dg-card--file-upload input[type="file"], .dg-card--file-upload input[type="checkbox"] {
@@ -340,7 +340,7 @@
340
340
  }
341
341
 
342
342
  .dg-card--file-upload__icon {
343
- @apply text-white;
343
+ @apply text-dg-text;
344
344
  margin-right: 0.5rem;
345
345
  }
346
346
 
@@ -349,7 +349,7 @@
349
349
  }
350
350
 
351
351
  .dg-card--file-upload .dg-item-title {
352
- @apply text-base font-semibold text-white;
352
+ @apply text-base font-semibold text-dg-text;
353
353
  display: flex;
354
354
  align-items: center;
355
355
  }
@@ -579,12 +579,12 @@
579
579
 
580
580
  .dg-hero__announcement:hover {
581
581
  @apply border-dg-primary -translate-y-0.5;
582
- background-color: rgba(19, 239, 149, 0.1);
583
- box-shadow: 0 0.25rem 0.75rem rgba(19, 239, 149, 0.15);
582
+ background-color: color-mix(in srgb, var(--dg-primary) 10%, transparent);
583
+ box-shadow: 0 0.25rem 0.75rem color-mix(in srgb, var(--dg-primary) 15%, transparent);
584
584
  }
585
585
 
586
586
  .dg-hero__announcement-text {
587
- @apply text-white text-sm font-normal whitespace-nowrap;
587
+ @apply text-dg-text text-sm font-normal whitespace-nowrap;
588
588
  }
589
589
 
590
590
  .dg-hero__announcement-cta {
@@ -662,7 +662,7 @@
662
662
  /* Section Header */
663
663
 
664
664
  .dg-section-heading {
665
- @apply font-semibold font-dg-noto text-2xl text-white mb-6 flex;
665
+ @apply font-semibold font-dg-noto text-2xl text-dg-text mb-6 flex;
666
666
  @apply flex-wrap items-baseline gap-2;
667
667
  }
668
668
 
@@ -687,7 +687,7 @@
687
687
  }
688
688
 
689
689
  .dg-page-heading__title {
690
- @apply font-semibold font-dg-noto text-4xl text-white mb-2 leading-tight;
690
+ @apply font-semibold font-dg-noto text-4xl text-dg-text mb-2 leading-tight;
691
691
  }
692
692
 
693
693
  .dg-page-heading__description {
@@ -729,7 +729,7 @@
729
729
  }
730
730
 
731
731
  .dg-page-headings__title {
732
- @apply text-2xl font-bold text-white sm:truncate sm:text-3xl sm:tracking-tight;
732
+ @apply text-2xl font-bold text-dg-text sm:truncate sm:text-3xl sm:tracking-tight;
733
733
  line-height: 1.75;
734
734
  }
735
735
 
@@ -738,7 +738,7 @@
738
738
  }
739
739
 
740
740
  .dg-page-headings__title {
741
- @apply text-2xl font-bold text-white sm:truncate sm:text-3xl sm:tracking-tight;
741
+ @apply text-2xl font-bold text-dg-text sm:truncate sm:text-3xl sm:tracking-tight;
742
742
  line-height: 1.75;
743
743
  }
744
744
 
@@ -749,7 +749,7 @@
749
749
  /* Card Heading */
750
750
 
751
751
  .dg-card-heading {
752
- @apply font-medium font-dg-noto text-xl text-white mb-3 flex;
752
+ @apply font-medium font-dg-noto text-xl text-dg-text mb-3 flex;
753
753
  @apply flex-wrap items-baseline gap-1.5;
754
754
  }
755
755
 
@@ -764,13 +764,13 @@
764
764
  }
765
765
 
766
766
  .dg-card-headings__title {
767
- @apply text-base font-semibold text-white;
767
+ @apply text-base font-semibold text-dg-text;
768
768
  }
769
769
 
770
770
  /* Item Title */
771
771
 
772
772
  .dg-item-title {
773
- @apply font-medium font-dg-noto text-base text-white mb-1 flex;
773
+ @apply font-medium font-dg-noto text-base text-dg-text mb-1 flex;
774
774
  @apply flex-wrap items-baseline gap-1;
775
775
  }
776
776
 
@@ -824,7 +824,7 @@
824
824
 
825
825
  .dg-input {
826
826
  @apply w-full px-4 py-3 rounded border border-dg-pebble;
827
- @apply bg-dg-charcoal text-white font-dg-sans text-sm outline-none transition-all;
827
+ @apply bg-dg-charcoal text-dg-text font-dg-sans text-sm outline-none transition-all;
828
828
  @apply duration-300 shadow-dg-sm;
829
829
  height: 2.75rem;
830
830
  }
@@ -863,7 +863,7 @@
863
863
 
864
864
  .dg-textarea {
865
865
  @apply w-full px-4 py-3 rounded border border-dg-pebble;
866
- @apply bg-dg-charcoal text-white font-dg-sans text-sm outline-none transition-all;
866
+ @apply bg-dg-charcoal text-dg-text font-dg-sans text-sm outline-none transition-all;
867
867
  @apply duration-300 shadow-dg-sm;
868
868
  min-height: 6.25rem;
869
869
  resize: vertical;
@@ -889,7 +889,7 @@
889
889
  top: 0.125rem;
890
890
  width: 0.3125rem;
891
891
  height: 0.625rem;
892
- border: solid black;
892
+ border: solid var(--color-dg-almost-black);
893
893
  border-width: 0 0.125rem 0.125rem 0;
894
894
  transform: rotate(45deg);
895
895
  }
@@ -942,7 +942,7 @@
942
942
  }
943
943
 
944
944
  .dg-form-label {
945
- @apply text-sm font-medium text-white;
945
+ @apply text-sm font-medium text-dg-text;
946
946
  }
947
947
 
948
948
  .dg-form-error {
@@ -992,7 +992,7 @@
992
992
  }
993
993
 
994
994
  .dg-drag-drop-zone__text {
995
- @apply text-base text-white font-medium;
995
+ @apply text-base text-dg-text font-medium;
996
996
  }
997
997
 
998
998
  .dg-drag-drop-zone__hint {
@@ -1062,7 +1062,7 @@
1062
1062
  }
1063
1063
 
1064
1064
  .dg-processing-title {
1065
- @apply font-medium font-dg-noto text-xl text-white mb-1;
1065
+ @apply font-medium font-dg-noto text-xl text-dg-text mb-1;
1066
1066
  }
1067
1067
 
1068
1068
  /* Modal */
@@ -1143,93 +1143,158 @@
1143
1143
  }
1144
1144
  }
1145
1145
 
1146
- @media (min-width: 768px) {
1147
- .dg-columns {
1146
+ @media (min-width: 1024px) {
1147
+ .dg-columns__wrapper {
1148
1148
  @apply flex-row;
1149
1149
  }
1150
+
1151
+ .dg-column--sidebar-left {
1152
+ @apply w-48 flex-shrink-0;
1153
+ }
1154
+
1155
+ .dg-column--sidebar-left.dg-column--sm {
1156
+ @apply w-64 flex-shrink-0;
1157
+ }
1158
+
1159
+ .dg-column--sidebar-left.dg-column--lg {
1160
+ @apply w-96 flex-shrink-0;
1161
+ }
1162
+
1163
+ .dg-column--sidebar-left.dg-column--xl {
1164
+ @apply w-128 flex-shrink-0;
1165
+ }
1150
1166
  }
1151
1167
 
1152
- @media (min-width: 768px) and (max-width: 1279px) {
1168
+ @media (min-width: 1280px) {
1169
+ .dg-columns {
1170
+ @apply flex-row;
1171
+ }
1172
+
1153
1173
  .dg-column--sidebar-right {
1154
- position: fixed;
1155
- top: 65px;
1156
- right: 0;
1157
- height: calc(100vh - 65px);
1158
1174
  width: 16rem;
1159
1175
  flex-shrink: 0;
1160
- transition: transform 300ms ease;
1161
- z-index: 20;
1162
- box-shadow: -4px 0 16px rgba(0, 0, 0, 0.5);
1163
1176
  }
1164
1177
 
1165
1178
  .dg-column--sidebar-right.dg-column--sm {
1166
1179
  width: 20rem;
1180
+ flex-shrink: 0;
1167
1181
  }
1168
1182
 
1169
1183
  .dg-column--sidebar-right.dg-column--lg {
1170
1184
  width: 24rem;
1185
+ flex-shrink: 0;
1171
1186
  }
1172
1187
 
1173
1188
  .dg-column--sidebar-right.dg-column--xl {
1174
1189
  width: 32rem;
1190
+ flex-shrink: 0;
1175
1191
  }
1192
+ }
1176
1193
 
1177
- .dg-column--sidebar-right.collapsed {
1178
- transform: translateX(calc(100% - 2rem));
1179
- }
1194
+ .dg-columns--fixed {
1195
+ position: relative;
1196
+ height: 100%;
1197
+ --dg-sidebar-width: 18rem;
1198
+ --dg-aside-width: 24rem;
1199
+ }
1200
+
1201
+ .dg-columns--fixed .dg-column--sidebar-left {
1202
+ @apply hidden;
1203
+ }
1204
+
1205
+ .dg-columns--fixed .dg-column--sidebar-right {
1206
+ @apply hidden;
1180
1207
  }
1181
1208
 
1182
1209
  @media (min-width: 1024px) {
1183
- .dg-columns__wrapper {
1184
- @apply flex-row;
1210
+ .dg-columns--fixed .dg-column--sidebar-left {
1211
+ display: flex;
1212
+ flex-direction: column;
1213
+ position: fixed;
1214
+ top: 0;
1215
+ bottom: 0;
1216
+ left: 0;
1217
+ z-index: 50;
1218
+ width: var(--dg-sidebar-width);
1219
+ overflow-y: auto;
1220
+ background: var(--color-dg-almost-black);
1221
+ border-right: 1px solid var(--color-dg-border);
1185
1222
  }
1186
1223
 
1187
- .dg-column--sidebar-left {
1188
- @apply w-48 flex-shrink-0;
1224
+ .dg-columns--fixed .dg-column--main {
1225
+ padding-left: var(--dg-sidebar-width);
1189
1226
  }
1190
1227
 
1191
- .dg-column--sidebar-left.dg-column--sm {
1192
- @apply w-64 flex-shrink-0;
1228
+ .dg-columns--fixed:has(.dg-column--sidebar-left.dg-column--sm) {
1229
+ --dg-sidebar-width: 16rem;
1193
1230
  }
1194
1231
 
1195
- .dg-column--sidebar-left.dg-column--lg {
1196
- @apply w-96 flex-shrink-0;
1232
+ .dg-columns--fixed:has(.dg-column--sidebar-left.dg-column--lg) {
1233
+ --dg-sidebar-width: 24rem;
1197
1234
  }
1198
1235
 
1199
- .dg-column--sidebar-left.dg-column--xl {
1200
- @apply w-128 flex-shrink-0;
1236
+ .dg-columns--fixed:has(.dg-column--sidebar-left.dg-column--xl) {
1237
+ --dg-sidebar-width: 32rem;
1201
1238
  }
1202
1239
  }
1203
1240
 
1204
1241
  @media (min-width: 1280px) {
1205
- .dg-column--sidebar-right {
1206
- width: 16rem;
1207
- flex-shrink: 0;
1242
+ .dg-columns--fixed .dg-column--sidebar-right {
1243
+ display: flex;
1244
+ flex-direction: column;
1245
+ position: fixed;
1246
+ top: 0;
1247
+ bottom: 0;
1248
+ left: var(--dg-sidebar-width);
1249
+ width: var(--dg-aside-width);
1250
+ overflow-y: auto;
1251
+ border-right: 1px solid var(--color-dg-border);
1208
1252
  }
1209
1253
 
1210
- .dg-column--sidebar-right.dg-column--sm {
1211
- width: 20rem;
1212
- flex-shrink: 0;
1254
+ .dg-columns--fixed:has(.dg-column--sidebar-right) .dg-column--main {
1255
+ padding-left: calc(var(--dg-sidebar-width) + var(--dg-aside-width));
1213
1256
  }
1214
1257
 
1215
- .dg-column--sidebar-right.dg-column--lg {
1216
- width: 24rem;
1217
- flex-shrink: 0;
1258
+ .dg-columns--fixed:has(.dg-column--sidebar-right.dg-column--sm) {
1259
+ --dg-aside-width: 20rem;
1218
1260
  }
1219
1261
 
1220
- .dg-column--sidebar-right.dg-column--xl {
1221
- width: 32rem;
1222
- flex-shrink: 0;
1262
+ .dg-columns--fixed:has(.dg-column--sidebar-right.dg-column--lg) {
1263
+ --dg-aside-width: 28rem;
1264
+ }
1265
+
1266
+ .dg-columns--fixed:has(.dg-column--sidebar-right.dg-column--xl) {
1267
+ --dg-aside-width: 32rem;
1268
+ }
1269
+ }
1270
+
1271
+ .dg-columns__mobile-header {
1272
+ @apply flex items-center gap-3 px-4 py-2;
1273
+ position: sticky;
1274
+ top: 0;
1275
+ z-index: 40;
1276
+ background: var(--color-dg-almost-black);
1277
+ border-bottom: 1px solid var(--color-dg-border);
1278
+ }
1279
+
1280
+ @media (min-width: 1024px) {
1281
+ .dg-columns__mobile-header {
1282
+ @apply hidden;
1223
1283
  }
1224
1284
  }
1225
1285
 
1286
+ .dg-columns__sidebar-toggle {
1287
+ @apply inline-flex items-center justify-center -m-2.5 p-2.5;
1288
+ color: var(--color-dg-muted);
1289
+ }
1290
+
1226
1291
  /* Header */
1227
1292
 
1228
1293
  .dg-header {
1229
1294
  @apply w-full;
1230
- background: #050506;
1295
+ background: var(--color-dg-almost-black);
1231
1296
  padding: 1rem 1.5rem;
1232
- border-bottom: 1px solid rgba(255, 255, 255, 0.1);
1297
+ border-bottom: 1px solid color-mix(in srgb, white 10%, transparent);
1233
1298
  }
1234
1299
 
1235
1300
  .dg-header__container {
@@ -1245,7 +1310,7 @@
1245
1310
  }
1246
1311
 
1247
1312
  .dg-header__logo-text {
1248
- @apply font-dg-noto font-bold text-xl text-white;
1313
+ @apply font-dg-noto font-bold text-xl text-dg-text;
1249
1314
  }
1250
1315
 
1251
1316
  .dg-header__nav {
@@ -1257,7 +1322,7 @@
1257
1322
  }
1258
1323
 
1259
1324
  .dg-header__profile-avatar {
1260
- @apply size-8 rounded-full bg-gray-800 outline -outline-offset-1 outline-white/10;
1325
+ @apply size-8 rounded-full bg-dg-charcoal outline -outline-offset-1 outline-white/10;
1261
1326
  }
1262
1327
 
1263
1328
  @media (max-width: 768px) {
@@ -1511,7 +1576,7 @@
1511
1576
  }
1512
1577
 
1513
1578
  .dg-alert__dismiss {
1514
- @apply ml-auto pl-3 shrink-0;
1579
+ @apply ml-auto pl-3 shrink-0 -my-1.5 -mr-1.5;
1515
1580
  }
1516
1581
 
1517
1582
  .dg-alert__dismiss button {
@@ -1525,106 +1590,4 @@
1525
1590
  .dg-alert__dismiss button svg {
1526
1591
  @apply size-5;
1527
1592
  }
1528
-
1529
- /* Comboboxes */
1530
-
1531
- .dg-combobox {
1532
- @apply relative block;
1533
- }
1534
-
1535
- .dg-combobox__label {
1536
- @apply block text-sm font-medium text-white;
1537
- line-height: 1.5rem;
1538
- }
1539
-
1540
- .dg-combobox__wrapper {
1541
- @apply relative mt-2 block;
1542
- }
1543
-
1544
- .dg-combobox__input {
1545
- @apply block w-full rounded-md bg-white/5 py-1.5 pr-12;
1546
- @apply pl-3 text-base text-white outline-1 -outline-offset-1 outline-white/10;
1547
- @apply placeholder:text-dg-slate sm:text-sm;
1548
- line-height: 1.5rem;
1549
- }
1550
-
1551
- .dg-combobox__input:focus {
1552
- @apply outline-2 -outline-offset-2 outline-dg-primary;
1553
- }
1554
-
1555
- .dg-combobox__toggle {
1556
- @apply absolute inset-y-0 right-0 flex items-center rounded-r-md;
1557
- @apply px-2;
1558
- }
1559
-
1560
- .dg-combobox__toggle-icon {
1561
- @apply size-5 text-dg-muted;
1562
- }
1563
-
1564
- .dg-combobox__options {
1565
- @apply max-h-60 overflow-auto rounded-md bg-dg-charcoal py-1 text-base;
1566
- @apply shadow-lg sm:text-sm;
1567
- outline: 1px solid rgba(255, 255, 255, 0.1);
1568
- outline-offset: -1px;
1569
- }
1570
-
1571
- .dg-combobox__option {
1572
- @apply block truncate px-3 py-2 text-dg-platinum select-none;
1573
- @apply cursor-pointer;
1574
- }
1575
-
1576
- .dg-combobox__option:hover {
1577
- @apply bg-dg-primary text-white;
1578
- }
1579
-
1580
- .dg-combobox__option.selected {
1581
- @apply bg-dg-primary text-white;
1582
- }
1583
-
1584
- .dg-combobox__option-text {
1585
- @apply block truncate;
1586
- }
1587
-
1588
- .dg-combobox__check {
1589
- @apply absolute inset-y-0 right-0 flex items-center pr-4;
1590
- @apply text-white;
1591
- }
1592
-
1593
- .dg-combobox__check-icon {
1594
- @apply size-5;
1595
- }
1596
-
1597
- .dg-combobox--with-check .dg-combobox__option {
1598
- @apply relative pr-9;
1599
- }
1600
-
1601
- .dg-combobox--with-check .dg-combobox__option.selected .dg-combobox__check {
1602
- @apply flex;
1603
- }
1604
-
1605
- .dg-combobox--with-avatar .dg-combobox__option {
1606
- @apply flex items-center;
1607
- gap: 0.5rem;
1608
- }
1609
-
1610
- .dg-combobox__avatar {
1611
- @apply size-6 shrink-0 rounded-full;
1612
- }
1613
-
1614
- .dg-combobox--with-status .dg-combobox__option {
1615
- @apply flex items-center;
1616
- gap: 0.5rem;
1617
- }
1618
-
1619
- .dg-combobox__status {
1620
- @apply inline-block size-2 shrink-0 rounded-full;
1621
- }
1622
-
1623
- .dg-combobox__status--online {
1624
- @apply bg-dg-success;
1625
- }
1626
-
1627
- .dg-combobox__status--offline {
1628
- @apply bg-dg-muted;
1629
- }
1630
1593
  }
@@ -9,7 +9,7 @@
9
9
 
10
10
  /* Source scanning for class detection */
11
11
  @source "./deepgram.css";
12
- @source inline("collapsed selected visible");
12
+ @source inline("visible");
13
13
 
14
14
  /* Dark mode support */
15
15
  @variant dark (&.dark);
@@ -18,22 +18,24 @@
18
18
  @theme {
19
19
  --color-dg-primary: var(--dg-primary, #13ef95);
20
20
  --color-dg-secondary: var(--dg-secondary, #149afb);
21
- --color-dg-almost-black: #050506;
22
- --color-dg-background: #0b0b0c;
23
- --color-dg-charcoal: #1a1a1f;
24
- --color-dg-translucent: rgba(0, 0, 0, 0.5);
25
- --color-dg-border: #2c2c33;
26
- --color-dg-pebble: #4e4e52;
27
- --color-dg-slate: #949498;
28
- --color-dg-text: #fbfbff;
29
- --color-dg-fog: #edede2;
30
- --color-dg-platinum: #e1e1e5;
31
- --color-dg-muted: #949498;
32
- --color-dg-success: #12b76a;
33
- --color-dg-warning: #fec84b;
34
- --color-dg-danger: #f04438;
35
- --color-dg-gradient-start: #008fc1;
36
- --color-dg-gradient-end: #00f099;
21
+ --color-dg-almost-black: light-dark(#f8f9fa, #050506);
22
+ --color-dg-background: light-dark(#ffffff, #0b0b0c);
23
+ --color-dg-charcoal: light-dark(#f3f4f6, #1a1a1f);
24
+ --color-dg-solid: light-dark(#000000, #ffffff);
25
+ --color-dg-translucent: light-dark(rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0.5));
26
+ --color-dg-border: light-dark(#d1d5db, #2c2c33);
27
+ --color-dg-pebble: light-dark(#9ca3af, #4e4e52);
28
+ --color-dg-slate: light-dark(#6b7280, #949498);
29
+ --color-dg-text: light-dark(#111827, #fbfbff);
30
+ --color-dg-fog: light-dark(#1f2937, #edede2);
31
+ --color-dg-platinum: light-dark(#374151, #e1e1e5);
32
+ --color-dg-muted: light-dark(#6b7280, #949498);
33
+ --color-dg-on-solid: light-dark(#ffffff, #000000);
34
+ --color-dg-success: light-dark(#15803d, #12b76a);
35
+ --color-dg-warning: light-dark(#a16207, #fec84b);
36
+ --color-dg-danger: light-dark(#b91c1c, #f04438);
37
+ --color-dg-gradient-start: light-dark(#0369a1, #008fc1);
38
+ --color-dg-gradient-end: light-dark(#059669, #00f099);
37
39
 
38
40
  --font-dg-sans: "Inter", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
39
41
  --font-dg-noto: "Noto Sans", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
@@ -60,10 +62,14 @@
60
62
  /* Base styles */
61
63
  @layer base {
62
64
  :root {
65
+ color-scheme: light dark;
63
66
  --dg-base-font-size: 16px;
64
67
  --dg-border-width: 0.125rem;
65
- --dg-primary: #13ef95;
66
- --dg-secondary: #149afb;
68
+ --dg-primary: light-dark(#047857, #13ef95);
69
+ --dg-secondary: light-dark(#0369a1, #149afb);
70
+ --dg-syntax-keyword: #f97583;
71
+ --dg-syntax-variable: #79b8ff;
72
+ --dg-syntax-function: #b392f0;
67
73
  }
68
74
 
69
75
  html {
@@ -141,13 +147,13 @@
141
147
 
142
148
  /* Custom utilities */
143
149
  @utility dg-gradient-border {
144
- background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 0, 0)), linear-gradient(90deg, color-mix(in srgb, var(--dg-secondary, #149afb) 70%, #000), color-mix(in srgb, var(--dg-primary, #13ef95) 70%, #000), color-mix(in srgb, var(--dg-secondary, #149afb) 70%, #000), color-mix(in srgb, var(--dg-primary, #13ef95) 70%, #000));
150
+ background-image: linear-gradient(var(--color-dg-on-solid), var(--color-dg-on-solid)), linear-gradient(90deg, color-mix(in srgb, var(--dg-secondary, #149afb) 70%, black), color-mix(in srgb, var(--dg-primary, #13ef95) 70%, black), color-mix(in srgb, var(--dg-secondary, #149afb) 70%, black), color-mix(in srgb, var(--dg-primary, #13ef95) 70%, black));
145
151
  background-origin: padding-box, border-box;
146
152
  background-clip: padding-box, border-box;
147
153
  background-repeat: no-repeat;
148
154
  background-position: center;
149
155
  background-size: 100% 100%;
150
- background-color: rgb(0, 0, 0);
156
+ background-color: var(--color-dg-on-solid);
151
157
  }
152
158
 
153
159
  @utility dg-bg-reset {
@@ -164,5 +170,5 @@
164
170
  }
165
171
 
166
172
  @utility dg-shadow-subtle {
167
- box-shadow: rgba(38, 44, 52, 0.05) 0 0.0625rem 0.125rem;
173
+ box-shadow: color-mix(in srgb, var(--color-dg-pebble) 5%, transparent) 0 0.0625rem 0.125rem;
168
174
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@deepgram/styles",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "Tailwind-based design system and styles library for Deepgram design system and demos",
5
5
  "author": "Deepgram",
6
- "license": "MIT",
6
+ "license": "ISC",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/deepgram/dx-design.git",
@@ -49,6 +49,42 @@
49
49
  },
50
50
  "./design-system": {
51
51
  "default": "./design-system.yaml"
52
+ },
53
+ "./logo/wordmark": {
54
+ "default": "./dist/logo/wordmark.svg"
55
+ },
56
+ "./logo/wordmark-light": {
57
+ "default": "./dist/logo/wordmark-light.svg"
58
+ },
59
+ "./logo/wordmark-dark": {
60
+ "default": "./dist/logo/wordmark-dark.svg"
61
+ },
62
+ "./logo/lettermark": {
63
+ "default": "./dist/logo/lettermark.svg"
64
+ },
65
+ "./logo/lettermark-light": {
66
+ "default": "./dist/logo/lettermark-light.svg"
67
+ },
68
+ "./logo/lettermark-dark": {
69
+ "default": "./dist/logo/lettermark-dark.svg"
70
+ },
71
+ "./logo/lettermark-square": {
72
+ "default": "./dist/logo/lettermark-square.svg"
73
+ },
74
+ "./logo/lettermark-square-light": {
75
+ "default": "./dist/logo/lettermark-square-light.svg"
76
+ },
77
+ "./logo/lettermark-square-dark": {
78
+ "default": "./dist/logo/lettermark-square-dark.svg"
79
+ },
80
+ "./logo/lettermark-circle": {
81
+ "default": "./dist/logo/lettermark-circle.svg"
82
+ },
83
+ "./logo/lettermark-circle-light": {
84
+ "default": "./dist/logo/lettermark-circle-light.svg"
85
+ },
86
+ "./logo/lettermark-circle-dark": {
87
+ "default": "./dist/logo/lettermark-circle-dark.svg"
52
88
  }
53
89
  },
54
90
  "publishConfig": {