forked from botpress/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
79 lines (66 loc) · 1.38 KB
/
style.scss
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
@import url('https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import './styles/components.scss';
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
html {
font-family: 'Inter', sans-serif;
font-weight: 450;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Lexend', sans-serif;
}
}
:root {
--color-primary: hsl(218, 81.42%, 55.69%);
}
body {
font-feature-settings: 'rlig' 1, 'calt' 1;
}
figcaption {
font-size: 0.85rem;
line-height: 1.5rem;
display: block;
text-align: center;
margin-top: 0.5rem;
}
code.text-\[\.9em\] {
font-size: 14px;
}
p {
margin-bottom: 6px;
}
blockquote:is([dir='ltr'] .ltr\:nx-pl-6) {
margin-top: 0px;
padding-left: 12px;
padding-top: 4px;
padding-bottom: 4px;
}
h2 {
margin-bottom: 16px;
}
iframe[data-youtube-iframe] {
width: 100%;
}
/**
* Override the default dark mode color
* Ideally should be the theme.config.primaryHue but it only changes the hue, and we want to change the saturation and lightness also
*/
:is(html[class~='dark']) {
--color-primary: hsl(218, 100%, 66%);
}
:is(html[class~='dark'] .dark\:nx-text-primary-600),
.dark .nx-text-primary-600 {
color: var(--color-primary);
}
td > ul {
list-style: disc;
padding-left: 8px;
}