lookbook 2.0.0.beta.2 → 2.0.0.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/lookbook/css/fonts.css +33 -0
- data/app/assets/lookbook/css/lookbook.css +7 -0
- data/app/assets/lookbook/css/themes/blue.css +4 -1
- data/app/assets/lookbook/css/themes/green.css +4 -1
- data/app/assets/lookbook/css/themes/indigo.css +4 -1
- data/app/assets/lookbook/css/themes/rose.css +4 -1
- data/app/assets/lookbook/css/themes/zinc.css +4 -1
- data/app/assets/lookbook/fonts/Inter-italic.var.woff2 +0 -0
- data/app/assets/lookbook/fonts/Inter-roman.var.woff2 +0 -0
- data/app/assets/lookbook/fonts/SourceCodeVariable-Italic.ttf.woff2 +0 -0
- data/app/assets/lookbook/fonts/SourceCodeVariable-Roman.ttf.woff2 +0 -0
- data/app/assets/lookbook/img/lucide-sprite.svg +869 -869
- data/app/assets/lookbook/js/lib/lookbook.js +12 -2
- data/app/components/lookbook/code/highlight_github.css +16 -17
- data/app/components/lookbook/dimensions_display/component.js +4 -7
- data/app/components/lookbook/file_source/component.html.erb +9 -0
- data/app/components/lookbook/file_source/component.rb +73 -0
- data/app/components/lookbook/header/component.html.erb +11 -8
- data/app/components/lookbook/icon/component.css +1 -1
- data/app/components/lookbook/icon/component.html.erb +1 -1
- data/app/components/lookbook/icon/component.rb +4 -1
- data/app/components/lookbook/logo/component.html.erb +6 -0
- data/app/components/lookbook/logo/component.rb +15 -0
- data/app/components/lookbook/message/component.css +33 -0
- data/app/components/lookbook/message/component.html.erb +26 -0
- data/app/components/lookbook/message/component.rb +13 -0
- data/app/components/lookbook/nav/entity/component.html.erb +2 -2
- data/app/components/lookbook/nav/entity/component.rb +1 -1
- data/app/components/lookbook/page_tabs/component.html.erb +2 -2
- data/app/components/lookbook/params/field/component.css +3 -3
- data/app/components/lookbook/prose/component.css +8 -1
- data/app/components/lookbook/prose/component.html.erb +6 -1
- data/app/components/lookbook/prose/component.rb +2 -2
- data/app/controllers/concerns/lookbook/targetable_concern.rb +2 -16
- data/app/controllers/lookbook/application_controller.rb +38 -14
- data/app/controllers/lookbook/embeds_controller.rb +3 -4
- data/app/controllers/lookbook/inspector_controller.rb +4 -12
- data/app/controllers/lookbook/pages_controller.rb +15 -27
- data/app/controllers/lookbook/preview_controller.rb +30 -2
- data/app/controllers/lookbook/previews_controller.rb +13 -15
- data/app/views/layouts/lookbook/application.html.erb +1 -0
- data/app/views/layouts/lookbook/skeleton.html.erb +2 -2
- data/app/views/lookbook/errors/default.html.erb +40 -0
- data/app/views/lookbook/errors/not_found.html.erb +10 -0
- data/app/views/lookbook/index.html.erb +29 -24
- data/app/views/lookbook/pages/show.html.erb +9 -8
- data/app/views/lookbook/partials/_blank_slate.html.erb +7 -0
- data/config/app.yml +8 -0
- data/config/routes.rb +2 -0
- data/lib/lookbook/engine.rb +12 -5
- data/lib/lookbook/entities/concerns/annotatable_entity.rb +26 -1
- data/lib/lookbook/entities/concerns/inspectable_entity.rb +17 -2
- data/lib/lookbook/entities/concerns/locatable_entity.rb +51 -7
- data/lib/lookbook/entities/concerns/navigable_entity.rb +14 -1
- data/lib/lookbook/entities/entity.rb +34 -12
- data/lib/lookbook/entities/page_entity.rb +68 -10
- data/lib/lookbook/entities/page_section_entity.rb +4 -0
- data/lib/lookbook/entities/preview_entity.rb +107 -17
- data/lib/lookbook/entities/renderable_entity.rb +47 -9
- data/lib/lookbook/entities/rendered_scenario_entity.rb +17 -6
- data/lib/lookbook/entities/scenario_entity.rb +77 -16
- data/lib/lookbook/entities/scenario_group_entity.rb +82 -9
- data/lib/lookbook/helpers/page_helper.rb +26 -1
- data/lib/lookbook/helpers/ui_elements_helper.rb +0 -24
- data/lib/lookbook/param.rb +1 -1
- data/lib/lookbook/services/markdown_renderer.rb +2 -4
- data/lib/lookbook/stores/config_store.rb +0 -12
- data/lib/lookbook/support/errors/config_error.rb +1 -1
- data/lib/lookbook/support/errors/error.rb +64 -0
- data/lib/lookbook/support/errors/parser_error.rb +1 -1
- data/lib/lookbook/support/errors/preview_template_error.rb +1 -1
- data/lib/lookbook/support/errors/routing_error.rb +7 -0
- data/lib/lookbook/support/errors/template_error.rb +7 -0
- data/lib/lookbook/version.rb +1 -1
- data/public/lookbook-assets/Inter-italic.var.69eb0fe1.woff2 +0 -0
- data/public/lookbook-assets/Inter-italic.var.736a7044.woff2 +0 -0
- data/public/lookbook-assets/Inter-roman.var.b695afbe.woff2 +0 -0
- data/public/lookbook-assets/Inter-roman.var.fbdd51d0.woff2 +0 -0
- data/public/lookbook-assets/SourceCodeVariable-Italic.cad97b83.otf +0 -0
- data/public/lookbook-assets/SourceCodeVariable-Italic.ttf.09b4354a.woff2 +0 -0
- data/public/lookbook-assets/SourceCodeVariable-Italic.ttf.fcd7e9f4.woff2 +0 -0
- data/public/lookbook-assets/SourceCodeVariable-Roman.185ddb17.otf +0 -0
- data/public/lookbook-assets/SourceCodeVariable-Roman.ttf.118e9f22.woff2 +0 -0
- data/public/lookbook-assets/SourceCodeVariable-Roman.ttf.91043609.woff2 +0 -0
- data/public/lookbook-assets/css/lookbook.css +417 -58
- data/public/lookbook-assets/css/lookbook.css.map +1 -1
- data/public/lookbook-assets/css/themes/blue.css +4 -1
- data/public/lookbook-assets/css/themes/blue.css.map +1 -1
- data/public/lookbook-assets/css/themes/green.css +4 -1
- data/public/lookbook-assets/css/themes/green.css.map +1 -1
- data/public/lookbook-assets/css/themes/indigo.css +4 -1
- data/public/lookbook-assets/css/themes/indigo.css.map +1 -1
- data/public/lookbook-assets/css/themes/rose.css +4 -1
- data/public/lookbook-assets/css/themes/rose.css.map +1 -1
- data/public/lookbook-assets/css/themes/zinc.css +4 -1
- data/public/lookbook-assets/css/themes/zinc.css.map +1 -1
- data/public/lookbook-assets/img/lucide-sprite.svg +869 -869
- data/public/lookbook-assets/js/index.js +173 -173
- data/public/lookbook-assets/js/index.js.map +1 -1
- data/public/lookbook-assets/js/lookbook-core.js +4 -2
- data/public/lookbook-assets/js/lookbook.js +4 -2
- metadata +31 -26
- data/app/views/layouts/lookbook/shell.html.erb +0 -25
- data/app/views/lookbook/404.html.erb +0 -15
- data/app/views/lookbook/error.html.erb +0 -46
- data/lib/lookbook/error.rb +0 -120
- data/lib/lookbook/support/errors/lookbook_error.rb +0 -21
- data/lib/tasks/lookbook_tasks.rake +0 -10
- data/public/lookbook-assets/css/app.css +0 -2341
- data/public/lookbook-assets/css/app.css.map +0 -11
- data/public/lookbook-assets/css/themes/zinc.css.map.91837.5 +0 -1
- data/public/lookbook-assets/feather-sprite.svg +0 -1
- data/public/lookbook-assets/js/app.js +0 -10862
- data/public/lookbook-assets/js/app.js.map +0 -2571
- data/public/lookbook-assets/js/embed.js +0 -1427
- data/public/lookbook-assets/js/embed.js.91837.6 +0 -0
- data/public/lookbook-assets/js/embed.js.map +0 -1
- data/public/lookbook-assets/js/lookbook-core.js.map +0 -1
- data/public/lookbook-assets/js/lookbook.js.map +0 -1
- data/public/lookbook-assets/lookbook-esm.js +0 -1427
- data/public/lookbook-assets/lookbook-esm.js.map +0 -1
- data/public/lookbook-assets/lookbook-global.js +0 -1427
- data/public/lookbook-assets/lookbook-global.js.map +0 -1
- data/public/lookbook-assets/lookbook.js +0 -1427
- data/public/lookbook-assets/lookbook.js.map +0 -1
@@ -1,3 +1,37 @@
|
|
1
|
+
@font-face {
|
2
|
+
font-family: Inter var;
|
3
|
+
font-weight: 100 900;
|
4
|
+
font-display: swap;
|
5
|
+
font-style: normal;
|
6
|
+
font-named-instance: "Regular";
|
7
|
+
src: url("../Inter-roman.var.b695afbe.woff2") format("woff2");
|
8
|
+
}
|
9
|
+
|
10
|
+
@font-face {
|
11
|
+
font-family: Inter var;
|
12
|
+
font-weight: 100 900;
|
13
|
+
font-display: swap;
|
14
|
+
font-style: italic;
|
15
|
+
font-named-instance: "Italic";
|
16
|
+
src: url("../Inter-italic.var.69eb0fe1.woff2") format("woff2");
|
17
|
+
}
|
18
|
+
|
19
|
+
@font-face {
|
20
|
+
font-family: Source Code Variable;
|
21
|
+
font-weight: 200 900;
|
22
|
+
font-style: normal;
|
23
|
+
font-stretch: normal;
|
24
|
+
src: url("../SourceCodeVariable-Roman.ttf.118e9f22.woff2") format("woff2");
|
25
|
+
}
|
26
|
+
|
27
|
+
@font-face {
|
28
|
+
font-family: Source Code Variable;
|
29
|
+
font-weight: 200 900;
|
30
|
+
font-style: italic;
|
31
|
+
font-stretch: normal;
|
32
|
+
src: url("../SourceCodeVariable-Italic.ttf.09b4354a.woff2") format("woff2");
|
33
|
+
}
|
34
|
+
|
1
35
|
*, :before, :after {
|
2
36
|
box-sizing: border-box;
|
3
37
|
border: 0 solid #e5e7eb;
|
@@ -11,7 +45,7 @@ html {
|
|
11
45
|
-webkit-text-size-adjust: 100%;
|
12
46
|
tab-size: 4;
|
13
47
|
font-feature-settings: normal;
|
14
|
-
font-family: -
|
48
|
+
font-family: Inter var, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
15
49
|
line-height: 1.5;
|
16
50
|
}
|
17
51
|
|
@@ -47,7 +81,7 @@ b, strong {
|
|
47
81
|
}
|
48
82
|
|
49
83
|
code, kbd, samp, pre {
|
50
|
-
font-family: SFMono-Regular, Consolas, Liberation Mono,
|
84
|
+
font-family: Source Code Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
51
85
|
font-size: 1em;
|
52
86
|
}
|
53
87
|
|
@@ -345,7 +379,7 @@ body {
|
|
345
379
|
color: var(--lookbook-text);
|
346
380
|
-webkit-font-smoothing: antialiased;
|
347
381
|
-moz-osx-font-smoothing: grayscale;
|
348
|
-
font-family: -
|
382
|
+
font-family: Inter var, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
349
383
|
font-size: .875rem;
|
350
384
|
line-height: 1.25rem;
|
351
385
|
overflow: hidden;
|
@@ -1434,7 +1468,6 @@ pre[class*="language-"] {
|
|
1434
1468
|
width: 100%;
|
1435
1469
|
fill: #0000;
|
1436
1470
|
stroke: currentColor;
|
1437
|
-
stroke-width: 2px;
|
1438
1471
|
stroke-linecap: round;
|
1439
1472
|
stroke-linejoin: round;
|
1440
1473
|
}
|
@@ -1444,6 +1477,76 @@ pre[class*="language-"] {
|
|
1444
1477
|
padding: 1rem;
|
1445
1478
|
}
|
1446
1479
|
|
1480
|
+
[data-component="message"] {
|
1481
|
+
width: 100%;
|
1482
|
+
border-width: 1px;
|
1483
|
+
border-color: var(--lookbook-divider);
|
1484
|
+
background-color: var(--lookbook-message-bg);
|
1485
|
+
--tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
|
1486
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
1487
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1488
|
+
border-radius: .25rem;
|
1489
|
+
gap: 1.5rem;
|
1490
|
+
padding: 1rem;
|
1491
|
+
display: flex;
|
1492
|
+
}
|
1493
|
+
|
1494
|
+
@media (min-width: 480px) {
|
1495
|
+
[data-component="message"] {
|
1496
|
+
padding: 1.5rem;
|
1497
|
+
}
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
[data-component="message"].icon-right {
|
1501
|
+
flex-direction: row-reverse;
|
1502
|
+
align-items: center;
|
1503
|
+
}
|
1504
|
+
|
1505
|
+
[data-component="message"].icon-left {
|
1506
|
+
align-items: flex-start;
|
1507
|
+
}
|
1508
|
+
|
1509
|
+
[data-component="message"] .message-title {
|
1510
|
+
text-overflow: ellipsis;
|
1511
|
+
white-space: nowrap;
|
1512
|
+
text-transform: uppercase;
|
1513
|
+
letter-spacing: .025em;
|
1514
|
+
color: var(--lookbook-message-title);
|
1515
|
+
margin-bottom: .5rem;
|
1516
|
+
font-size: 1rem;
|
1517
|
+
font-weight: 700;
|
1518
|
+
line-height: 1.5rem;
|
1519
|
+
overflow: hidden;
|
1520
|
+
}
|
1521
|
+
|
1522
|
+
[data-component="message"] .message-icon {
|
1523
|
+
opacity: .3;
|
1524
|
+
flex: none;
|
1525
|
+
display: none;
|
1526
|
+
}
|
1527
|
+
|
1528
|
+
@media (min-width: 480px) {
|
1529
|
+
[data-component="message"] .message-icon {
|
1530
|
+
display: block;
|
1531
|
+
}
|
1532
|
+
}
|
1533
|
+
|
1534
|
+
[data-component="message"].theme-error {
|
1535
|
+
--tw-border-opacity: 1;
|
1536
|
+
border-color: rgb(254 202 202 / var(--tw-border-opacity));
|
1537
|
+
}
|
1538
|
+
|
1539
|
+
[data-component="message"].theme-error .message-title {
|
1540
|
+
--tw-text-opacity: 1;
|
1541
|
+
color: rgb(185 28 28 / var(--tw-text-opacity));
|
1542
|
+
}
|
1543
|
+
|
1544
|
+
[data-component="message"].theme-error .message-icon {
|
1545
|
+
--tw-text-opacity: 1;
|
1546
|
+
color: rgb(220 38 38 / var(--tw-text-opacity));
|
1547
|
+
opacity: .5;
|
1548
|
+
}
|
1549
|
+
|
1447
1550
|
[data-component="nav"] .nav-action {
|
1448
1551
|
width: 100%;
|
1449
1552
|
cursor: pointer;
|
@@ -1486,7 +1589,7 @@ pre[class*="language-"] {
|
|
1486
1589
|
text-align: left;
|
1487
1590
|
vertical-align: middle;
|
1488
1591
|
padding: 1rem;
|
1489
|
-
font-weight:
|
1592
|
+
font-weight: 600;
|
1490
1593
|
}
|
1491
1594
|
|
1492
1595
|
[data-component="params-editor"] table:not(.linear) thead th.param-label {
|
@@ -1508,7 +1611,7 @@ pre[class*="language-"] {
|
|
1508
1611
|
}
|
1509
1612
|
|
1510
1613
|
[data-component="params-editor"] table:not(.linear) tbody td.param-label {
|
1511
|
-
font-weight:
|
1614
|
+
font-weight: 600;
|
1512
1615
|
}
|
1513
1616
|
|
1514
1617
|
[data-component="params-editor"] table:not(.linear) tbody .param-input-wrapper {
|
@@ -1546,24 +1649,32 @@ pre[class*="language-"] {
|
|
1546
1649
|
}
|
1547
1650
|
|
1548
1651
|
[data-component="params-editor"] table.linear td.param-label {
|
1549
|
-
font-weight:
|
1652
|
+
font-weight: 600;
|
1550
1653
|
}
|
1551
1654
|
|
1552
1655
|
[data-component="params-editor"] table.linear td.param-description-empty {
|
1553
1656
|
display: none;
|
1554
1657
|
}
|
1555
1658
|
|
1659
|
+
[data-component="prose"] {
|
1660
|
+
letter-spacing: -.015em !important;
|
1661
|
+
}
|
1662
|
+
|
1556
1663
|
[data-component="prose"] [data-component="code"] {
|
1557
1664
|
border-width: 1px;
|
1558
1665
|
border-color: var(--lookbook-divider);
|
1559
1666
|
border-radius: .375rem;
|
1560
1667
|
}
|
1561
1668
|
|
1562
|
-
[data-component="prose"] [data-component="embed"], [data-component="prose"] [data-component="code"] {
|
1669
|
+
[data-component="prose"] [data-component="embed"], [data-component="prose"] [data-component="code"], [data-component="prose"] [data-lookbook-embed] {
|
1563
1670
|
margin-top: 2rem;
|
1564
1671
|
margin-bottom: 2rem;
|
1565
1672
|
}
|
1566
1673
|
|
1674
|
+
[data-component="prose"] [data-lookbook-embed] {
|
1675
|
+
border-radius: .375rem;
|
1676
|
+
}
|
1677
|
+
|
1567
1678
|
[data-component="tabs-dropdown-tab"]:not(.hidden) {
|
1568
1679
|
border-bottom-width: 1px;
|
1569
1680
|
border-bottom-color: var(--lookbook-divider);
|
@@ -1751,10 +1862,6 @@ select.compact {
|
|
1751
1862
|
position: relative;
|
1752
1863
|
}
|
1753
1864
|
|
1754
|
-
.sticky {
|
1755
|
-
position: sticky;
|
1756
|
-
}
|
1757
|
-
|
1758
1865
|
.-inset-px {
|
1759
1866
|
inset: -1px;
|
1760
1867
|
}
|
@@ -1873,6 +1980,10 @@ select.compact {
|
|
1873
1980
|
margin-bottom: 1.5rem;
|
1874
1981
|
}
|
1875
1982
|
|
1983
|
+
.mb-7 {
|
1984
|
+
margin-bottom: 1.75rem;
|
1985
|
+
}
|
1986
|
+
|
1876
1987
|
.mb-8 {
|
1877
1988
|
margin-bottom: 2rem;
|
1878
1989
|
}
|
@@ -1921,14 +2032,6 @@ select.compact {
|
|
1921
2032
|
margin-top: 3rem;
|
1922
2033
|
}
|
1923
2034
|
|
1924
|
-
.mt-2 {
|
1925
|
-
margin-top: .5rem;
|
1926
|
-
}
|
1927
|
-
|
1928
|
-
.mt-3 {
|
1929
|
-
margin-top: .75rem;
|
1930
|
-
}
|
1931
|
-
|
1932
2035
|
.mt-6 {
|
1933
2036
|
margin-top: 1.5rem;
|
1934
2037
|
}
|
@@ -2033,6 +2136,10 @@ select.compact {
|
|
2033
2136
|
min-height: 0;
|
2034
2137
|
}
|
2035
2138
|
|
2139
|
+
.min-h-\[50vh\] {
|
2140
|
+
min-height: 50vh;
|
2141
|
+
}
|
2142
|
+
|
2036
2143
|
.w-11 {
|
2037
2144
|
width: 2.75rem;
|
2038
2145
|
}
|
@@ -2053,10 +2160,6 @@ select.compact {
|
|
2053
2160
|
width: 1.25rem;
|
2054
2161
|
}
|
2055
2162
|
|
2056
|
-
.w-\[140px\] {
|
2057
|
-
width: 140px;
|
2058
|
-
}
|
2059
|
-
|
2060
2163
|
.w-\[320px\] {
|
2061
2164
|
width: 320px;
|
2062
2165
|
}
|
@@ -2093,10 +2196,6 @@ select.compact {
|
|
2093
2196
|
max-width: 1024px;
|
2094
2197
|
}
|
2095
2198
|
|
2096
|
-
.max-w-sm {
|
2097
|
-
max-width: 24rem;
|
2098
|
-
}
|
2099
|
-
|
2100
2199
|
.flex-none {
|
2101
2200
|
flex: none;
|
2102
2201
|
}
|
@@ -2105,6 +2204,10 @@ select.compact {
|
|
2105
2204
|
flex-shrink: 0;
|
2106
2205
|
}
|
2107
2206
|
|
2207
|
+
.flex-grow {
|
2208
|
+
flex-grow: 1;
|
2209
|
+
}
|
2210
|
+
|
2108
2211
|
.border-collapse {
|
2109
2212
|
border-collapse: collapse;
|
2110
2213
|
}
|
@@ -2595,8 +2698,8 @@ select.compact {
|
|
2595
2698
|
padding-bottom: .75rem;
|
2596
2699
|
}
|
2597
2700
|
|
2598
|
-
.pb-
|
2599
|
-
padding-bottom:
|
2701
|
+
.pb-6 {
|
2702
|
+
padding-bottom: 1.5rem;
|
2600
2703
|
}
|
2601
2704
|
|
2602
2705
|
.pl-0 {
|
@@ -2660,11 +2763,11 @@ select.compact {
|
|
2660
2763
|
}
|
2661
2764
|
|
2662
2765
|
.font-mono {
|
2663
|
-
font-family: SFMono-Regular, Consolas, Liberation Mono,
|
2766
|
+
font-family: Source Code Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
|
2664
2767
|
}
|
2665
2768
|
|
2666
2769
|
.font-sans {
|
2667
|
-
font-family: -
|
2770
|
+
font-family: Inter var, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
2668
2771
|
}
|
2669
2772
|
|
2670
2773
|
.text-\[11px\] {
|
@@ -2704,6 +2807,10 @@ select.compact {
|
|
2704
2807
|
font-weight: 700;
|
2705
2808
|
}
|
2706
2809
|
|
2810
|
+
.font-semibold {
|
2811
|
+
font-weight: 600;
|
2812
|
+
}
|
2813
|
+
|
2707
2814
|
.uppercase {
|
2708
2815
|
text-transform: uppercase;
|
2709
2816
|
}
|
@@ -2720,10 +2827,6 @@ select.compact {
|
|
2720
2827
|
line-height: 1.25;
|
2721
2828
|
}
|
2722
2829
|
|
2723
|
-
.tracking-wide {
|
2724
|
-
letter-spacing: .025em;
|
2725
|
-
}
|
2726
|
-
|
2727
2830
|
.tracking-wider {
|
2728
2831
|
letter-spacing: .05em;
|
2729
2832
|
}
|
@@ -2756,10 +2859,6 @@ select.compact {
|
|
2756
2859
|
color: rgb(22 163 74 / var(--tw-text-opacity));
|
2757
2860
|
}
|
2758
2861
|
|
2759
|
-
.text-lookbook-blank-slate-title {
|
2760
|
-
color: var(--lookbook-blank-slate-title);
|
2761
|
-
}
|
2762
|
-
|
2763
2862
|
.text-lookbook-branding-text {
|
2764
2863
|
color: var(--lookbook-branding-text);
|
2765
2864
|
}
|
@@ -2800,11 +2899,6 @@ select.compact {
|
|
2800
2899
|
color: var(--lookbook-tabs-text-hover);
|
2801
2900
|
}
|
2802
2901
|
|
2803
|
-
.text-red-300 {
|
2804
|
-
--tw-text-opacity: 1;
|
2805
|
-
color: rgb(252 165 165 / var(--tw-text-opacity));
|
2806
|
-
}
|
2807
|
-
|
2808
2902
|
.text-red-700 {
|
2809
2903
|
--tw-text-opacity: 1;
|
2810
2904
|
color: rgb(185 28 28 / var(--tw-text-opacity));
|
@@ -2930,6 +3024,10 @@ select.compact {
|
|
2930
3024
|
transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
2931
3025
|
}
|
2932
3026
|
|
3027
|
+
.bg-checked {
|
3028
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cg fill='%23f3f3f3' fill-opacity='1'%3E%3Cpath fill-rule='evenodd' d='M0 0h4v4H0V0zm4 4h4v4H4V4z'/%3E%3C/g%3E%3C/svg%3E");
|
3029
|
+
}
|
3030
|
+
|
2933
3031
|
.tippy-box[data-animation="fade"][data-state="hidden"] {
|
2934
3032
|
opacity: 0;
|
2935
3033
|
}
|
@@ -3299,7 +3397,6 @@ select.compact {
|
|
3299
3397
|
|
3300
3398
|
.theme-github .highlight .err {
|
3301
3399
|
color: var(--hl-error-fg);
|
3302
|
-
background-color: var(--hl-error-bg);
|
3303
3400
|
}
|
3304
3401
|
|
3305
3402
|
.theme-github .highlight .g {
|
@@ -3308,7 +3405,7 @@ select.compact {
|
|
3308
3405
|
|
3309
3406
|
.theme-github .highlight .k {
|
3310
3407
|
color: var(--hl-keyword);
|
3311
|
-
font-weight:
|
3408
|
+
font-weight: 600;
|
3312
3409
|
}
|
3313
3410
|
|
3314
3411
|
.theme-github .highlight .l {
|
@@ -3321,7 +3418,7 @@ select.compact {
|
|
3321
3418
|
|
3322
3419
|
.theme-github .highlight .o {
|
3323
3420
|
color: var(--hl-operator);
|
3324
|
-
font-weight:
|
3421
|
+
font-weight: 600;
|
3325
3422
|
}
|
3326
3423
|
|
3327
3424
|
.theme-github .highlight .x {
|
@@ -3339,7 +3436,7 @@ select.compact {
|
|
3339
3436
|
|
3340
3437
|
.theme-github .highlight .cp {
|
3341
3438
|
color: var(--hl-comment-preproc);
|
3342
|
-
font-weight:
|
3439
|
+
font-weight: 600;
|
3343
3440
|
}
|
3344
3441
|
|
3345
3442
|
.theme-github .highlight .c1 {
|
@@ -3351,7 +3448,7 @@ select.compact {
|
|
3351
3448
|
color: var(--hl-comment-special-fg);
|
3352
3449
|
background-color: var(--hl-comment-special-bg);
|
3353
3450
|
font-style: italic;
|
3354
|
-
font-weight:
|
3451
|
+
font-weight: 600;
|
3355
3452
|
}
|
3356
3453
|
|
3357
3454
|
.theme-github .highlight .gd {
|
@@ -3387,12 +3484,12 @@ select.compact {
|
|
3387
3484
|
|
3388
3485
|
.theme-github .highlight .gs {
|
3389
3486
|
color: var(--hl-subtle-fg);
|
3390
|
-
font-weight:
|
3487
|
+
font-weight: 600;
|
3391
3488
|
}
|
3392
3489
|
|
3393
3490
|
.theme-github .highlight .gu {
|
3394
3491
|
color: var(--hl-subheading);
|
3395
|
-
font-weight:
|
3492
|
+
font-weight: 600;
|
3396
3493
|
}
|
3397
3494
|
|
3398
3495
|
.theme-github .highlight .gt {
|
@@ -3401,12 +3498,12 @@ select.compact {
|
|
3401
3498
|
|
3402
3499
|
.theme-github .highlight .kc, .theme-github .highlight .kd, .theme-github .highlight .kn, .theme-github .highlight .kp, .theme-github .highlight .kr {
|
3403
3500
|
color: var(--hl-keyword-crude);
|
3404
|
-
font-weight:
|
3501
|
+
font-weight: 600;
|
3405
3502
|
}
|
3406
3503
|
|
3407
3504
|
.theme-github .highlight .kt {
|
3408
3505
|
color: var(--hl-keyword-subtle);
|
3409
|
-
font-weight:
|
3506
|
+
font-weight: 600;
|
3410
3507
|
}
|
3411
3508
|
|
3412
3509
|
.theme-github .highlight .ld {
|
@@ -3431,7 +3528,7 @@ select.compact {
|
|
3431
3528
|
|
3432
3529
|
.theme-github .highlight .nc {
|
3433
3530
|
color: var(--hl-class);
|
3434
|
-
font-weight:
|
3531
|
+
font-weight: 600;
|
3435
3532
|
}
|
3436
3533
|
|
3437
3534
|
.theme-github .highlight .no {
|
@@ -3448,12 +3545,12 @@ select.compact {
|
|
3448
3545
|
|
3449
3546
|
.theme-github .highlight .ne {
|
3450
3547
|
color: var(--hl-exception);
|
3451
|
-
font-weight:
|
3548
|
+
font-weight: 600;
|
3452
3549
|
}
|
3453
3550
|
|
3454
3551
|
.theme-github .highlight .nf {
|
3455
3552
|
color: var(--hl-function);
|
3456
|
-
font-weight:
|
3553
|
+
font-weight: 600;
|
3457
3554
|
}
|
3458
3555
|
|
3459
3556
|
.theme-github .highlight .nl {
|
@@ -3478,7 +3575,7 @@ select.compact {
|
|
3478
3575
|
|
3479
3576
|
.theme-github .highlight .ow {
|
3480
3577
|
color: var(--hl-word);
|
3481
|
-
font-weight:
|
3578
|
+
font-weight: 600;
|
3482
3579
|
}
|
3483
3580
|
|
3484
3581
|
.theme-github .highlight .w {
|
@@ -3530,6 +3627,216 @@ select.compact {
|
|
3530
3627
|
background-color: #0000;
|
3531
3628
|
}
|
3532
3629
|
|
3630
|
+
@media (min-width: 1024px) {
|
3631
|
+
.lg\:prose-base {
|
3632
|
+
font-size: 1rem;
|
3633
|
+
line-height: 1.75;
|
3634
|
+
}
|
3635
|
+
|
3636
|
+
.lg\:prose-base :where(p):not(:where([class~="not-prose"] *)) {
|
3637
|
+
margin-top: 1.25em;
|
3638
|
+
margin-bottom: 1.25em;
|
3639
|
+
}
|
3640
|
+
|
3641
|
+
.lg\:prose-base :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
|
3642
|
+
margin-top: 1.2em;
|
3643
|
+
margin-bottom: 1.2em;
|
3644
|
+
font-size: 1.25em;
|
3645
|
+
line-height: 1.6;
|
3646
|
+
}
|
3647
|
+
|
3648
|
+
.lg\:prose-base :where(blockquote):not(:where([class~="not-prose"] *)) {
|
3649
|
+
margin-top: 1.6em;
|
3650
|
+
margin-bottom: 1.6em;
|
3651
|
+
padding-left: 1em;
|
3652
|
+
}
|
3653
|
+
|
3654
|
+
.lg\:prose-base :where(h1):not(:where([class~="not-prose"] *)) {
|
3655
|
+
margin-top: 0;
|
3656
|
+
margin-bottom: .888889em;
|
3657
|
+
font-size: 2.25em;
|
3658
|
+
line-height: 1.11111;
|
3659
|
+
}
|
3660
|
+
|
3661
|
+
.lg\:prose-base :where(h2):not(:where([class~="not-prose"] *)) {
|
3662
|
+
margin-top: 2em;
|
3663
|
+
margin-bottom: 1em;
|
3664
|
+
font-size: 1.5em;
|
3665
|
+
line-height: 1.33333;
|
3666
|
+
}
|
3667
|
+
|
3668
|
+
.lg\:prose-base :where(h3):not(:where([class~="not-prose"] *)) {
|
3669
|
+
margin-top: 1.6em;
|
3670
|
+
margin-bottom: .6em;
|
3671
|
+
font-size: 1.25em;
|
3672
|
+
line-height: 1.6;
|
3673
|
+
}
|
3674
|
+
|
3675
|
+
.lg\:prose-base :where(h4):not(:where([class~="not-prose"] *)) {
|
3676
|
+
margin-top: 1.5em;
|
3677
|
+
margin-bottom: .5em;
|
3678
|
+
line-height: 1.5;
|
3679
|
+
}
|
3680
|
+
|
3681
|
+
.lg\:prose-base :where(img):not(:where([class~="not-prose"] *)) {
|
3682
|
+
margin-top: 2em;
|
3683
|
+
margin-bottom: 2em;
|
3684
|
+
}
|
3685
|
+
|
3686
|
+
.lg\:prose-base :where(video):not(:where([class~="not-prose"] *)) {
|
3687
|
+
margin-top: 2em;
|
3688
|
+
margin-bottom: 2em;
|
3689
|
+
}
|
3690
|
+
|
3691
|
+
.lg\:prose-base :where(figure):not(:where([class~="not-prose"] *)) {
|
3692
|
+
margin-top: 2em;
|
3693
|
+
margin-bottom: 2em;
|
3694
|
+
}
|
3695
|
+
|
3696
|
+
.lg\:prose-base :where(figure > *):not(:where([class~="not-prose"] *)) {
|
3697
|
+
margin-top: 0;
|
3698
|
+
margin-bottom: 0;
|
3699
|
+
}
|
3700
|
+
|
3701
|
+
.lg\:prose-base :where(figcaption):not(:where([class~="not-prose"] *)) {
|
3702
|
+
margin-top: .857143em;
|
3703
|
+
font-size: .875em;
|
3704
|
+
line-height: 1.42857;
|
3705
|
+
}
|
3706
|
+
|
3707
|
+
.lg\:prose-base :where(code):not(:where([class~="not-prose"] *)) {
|
3708
|
+
font-size: .875em;
|
3709
|
+
}
|
3710
|
+
|
3711
|
+
.lg\:prose-base :where(h2 code):not(:where([class~="not-prose"] *)) {
|
3712
|
+
font-size: .875em;
|
3713
|
+
}
|
3714
|
+
|
3715
|
+
.lg\:prose-base :where(h3 code):not(:where([class~="not-prose"] *)) {
|
3716
|
+
font-size: .9em;
|
3717
|
+
}
|
3718
|
+
|
3719
|
+
.lg\:prose-base :where(pre):not(:where([class~="not-prose"] *)) {
|
3720
|
+
border-radius: .375rem;
|
3721
|
+
margin-top: 1.71429em;
|
3722
|
+
margin-bottom: 1.71429em;
|
3723
|
+
padding: .857143em 1.14286em;
|
3724
|
+
font-size: .875em;
|
3725
|
+
line-height: 1.71429;
|
3726
|
+
}
|
3727
|
+
|
3728
|
+
.lg\:prose-base :where(ol):not(:where([class~="not-prose"] *)) {
|
3729
|
+
margin-top: 1.25em;
|
3730
|
+
margin-bottom: 1.25em;
|
3731
|
+
padding-left: 1.625em;
|
3732
|
+
}
|
3733
|
+
|
3734
|
+
.lg\:prose-base :where(ul):not(:where([class~="not-prose"] *)) {
|
3735
|
+
margin-top: 1.25em;
|
3736
|
+
margin-bottom: 1.25em;
|
3737
|
+
padding-left: 1.625em;
|
3738
|
+
}
|
3739
|
+
|
3740
|
+
.lg\:prose-base :where(li):not(:where([class~="not-prose"] *)) {
|
3741
|
+
margin-top: .5em;
|
3742
|
+
margin-bottom: .5em;
|
3743
|
+
}
|
3744
|
+
|
3745
|
+
.lg\:prose-base :where(ol > li):not(:where([class~="not-prose"] *)) {
|
3746
|
+
padding-left: .375em;
|
3747
|
+
}
|
3748
|
+
|
3749
|
+
.lg\:prose-base :where(ul > li):not(:where([class~="not-prose"] *)) {
|
3750
|
+
padding-left: .375em;
|
3751
|
+
}
|
3752
|
+
|
3753
|
+
.lg\:prose-base :where(.lg\:prose-base > ul > li p):not(:where([class~="not-prose"] *)) {
|
3754
|
+
margin-top: .75em;
|
3755
|
+
margin-bottom: .75em;
|
3756
|
+
}
|
3757
|
+
|
3758
|
+
.lg\:prose-base :where(.lg\:prose-base > ul > li > :first-child):not(:where([class~="not-prose"] *)) {
|
3759
|
+
margin-top: 1.25em;
|
3760
|
+
}
|
3761
|
+
|
3762
|
+
.lg\:prose-base :where(.lg\:prose-base > ul > li > :last-child):not(:where([class~="not-prose"] *)) {
|
3763
|
+
margin-bottom: 1.25em;
|
3764
|
+
}
|
3765
|
+
|
3766
|
+
.lg\:prose-base :where(.lg\:prose-base > ol > li > :first-child):not(:where([class~="not-prose"] *)) {
|
3767
|
+
margin-top: 1.25em;
|
3768
|
+
}
|
3769
|
+
|
3770
|
+
.lg\:prose-base :where(.lg\:prose-base > ol > li > :last-child):not(:where([class~="not-prose"] *)) {
|
3771
|
+
margin-bottom: 1.25em;
|
3772
|
+
}
|
3773
|
+
|
3774
|
+
.lg\:prose-base :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"] *)) {
|
3775
|
+
margin-top: .75em;
|
3776
|
+
margin-bottom: .75em;
|
3777
|
+
}
|
3778
|
+
|
3779
|
+
.lg\:prose-base :where(hr):not(:where([class~="not-prose"] *)) {
|
3780
|
+
margin-top: 3em;
|
3781
|
+
margin-bottom: 3em;
|
3782
|
+
}
|
3783
|
+
|
3784
|
+
.lg\:prose-base :where(hr + *):not(:where([class~="not-prose"] *)) {
|
3785
|
+
margin-top: 0;
|
3786
|
+
}
|
3787
|
+
|
3788
|
+
.lg\:prose-base :where(h2 + *):not(:where([class~="not-prose"] *)) {
|
3789
|
+
margin-top: 0;
|
3790
|
+
}
|
3791
|
+
|
3792
|
+
.lg\:prose-base :where(h3 + *):not(:where([class~="not-prose"] *)) {
|
3793
|
+
margin-top: 0;
|
3794
|
+
}
|
3795
|
+
|
3796
|
+
.lg\:prose-base :where(h4 + *):not(:where([class~="not-prose"] *)) {
|
3797
|
+
margin-top: 0;
|
3798
|
+
}
|
3799
|
+
|
3800
|
+
.lg\:prose-base :where(table):not(:where([class~="not-prose"] *)) {
|
3801
|
+
font-size: .875em;
|
3802
|
+
line-height: 1.71429;
|
3803
|
+
}
|
3804
|
+
|
3805
|
+
.lg\:prose-base :where(thead th):not(:where([class~="not-prose"] *)) {
|
3806
|
+
padding-bottom: .571429em;
|
3807
|
+
padding-left: .571429em;
|
3808
|
+
padding-right: .571429em;
|
3809
|
+
}
|
3810
|
+
|
3811
|
+
.lg\:prose-base :where(thead th:first-child):not(:where([class~="not-prose"] *)) {
|
3812
|
+
padding-left: 0;
|
3813
|
+
}
|
3814
|
+
|
3815
|
+
.lg\:prose-base :where(thead th:last-child):not(:where([class~="not-prose"] *)) {
|
3816
|
+
padding-right: 0;
|
3817
|
+
}
|
3818
|
+
|
3819
|
+
.lg\:prose-base :where(tbody td, tfoot td):not(:where([class~="not-prose"] *)) {
|
3820
|
+
padding: .571429em;
|
3821
|
+
}
|
3822
|
+
|
3823
|
+
.lg\:prose-base :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"] *)) {
|
3824
|
+
padding-left: 0;
|
3825
|
+
}
|
3826
|
+
|
3827
|
+
.lg\:prose-base :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"] *)) {
|
3828
|
+
padding-right: 0;
|
3829
|
+
}
|
3830
|
+
|
3831
|
+
.lg\:prose-base :where(.lg\:prose-base > :first-child):not(:where([class~="not-prose"] *)) {
|
3832
|
+
margin-top: 0;
|
3833
|
+
}
|
3834
|
+
|
3835
|
+
.lg\:prose-base :where(.lg\:prose-base > :last-child):not(:where([class~="not-prose"] *)) {
|
3836
|
+
margin-bottom: 0;
|
3837
|
+
}
|
3838
|
+
}
|
3839
|
+
|
3533
3840
|
.hover\:bg-lookbook-button-bg-hover:hover {
|
3534
3841
|
background-color: var(--lookbook-button-bg-hover);
|
3535
3842
|
}
|
@@ -3590,11 +3897,53 @@ select.compact {
|
|
3590
3897
|
outline: 2px solid #0000;
|
3591
3898
|
}
|
3592
3899
|
|
3900
|
+
.prose-headings\:font-semibold :where(h1, h2, h3, h4, h5, h6, th):not(:where([class~="not-prose"] *)) {
|
3901
|
+
font-weight: 600;
|
3902
|
+
}
|
3903
|
+
|
3904
|
+
.prose-h1\:font-bold :where(h1):not(:where([class~="not-prose"] *)) {
|
3905
|
+
font-weight: 700;
|
3906
|
+
}
|
3907
|
+
|
3593
3908
|
.prose-a\:text-lookbook-prose-link :where(a):not(:where([class~="not-prose"] *)) {
|
3594
3909
|
color: var(--lookbook-prose-link);
|
3595
3910
|
}
|
3596
3911
|
|
3912
|
+
@media (min-width: 480px) {
|
3913
|
+
.xs\:mx-auto {
|
3914
|
+
margin-left: auto;
|
3915
|
+
margin-right: auto;
|
3916
|
+
}
|
3917
|
+
|
3918
|
+
.xs\:w-auto {
|
3919
|
+
width: auto;
|
3920
|
+
}
|
3921
|
+
|
3922
|
+
.xs\:min-w-\[440px\] {
|
3923
|
+
min-width: 440px;
|
3924
|
+
}
|
3925
|
+
|
3926
|
+
.xs\:max-w-\[680px\] {
|
3927
|
+
max-width: 680px;
|
3928
|
+
}
|
3929
|
+
|
3930
|
+
.xs\:py-8 {
|
3931
|
+
padding-top: 2rem;
|
3932
|
+
padding-bottom: 2rem;
|
3933
|
+
}
|
3934
|
+
}
|
3935
|
+
|
3936
|
+
@media (min-width: 640px) {
|
3937
|
+
.sm\:p-8 {
|
3938
|
+
padding: 2rem;
|
3939
|
+
}
|
3940
|
+
}
|
3941
|
+
|
3597
3942
|
@media (min-width: 768px) {
|
3943
|
+
.md\:p-12 {
|
3944
|
+
padding: 3rem;
|
3945
|
+
}
|
3946
|
+
|
3598
3947
|
.md\:px-10 {
|
3599
3948
|
padding-left: 2.5rem;
|
3600
3949
|
padding-right: 2.5rem;
|
@@ -3605,4 +3954,14 @@ select.compact {
|
|
3605
3954
|
}
|
3606
3955
|
}
|
3607
3956
|
|
3957
|
+
@media (min-width: 1024px) {
|
3958
|
+
.lg\:mb-9 {
|
3959
|
+
margin-bottom: 2.25rem;
|
3960
|
+
}
|
3961
|
+
|
3962
|
+
.lg\:pb-8 {
|
3963
|
+
padding-bottom: 2rem;
|
3964
|
+
}
|
3965
|
+
}
|
3966
|
+
|
3608
3967
|
/*# sourceMappingURL=lookbook.css.map */
|