lookbook 1.3.1 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/lookbook/css/themes/blue.css +3 -1
  3. data/app/assets/lookbook/css/themes/indigo.css +3 -1
  4. data/app/assets/lookbook/css/themes/zinc.css +3 -1
  5. data/app/components/lookbook/code/component.css +2 -2
  6. data/app/components/lookbook/code/component.html.erb +2 -1
  7. data/app/components/lookbook/code/component.rb +13 -2
  8. data/app/components/lookbook/code/highlight_github.css +406 -0
  9. data/app/components/lookbook/nav/item/component.html.erb +1 -1
  10. data/app/components/lookbook/params/editor/component.html.erb +2 -2
  11. data/app/components/lookbook/params/field/component.css +3 -3
  12. data/app/components/lookbook/split_layout/component.html.erb +1 -1
  13. data/app/components/lookbook/viewport/component.css +1 -1
  14. data/app/components/lookbook/viewport/component.html.erb +1 -1
  15. data/app/views/lookbook/inspector/panels/_notes.html.erb +2 -2
  16. data/app/views/lookbook/inspector/panels/_params.html.erb +1 -1
  17. data/config/app.yml +3 -0
  18. data/lib/lookbook/stores/config_store.rb +4 -0
  19. data/lib/lookbook/version.rb +1 -1
  20. data/public/lookbook-assets/css/lookbook.css +404 -211
  21. data/public/lookbook-assets/css/lookbook.css.map +1 -1
  22. data/public/lookbook-assets/css/themes/blue.css +3 -1
  23. data/public/lookbook-assets/css/themes/blue.css.map +1 -1
  24. data/public/lookbook-assets/css/themes/indigo.css +3 -1
  25. data/public/lookbook-assets/css/themes/indigo.css.map +1 -1
  26. data/public/lookbook-assets/css/themes/zinc.css +3 -1
  27. data/public/lookbook-assets/css/themes/zinc.css.map +1 -1
  28. metadata +2 -2
  29. data/app/components/lookbook/code/highlight_github_light.css +0 -217
@@ -1,3 +1,3 @@
1
1
  module Lookbook
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.3"
3
3
  end
@@ -1415,204 +1415,6 @@ pre[class*="language-"] {
1415
1415
  margin-bottom: 0;
1416
1416
  }
1417
1417
 
1418
- .theme-github-light .highlight .hll {
1419
- background-color: #f8f8f8;
1420
- border: 1px solid #ccc;
1421
- border-radius: 3px;
1422
- padding: 6px 10px;
1423
- }
1424
-
1425
- .theme-github-light .highlight .c {
1426
- color: #998;
1427
- font-style: italic;
1428
- }
1429
-
1430
- .theme-github-light .highlight .k, .theme-github-light .highlight .o {
1431
- font-weight: bold;
1432
- }
1433
-
1434
- .theme-github-light .highlight .cm {
1435
- color: #998;
1436
- font-style: italic;
1437
- }
1438
-
1439
- .theme-github-light .highlight .cp {
1440
- color: #999;
1441
- font-weight: bold;
1442
- }
1443
-
1444
- .theme-github-light .highlight .c1 {
1445
- color: #998;
1446
- font-style: italic;
1447
- }
1448
-
1449
- .theme-github-light .highlight .cs {
1450
- color: #999;
1451
- font-style: italic;
1452
- font-weight: bold;
1453
- }
1454
-
1455
- .theme-github-light .highlight .gd {
1456
- color: #000;
1457
- background-color: #fdd;
1458
- }
1459
-
1460
- .theme-github-light .highlight .gd .x {
1461
- color: #000;
1462
- background-color: #faa;
1463
- }
1464
-
1465
- .theme-github-light .highlight .ge {
1466
- font-style: italic;
1467
- }
1468
-
1469
- .theme-github-light .highlight .gr {
1470
- color: #a00;
1471
- }
1472
-
1473
- .theme-github-light .highlight .gh {
1474
- color: #999;
1475
- }
1476
-
1477
- .theme-github-light .highlight .gi {
1478
- color: #000;
1479
- background-color: #dfd;
1480
- }
1481
-
1482
- .theme-github-light .highlight .gi .x {
1483
- color: #000;
1484
- background-color: #afa;
1485
- }
1486
-
1487
- .theme-github-light .highlight .go {
1488
- color: #888;
1489
- }
1490
-
1491
- .theme-github-light .highlight .gp {
1492
- color: #555;
1493
- }
1494
-
1495
- .theme-github-light .highlight .gs {
1496
- font-weight: bold;
1497
- }
1498
-
1499
- .theme-github-light .highlight .gu {
1500
- color: purple;
1501
- font-weight: bold;
1502
- }
1503
-
1504
- .theme-github-light .highlight .gt {
1505
- color: #a00;
1506
- }
1507
-
1508
- .theme-github-light .highlight .kc, .theme-github-light .highlight .kd, .theme-github-light .highlight .kn, .theme-github-light .highlight .kp, .theme-github-light .highlight .kr {
1509
- font-weight: bold;
1510
- }
1511
-
1512
- .theme-github-light .highlight .kt {
1513
- color: #458;
1514
- font-weight: bold;
1515
- }
1516
-
1517
- .theme-github-light .highlight .m {
1518
- color: #099;
1519
- }
1520
-
1521
- .theme-github-light .highlight .s {
1522
- color: #d14;
1523
- }
1524
-
1525
- .theme-github-light .highlight .\!s {
1526
- color: #d14 !important;
1527
- }
1528
-
1529
- .theme-github-light .highlight .n {
1530
- color: #333;
1531
- }
1532
-
1533
- .theme-github-light .highlight .na {
1534
- color: teal;
1535
- }
1536
-
1537
- .theme-github-light .highlight .nb {
1538
- color: #0086b3;
1539
- }
1540
-
1541
- .theme-github-light .highlight .nc {
1542
- color: #458;
1543
- font-weight: bold;
1544
- }
1545
-
1546
- .theme-github-light .highlight .no {
1547
- color: teal;
1548
- }
1549
-
1550
- .theme-github-light .highlight .ni {
1551
- color: purple;
1552
- }
1553
-
1554
- .theme-github-light .highlight .ne, .theme-github-light .highlight .nf {
1555
- color: #900;
1556
- font-weight: bold;
1557
- }
1558
-
1559
- .theme-github-light .highlight .nn {
1560
- color: #555;
1561
- }
1562
-
1563
- .theme-github-light .highlight .nt {
1564
- color: navy;
1565
- }
1566
-
1567
- .theme-github-light .highlight .nv {
1568
- color: teal;
1569
- }
1570
-
1571
- .theme-github-light .highlight .ow {
1572
- font-weight: bold;
1573
- }
1574
-
1575
- .theme-github-light .highlight .w {
1576
- color: #bbb;
1577
- }
1578
-
1579
- .theme-github-light .highlight .mf, .theme-github-light .highlight .mh, .theme-github-light .highlight .mi, .theme-github-light .highlight .mo {
1580
- color: #099;
1581
- }
1582
-
1583
- .theme-github-light .highlight .sb, .theme-github-light .highlight .sc, .theme-github-light .highlight .sd, .theme-github-light .highlight .s2, .theme-github-light .highlight .se, .theme-github-light .highlight .sh, .theme-github-light .highlight .si, .theme-github-light .highlight .sx {
1584
- color: #d14;
1585
- }
1586
-
1587
- .theme-github-light .highlight .sr {
1588
- color: #009926;
1589
- }
1590
-
1591
- .theme-github-light .highlight .s1 {
1592
- color: #d14;
1593
- }
1594
-
1595
- .theme-github-light .highlight .ss {
1596
- color: #990073;
1597
- }
1598
-
1599
- .theme-github-light .highlight .bp {
1600
- color: #999;
1601
- }
1602
-
1603
- .theme-github-light .highlight .vc, .theme-github-light .highlight .vg, .theme-github-light .highlight .vi {
1604
- color: teal;
1605
- }
1606
-
1607
- .theme-github-light .highlight .il {
1608
- color: #099;
1609
- }
1610
-
1611
- .theme-github-light .highlight .gc {
1612
- color: #999;
1613
- background-color: #eaf2f5;
1614
- }
1615
-
1616
1418
  [data-component="code"] {
1617
1419
  padding-left: 1rem;
1618
1420
  padding-right: 1rem;
@@ -1650,14 +1452,9 @@ pre[class*="language-"] {
1650
1452
  z-index: 10;
1651
1453
  height: 100%;
1652
1454
  user-select: none;
1455
+ text-align: right;
1653
1456
  border-style: dashed;
1654
1457
  border-right-width: 1px;
1655
- border-color: var(--lookbook-divider);
1656
- --tw-bg-opacity: 1;
1657
- background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1658
- text-align: right;
1659
- --tw-text-opacity: 1;
1660
- color: rgb(156 163 175 / var(--tw-text-opacity));
1661
1458
  padding: .75rem;
1662
1459
  }
1663
1460
 
@@ -1732,9 +1529,8 @@ pre[class*="language-"] {
1732
1529
  }
1733
1530
 
1734
1531
  [data-component="params-editor"] table:not(.linear) thead tr {
1735
- --tw-border-opacity: 1;
1736
1532
  border-bottom-width: 1px;
1737
- border-color: rgb(209 213 219 / var(--tw-border-opacity));
1533
+ border-color: var(--lookbook-divider);
1738
1534
  }
1739
1535
 
1740
1536
  [data-component="params-editor"] table:not(.linear) thead th {
@@ -1753,9 +1549,8 @@ pre[class*="language-"] {
1753
1549
  }
1754
1550
 
1755
1551
  [data-component="params-editor"] table:not(.linear) tbody tr + tr td {
1756
- --tw-border-opacity: 1;
1757
1552
  border-top-width: 1px;
1758
- border-color: rgb(229 231 235 / var(--tw-border-opacity));
1553
+ border-color: var(--lookbook-divider);
1759
1554
  }
1760
1555
 
1761
1556
  [data-component="params-editor"] table:not(.linear) tbody td {
@@ -1780,9 +1575,8 @@ pre[class*="language-"] {
1780
1575
  }
1781
1576
 
1782
1577
  [data-component="params-editor"] table.linear tr:not(:last-child) {
1783
- --tw-border-opacity: 1;
1784
1578
  border-bottom-width: 1px;
1785
- border-color: rgb(229 231 235 / var(--tw-border-opacity));
1579
+ border-color: var(--lookbook-divider);
1786
1580
  }
1787
1581
 
1788
1582
  [data-component="params-editor"] table.linear tr > :not([hidden]) ~ :not([hidden]) {
@@ -1866,7 +1660,7 @@ pre[class*="language-"] {
1866
1660
  }
1867
1661
 
1868
1662
  [data-component="viewport"] .resize-handle:hover {
1869
- background-color: var(--lookbook-draggable-hint);
1663
+ background-color: var(--lookbook-viewport-handle-hover);
1870
1664
  --tw-bg-opacity: .2;
1871
1665
  }
1872
1666
 
@@ -2744,6 +2538,10 @@ input[type="color"]::-webkit-color-swatch {
2744
2538
  background-color: var(--lookbook-nav-item-active) !important;
2745
2539
  }
2746
2540
 
2541
+ .bg-lookbook-params-editor-bg {
2542
+ background-color: var(--lookbook-params-editor-bg);
2543
+ }
2544
+
2747
2545
  .p-4 {
2748
2546
  padding: 1rem;
2749
2547
  }
@@ -3351,6 +3149,401 @@ input[type="color"]::-webkit-color-swatch {
3351
3149
  border-right-color: #fff;
3352
3150
  }
3353
3151
 
3152
+ .theme-github {
3153
+ --dark-bg: #111;
3154
+ --dark-gray-1: #404040;
3155
+ --dark-gray-2: #d0d0d0;
3156
+ --dark-gray-3: #ccc;
3157
+ --dark-gray-4: #777;
3158
+ --dark-gray-5: #aaa;
3159
+ --dark-gray-6: #bbb;
3160
+ --dark-gray-7: #666;
3161
+ --dark-blue-1: #3677a9;
3162
+ --dark-blue-2: #24909d;
3163
+ --dark-blue-3: #447fcf;
3164
+ --dark-blue-4: #098;
3165
+ --dark-red-1: #a61717;
3166
+ --dark-red-2: #311;
3167
+ --dark-red-3: #e50808;
3168
+ --dark-red-4: #520000;
3169
+ --dark-red-5: #d22323;
3170
+ --dark-red-6: #cd2828;
3171
+ --dark-yellow-1: #e9b96e;
3172
+ --dark-yellow-2: orange;
3173
+ --dark-orange: #d2691e;
3174
+ --dark-white: #fff;
3175
+ --dark-green-1: #589819;
3176
+ --dark-green-2: #6ab825;
3177
+ --dark-green-3: #4ca;
3178
+ --light-bg: #fff;
3179
+ --light-gray-1: #f8f8f8;
3180
+ --light-gray-2: #27272a;
3181
+ --light-gray-3: #ccc;
3182
+ --light-gray-4: #888;
3183
+ --light-gray-5: #999;
3184
+ --light-gray-6: #555;
3185
+ --light-gray-7: #bbb;
3186
+ --light-yellow-1: #998;
3187
+ --light-red-1: #a61717;
3188
+ --light-red-2: #e3d2d2;
3189
+ --light-red-3: #d14;
3190
+ --light-red-4: #fdd;
3191
+ --light-red-5: #a00;
3192
+ --light-red-6: #900;
3193
+ --light-purple-1: purple;
3194
+ --light-purple-2: #990073;
3195
+ --light-black: #000;
3196
+ --light-green-1: #dfd;
3197
+ --light-green-2: #009926;
3198
+ --light-blue-1: #458;
3199
+ --light-blue-2: #099;
3200
+ --light-blue-3: teal;
3201
+ --light-blue-4: #0086b3;
3202
+ --light-blue-5: #3c5d5d;
3203
+ --light-blue-6: navy;
3204
+ --hl-bg: var(--light-bg);
3205
+ --hl-hll-bg: var(--light-gray-1);
3206
+ --hl-border: var(--light-gray-3);
3207
+ --hl-line-number: var(--light-gray-2);
3208
+ --hl-comment: var(--light-yellow-1);
3209
+ --hl-comment-preproc: var(--light-gray-5);
3210
+ --hl-comment-special-fg: var(--light-gray-5);
3211
+ --hl-comment-special-bg: transparent;
3212
+ --hl-error-fg: var(--light-red-1);
3213
+ --hl-error-bg: var(--light-red-2);
3214
+ --hl-subtle-fg: var(--light-gray-2);
3215
+ --hl-entity: var(--light-purple-1);
3216
+ --hl-keyword: var(--light-black);
3217
+ --hl-output: var(--light-gray-4);
3218
+ --hl-operator: var(--light-black);
3219
+ --hl-punctuation: var(--light-gray-6);
3220
+ --hl-string: var(--light-red-3);
3221
+ --hl-string-other: var(--light-red-3);
3222
+ --hl-string-regex: var(--light-green-2);
3223
+ --hl-string-symbol: var(--light-purple-2);
3224
+ --hl-deleted-fg: var(--light-black);
3225
+ --hl-deleted-bg: var(--light-red-4);
3226
+ --hl-danger: var(--light-red-5);
3227
+ --hl-heading: var(--light-gray-5);
3228
+ --hl-inserted-fg: var(--light-black);
3229
+ --hl-inserted-bg: var(--light-green-1);
3230
+ --hl-prompt: var(--light-gray-6);
3231
+ --hl-subheading: var(--light-purple-1);
3232
+ --hl-keyword-crude: var(--light-black);
3233
+ --hl-keyword-subtle: var(--light-blue-1);
3234
+ --hl-number: var(--light-blue-2);
3235
+ --hl-attribute: var(--light-blue-3);
3236
+ --hl-builtin: var(--light-blue-4);
3237
+ --hl-builtin-pseudo: var(--light-gray-5);
3238
+ --hl-class: var(--light-blue-1);
3239
+ --hl-variable: var(--light-blue-3);
3240
+ --hl-decorator: var(--light-blue-5);
3241
+ --hl-exception: var(--light-red-6);
3242
+ --hl-function: var(--light-red-6);
3243
+ --hl-namespace: var(--light-gray-6);
3244
+ --hl-tag: var(--light-blue-6);
3245
+ --hl-word: var(--light-black);
3246
+ --hl-whitespace: var(--light-gray-7);
3247
+ }
3248
+
3249
+ .theme-github.dark {
3250
+ --hl-bg: var(--dark-bg);
3251
+ --hl-hll-bg: var(--dark-gray-1);
3252
+ --hl-border: var(--dark-gray-4);
3253
+ --hl-line-number: var(--dark-gray-2);
3254
+ --hl-comment: var(--dark-blue-1);
3255
+ --hl-comment-preproc: var(--dark-orange);
3256
+ --hl-comment-special-fg: var(--dark-red-3);
3257
+ --hl-comment-special-bg: var(--dark-red-4);
3258
+ --hl-error-fg: var(--dark-red-1);
3259
+ --hl-error-bg: var(--dark-red-2);
3260
+ --hl-subtle-fg: var(--dark-gray-2);
3261
+ --hl-entity: var(--dark-gray-2);
3262
+ --hl-keyword: var(--dark-gray-3);
3263
+ --hl-output: var(--dark-gray-3);
3264
+ --hl-operator: var(--dark-gray-4);
3265
+ --hl-punctuation: var(--dark-yellow-1);
3266
+ --hl-string: var(--dark-orange);
3267
+ --hl-string-other: var(--dark-yellow-2);
3268
+ --hl-string-regex: var(--dark-red-6);
3269
+ --hl-string-symbol: var(--dark-orange);
3270
+ --hl-deleted-fg: var(--dark-red-5);
3271
+ --hl-deleted-bg: transparent;
3272
+ --hl-danger: var(--dark-red-5);
3273
+ --hl-heading: var(--dark-white);
3274
+ --hl-inserted-fg: var(--dark-green-1);
3275
+ --hl-inserted-bg: transparent;
3276
+ --hl-prompt: var(--dark-gray-5);
3277
+ --hl-subheading: var(--dark-white);
3278
+ --hl-keyword-crude: var(--dark-green-2);
3279
+ --hl-keyword-subtle: var(--dark-green-2);
3280
+ --hl-number: var(--dark-red-6);
3281
+ --hl-attribute: var(--dark-gray-6);
3282
+ --hl-builtin: var(--dark-blue-2);
3283
+ --hl-builtin-pseudo: var(--dark-blue-2);
3284
+ --hl-class: var(--dark-blue-3);
3285
+ --hl-variable: var(--dark-green-3);
3286
+ --hl-decorator: var(--dark-yellow-2);
3287
+ --hl-exception: var(--dark-gray-6);
3288
+ --hl-function: var(--dark-blue-4);
3289
+ --hl-namespace: var(--dark-blue-3);
3290
+ --hl-tag: var(--dark-green-2);
3291
+ --hl-word: var(--dark-green-2);
3292
+ --hl-whitespace: var(--dark-gray-7);
3293
+ }
3294
+
3295
+ .theme-github {
3296
+ background-color: var(--hl-bg);
3297
+ }
3298
+
3299
+ .theme-github .line-numbers {
3300
+ background-color: var(--hl-bg);
3301
+ border-color: var(--hl-border);
3302
+ color: var(--hl-line-number);
3303
+ }
3304
+
3305
+ .theme-github .highlight .hll {
3306
+ background-color: var(--hl-hll-bg);
3307
+ }
3308
+
3309
+ .theme-github .highlight .c {
3310
+ color: var(--hl-comment);
3311
+ font-style: italic;
3312
+ }
3313
+
3314
+ .theme-github .highlight .err {
3315
+ color: var(--hl-error-fg);
3316
+ background-color: var(--hl-error-bg);
3317
+ }
3318
+
3319
+ .theme-github .highlight .g {
3320
+ color: var(--hl-subtle-fg);
3321
+ }
3322
+
3323
+ .theme-github .highlight .k {
3324
+ color: var(--hl-keyword);
3325
+ font-weight: bold;
3326
+ }
3327
+
3328
+ .theme-github .highlight .l {
3329
+ color: var(--hl-subtle-fg);
3330
+ }
3331
+
3332
+ .theme-github .highlight .n, .theme-github .highlight .h {
3333
+ color: var(--hl-keyword);
3334
+ }
3335
+
3336
+ .theme-github .highlight .o {
3337
+ color: var(--hl-operator);
3338
+ font-weight: bold;
3339
+ }
3340
+
3341
+ .theme-github .highlight .x {
3342
+ color: var(--hl-subtle-fg);
3343
+ }
3344
+
3345
+ .theme-github .highlight .p {
3346
+ color: var(--hl-punctuation);
3347
+ }
3348
+
3349
+ .theme-github .highlight .cm {
3350
+ color: var(--hl-comment);
3351
+ font-style: italic;
3352
+ }
3353
+
3354
+ .theme-github .highlight .cp {
3355
+ color: var(--hl-comment-preproc);
3356
+ font-weight: bold;
3357
+ }
3358
+
3359
+ .theme-github .highlight .c1 {
3360
+ color: var(--hl-comment);
3361
+ font-style: italic;
3362
+ }
3363
+
3364
+ .theme-github .highlight .cs {
3365
+ color: var(--hl-comment-special-fg);
3366
+ background-color: var(--hl-comment-special-bg);
3367
+ font-style: italic;
3368
+ font-weight: bold;
3369
+ }
3370
+
3371
+ .theme-github .highlight .gd {
3372
+ color: var(--hl-deleted-fg);
3373
+ background-color: var(--hl-deleted-bg);
3374
+ }
3375
+
3376
+ .theme-github .highlight .ge {
3377
+ color: var(--hl-subtle-fg);
3378
+ font-style: italic;
3379
+ }
3380
+
3381
+ .theme-github .highlight .gr {
3382
+ color: var(--hl-danger);
3383
+ }
3384
+
3385
+ .theme-github .highlight .gh {
3386
+ color: var(--hl-heading);
3387
+ }
3388
+
3389
+ .theme-github .highlight .gi {
3390
+ color: var(--hl-inserted-fg);
3391
+ background-color: var(--hl-inserted-bg);
3392
+ }
3393
+
3394
+ .theme-github .highlight .go {
3395
+ color: var(--hl-output);
3396
+ }
3397
+
3398
+ .theme-github .highlight .gp {
3399
+ color: var(--hl-prompt);
3400
+ }
3401
+
3402
+ .theme-github .highlight .gs {
3403
+ color: var(--hl-subtle-fg);
3404
+ font-weight: bold;
3405
+ }
3406
+
3407
+ .theme-github .highlight .gu {
3408
+ color: var(--hl-subheading);
3409
+ font-weight: bold;
3410
+ }
3411
+
3412
+ .theme-github .highlight .gt {
3413
+ color: var(--hl-danger);
3414
+ }
3415
+
3416
+ .theme-github .highlight .kc, .theme-github .highlight .kd, .theme-github .highlight .kn, .theme-github .highlight .kp, .theme-github .highlight .kr {
3417
+ color: var(--hl-keyword-crude);
3418
+ font-weight: bold;
3419
+ }
3420
+
3421
+ .theme-github .highlight .kt {
3422
+ color: var(--hl-keyword-subtle);
3423
+ font-weight: bold;
3424
+ }
3425
+
3426
+ .theme-github .highlight .ld {
3427
+ color: var(--hl-subtle-fg);
3428
+ }
3429
+
3430
+ .theme-github .highlight .m {
3431
+ color: var(--hl-number);
3432
+ }
3433
+
3434
+ .theme-github .highlight .s {
3435
+ color: var(--hl-string);
3436
+ }
3437
+
3438
+ .theme-github .highlight .na {
3439
+ color: var(--hl-attribute);
3440
+ }
3441
+
3442
+ .theme-github .highlight .nb {
3443
+ color: var(--hl-builtin);
3444
+ }
3445
+
3446
+ .theme-github .highlight .nc {
3447
+ color: var(--hl-class);
3448
+ font-weight: bold;
3449
+ }
3450
+
3451
+ .theme-github .highlight .no {
3452
+ color: var(--hl-variable);
3453
+ }
3454
+
3455
+ .theme-github .highlight .nd {
3456
+ color: var(--hl-decorator);
3457
+ }
3458
+
3459
+ .theme-github .highlight .ni {
3460
+ color: var(--hl-entity);
3461
+ }
3462
+
3463
+ .theme-github .highlight .ne {
3464
+ color: var(--hl-exception);
3465
+ font-weight: bold;
3466
+ }
3467
+
3468
+ .theme-github .highlight .nf {
3469
+ color: var(--hl-function);
3470
+ font-weight: bold;
3471
+ }
3472
+
3473
+ .theme-github .highlight .nl {
3474
+ color: var(--hl-subtle-fg);
3475
+ }
3476
+
3477
+ .theme-github .highlight .nn {
3478
+ color: var(--hl-namespace);
3479
+ }
3480
+
3481
+ .theme-github .highlight .nx, .theme-github .highlight .py {
3482
+ color: var(--hl-subtle-fg);
3483
+ }
3484
+
3485
+ .theme-github .highlight .nt {
3486
+ color: var(--hl-tag);
3487
+ }
3488
+
3489
+ .theme-github .highlight .nv {
3490
+ color: var(--hl-variable);
3491
+ }
3492
+
3493
+ .theme-github .highlight .ow {
3494
+ color: var(--hl-word);
3495
+ font-weight: bold;
3496
+ }
3497
+
3498
+ .theme-github .highlight .w {
3499
+ color: var(--hl-whitespace);
3500
+ }
3501
+
3502
+ .theme-github .highlight .mf, .theme-github .highlight .mh, .theme-github .highlight .mi, .theme-github .highlight .mo {
3503
+ color: var(--hl-number);
3504
+ }
3505
+
3506
+ .theme-github .highlight .sb, .theme-github .highlight .sc, .theme-github .highlight .sd, .theme-github .highlight .s2, .theme-github .highlight .se, .theme-github .highlight .sh, .theme-github .highlight .si {
3507
+ color: var(--hl-string);
3508
+ }
3509
+
3510
+ .theme-github .highlight .sx {
3511
+ color: var(--hl-string-other);
3512
+ }
3513
+
3514
+ .theme-github .highlight .sr {
3515
+ color: var(--hl-string-regex);
3516
+ }
3517
+
3518
+ .theme-github .highlight .s1 {
3519
+ color: var(--hl-string);
3520
+ }
3521
+
3522
+ .theme-github .highlight .ss {
3523
+ color: var(--hl-string-symbol);
3524
+ }
3525
+
3526
+ .theme-github .highlight .bp {
3527
+ color: var(--hl-builtin-pseudo);
3528
+ }
3529
+
3530
+ .theme-github .highlight .vc, .theme-github .highlight .vg, .theme-github .highlight .vi {
3531
+ color: var(--hl-variable);
3532
+ }
3533
+
3534
+ .theme-github .highlight .il {
3535
+ color: var(--hl-number);
3536
+ }
3537
+
3538
+ .theme-github .highlight .line-number {
3539
+ -webkit-user-select: none;
3540
+ -moz-user-select: none;
3541
+ }
3542
+
3543
+ .theme-github .highlight .line-number::selection {
3544
+ background-color: #0000;
3545
+ }
3546
+
3354
3547
  .hover\:bg-lookbook-draggable-hint:hover {
3355
3548
  background-color: var(--lookbook-draggable-hint);
3356
3549
  }