vipassana-design-standards 0.0.36 → 1.0.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.
- package/README.md +46 -39
- package/dist/css/bootstrap5-theme.css +162 -128
- package/dist/css/bootstrap5-theme.css.map +1 -1
- package/dist/css/bootstrap5-theme.min.css +1 -1
- package/dist/css/bootstrap5-theme.rtl.css +162 -128
- package/dist/css/bootstrap5-theme.rtl.min.css +1 -1
- package/dist/css/fonts-ar.css +13 -5
- package/dist/css/fonts-fa.css +13 -5
- package/dist/css/fonts-gu.css +23 -11
- package/dist/css/fonts-he.css +23 -11
- package/dist/css/fonts-ja.css +2367 -473
- package/dist/css/fonts-km.css +23 -11
- package/dist/css/fonts-ko.css +1935 -471
- package/dist/css/fonts-or.css +23 -11
- package/dist/css/fonts-si.css +23 -11
- package/dist/css/fonts-ta.css +23 -11
- package/dist/css/fonts-te.css +23 -11
- package/dist/css/fonts-th.css +23 -11
- package/dist/css/fonts-zh-HANS.css +2271 -389
- package/dist/css/fonts-zh-HANT-HK.css +2901 -421
- package/dist/css/fonts-zh-HANT.css +2443 -405
- package/dist/css/fonts.css.map +1 -1
- package/dist/css/logo.css +43 -17
- package/dist/css/logo.css.map +1 -1
- package/dist/css/logo.min.css +1 -1
- package/dist/css/logo.rtl.css +43 -17
- package/dist/css/logo.rtl.min.css +1 -1
- package/dist/js/bootstrap5-theme.min.js +12 -12
- package/dist/js/helpers.js +45 -15
- package/dist/js/i18n.js +319 -320
- package/dist/js/react-helpers.jsx +106 -42
- package/package.json +1 -1
- package/src/stylesheets/bootstrap5-theme.scss +11 -11
- package/src/stylesheets/custom-bootstrap-utilities.scss +129 -50
- package/src/stylesheets/custom-bootstrap-variables.scss +40 -36
- package/src/stylesheets/custom-bootstrap.scss +17 -13
- package/src/stylesheets/fonts.scss +234 -70
- package/src/stylesheets/index.css +24 -22
- package/src/stylesheets/layout/vds-header.scss +3 -3
- package/src/stylesheets/layout/vds-layout.scss +6 -5
- package/src/stylesheets/layout/vds-mixins.scss +1 -1
- package/src/stylesheets/layout/vds-sidenav.scss +3 -2
- package/src/stylesheets/logo.scss +96 -76
- package/src/stylesheets/mixins.scss +2 -2
- package/src/stylesheets/specific-fonts/fonts-ar.css +13 -5
- package/src/stylesheets/specific-fonts/fonts-fa.css +13 -5
- package/src/stylesheets/specific-fonts/fonts-gu.css +23 -11
- package/src/stylesheets/specific-fonts/fonts-he.css +23 -11
- package/src/stylesheets/specific-fonts/fonts-ja.css +2367 -473
- package/src/stylesheets/specific-fonts/fonts-km.css +23 -11
- package/src/stylesheets/specific-fonts/fonts-ko.css +1935 -471
- package/src/stylesheets/specific-fonts/fonts-or.css +23 -11
- package/src/stylesheets/specific-fonts/fonts-si.css +23 -11
- package/src/stylesheets/specific-fonts/fonts-ta.css +23 -11
- package/src/stylesheets/specific-fonts/fonts-te.css +23 -11
- package/src/stylesheets/specific-fonts/fonts-th.css +23 -11
- package/src/stylesheets/specific-fonts/fonts-zh-HANS.css +2271 -389
- package/src/stylesheets/specific-fonts/fonts-zh-HANT-HK.css +2901 -421
- package/src/stylesheets/specific-fonts/fonts-zh-HANT.css +2443 -405
|
@@ -3,16 +3,16 @@ import i18n from './i18n.js'
|
|
|
3
3
|
function fixLocale(locale) {
|
|
4
4
|
locale = (locale || 'en').toLowerCase()
|
|
5
5
|
const mapping = {
|
|
6
|
-
|
|
6
|
+
zh: 'zh-HANS',
|
|
7
7
|
'zh-hans': 'zh-HANS',
|
|
8
8
|
'zh-hant': 'zh-HANT',
|
|
9
9
|
'zh-hant-hk': 'zh-HANT-HK',
|
|
10
10
|
'zh-hk': 'zh-HANT-HK',
|
|
11
11
|
'zh-cn': 'zh-HANS',
|
|
12
|
-
'zh-tw': 'zh-HANT'
|
|
12
|
+
'zh-tw': 'zh-HANT'
|
|
13
13
|
}
|
|
14
14
|
if (mapping[locale]) locale = mapping[locale] // zh-Hans -> zh-HANS
|
|
15
|
-
else locale = locale.split(
|
|
15
|
+
else locale = locale.split('-')[0] // fr-CA -> fr
|
|
16
16
|
return locale
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -24,79 +24,143 @@ function vdsAssetUrl(path, localhost = false) {
|
|
|
24
24
|
// For localhost dev, just run vscode liveserver
|
|
25
25
|
if (localhost) return `http://localhost:5500/dist/${path}`
|
|
26
26
|
|
|
27
|
-
return `https://design-standards.dhamma.org/dist/0.0
|
|
27
|
+
return `https://design-standards.dhamma.org/dist/1.0.0/${path}`
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
function StylesheetLinkTag({url}) {
|
|
30
|
+
function StylesheetLinkTag({ url }) {
|
|
31
31
|
return <link rel="stylesheet" type="text/css" href={url} />
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export function VdsFaviconTag() {
|
|
35
|
-
return
|
|
35
|
+
return (
|
|
36
|
+
<link
|
|
37
|
+
rel="shortcut icon"
|
|
38
|
+
type="image/x-icon"
|
|
39
|
+
href="https://design-standards.dhamma.org/dist/favicon.png"
|
|
40
|
+
/>
|
|
41
|
+
)
|
|
36
42
|
}
|
|
37
43
|
|
|
38
44
|
export function VdsBootstrapThemeCssTag({ locale, localhost = false }) {
|
|
39
45
|
locale = fixLocale(locale)
|
|
40
46
|
const url = vdsAssetUrl(`css/bootstrap5-theme${isRtl(locale) ? '.rtl' : ''}.min.css`, localhost)
|
|
41
|
-
return
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
47
|
+
return (
|
|
48
|
+
<>
|
|
49
|
+
<StylesheetLinkTag url={url} />
|
|
50
|
+
{[
|
|
51
|
+
'ar',
|
|
52
|
+
'fa',
|
|
53
|
+
'gu',
|
|
54
|
+
'he',
|
|
55
|
+
'ja',
|
|
56
|
+
'km',
|
|
57
|
+
'ko',
|
|
58
|
+
'or',
|
|
59
|
+
'si',
|
|
60
|
+
'ta',
|
|
61
|
+
'te',
|
|
62
|
+
'th',
|
|
63
|
+
'zh-HANS',
|
|
64
|
+
'zh-HANT',
|
|
65
|
+
'zh-HANT-HK'
|
|
66
|
+
].includes(locale) && <StylesheetLinkTag url={vdsAssetUrl(`css/fonts-${locale}.min.css`)} />}
|
|
67
|
+
</>
|
|
68
|
+
)
|
|
45
69
|
}
|
|
46
70
|
|
|
47
71
|
export function VdsBootstrapThemeJsTag({ localhost = false }) {
|
|
48
|
-
const url = vdsAssetUrl(
|
|
72
|
+
const url = vdsAssetUrl('js/bootstrap5-theme.min.js', localhost)
|
|
49
73
|
return <script type="text/javascript" src={url}></script>
|
|
50
74
|
}
|
|
51
75
|
|
|
52
|
-
export function VdsLogo({
|
|
76
|
+
export function VdsLogo({
|
|
77
|
+
locale,
|
|
78
|
+
disposition = 'default',
|
|
79
|
+
size = '17',
|
|
80
|
+
tagline = true,
|
|
81
|
+
dark = false
|
|
82
|
+
}) {
|
|
53
83
|
locale = fixLocale(locale)
|
|
54
84
|
let trans = i18n[locale] || i18n.en
|
|
55
85
|
|
|
56
|
-
if (disposition ==
|
|
57
|
-
disposition =
|
|
86
|
+
if (disposition == 'mobile') {
|
|
87
|
+
disposition = 'left-two-lines'
|
|
58
88
|
tagline = false
|
|
59
89
|
}
|
|
60
90
|
|
|
61
|
-
return
|
|
91
|
+
return (
|
|
92
|
+
<div
|
|
93
|
+
className="vipassana-logo"
|
|
62
94
|
data-lang={locale}
|
|
63
95
|
data-disposition={disposition}
|
|
64
96
|
data-tagline={tagline}
|
|
65
97
|
data-dark-mode={dark}
|
|
66
98
|
data-reverse={trans.reverse}
|
|
67
|
-
style={{fontSize: `${size}px`}}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<
|
|
71
|
-
<
|
|
72
|
-
{trans.vipassana_meditation}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
99
|
+
style={{ fontSize: `${size}px` }}
|
|
100
|
+
>
|
|
101
|
+
<img className="logo-wheel" src="https://design-standards.dhamma.org/dist/dhamma-wheel.svg" />
|
|
102
|
+
<div className="logo-text">
|
|
103
|
+
<h1 className="logo-title">
|
|
104
|
+
<span data-start-with={trans.vipassana_meditation.charAt(0).toLowerCase()}>
|
|
105
|
+
{trans.vipassana_meditation}
|
|
106
|
+
</span>
|
|
107
|
+
<span className="logo-space"> </span>
|
|
108
|
+
<span>{trans.as_taught}</span>
|
|
109
|
+
<span className="vipassana-as-taught">{trans.vipassana_as_taught}</span>
|
|
110
|
+
</h1>
|
|
111
|
+
<div className="logo-subtitle">{trans.in_the_tradition}</div>
|
|
112
|
+
</div>
|
|
79
113
|
</div>
|
|
80
|
-
|
|
114
|
+
)
|
|
81
115
|
}
|
|
82
116
|
|
|
83
117
|
// Some icons from bootstrap icons, so all websites use the same
|
|
84
|
-
export function VdsIconLocale({size = 1.2}) {
|
|
85
|
-
return
|
|
86
|
-
<
|
|
87
|
-
|
|
88
|
-
|
|
118
|
+
export function VdsIconLocale({ size = 1.2 }) {
|
|
119
|
+
return (
|
|
120
|
+
<svg
|
|
121
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
122
|
+
width={`${size}em`}
|
|
123
|
+
height={`${size}em`}
|
|
124
|
+
fill="currentColor"
|
|
125
|
+
viewBox="0 0 16 16"
|
|
126
|
+
>
|
|
127
|
+
<path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286H4.545zm1.634-.736L5.5 3.956h-.049l-.679 2.022H6.18z" />
|
|
128
|
+
<path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zm7.138 9.995c.193.301.402.583.63.846-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6.066 6.066 0 0 1-.415-.492 1.988 1.988 0 0 1-.94.31z" />
|
|
129
|
+
</svg>
|
|
130
|
+
)
|
|
89
131
|
}
|
|
90
132
|
|
|
91
|
-
export function VdsIconAccount({size = 2.2}) {
|
|
92
|
-
return
|
|
93
|
-
<
|
|
94
|
-
|
|
95
|
-
|
|
133
|
+
export function VdsIconAccount({ size = 2.2 }) {
|
|
134
|
+
return (
|
|
135
|
+
<svg
|
|
136
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
137
|
+
width={`${size}em`}
|
|
138
|
+
height={`${size}em`}
|
|
139
|
+
fill="currentColor"
|
|
140
|
+
viewBox="0 0 16 16"
|
|
141
|
+
>
|
|
142
|
+
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z" />
|
|
143
|
+
<path
|
|
144
|
+
fillRule="evenodd"
|
|
145
|
+
d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"
|
|
146
|
+
/>
|
|
147
|
+
</svg>
|
|
148
|
+
)
|
|
96
149
|
}
|
|
97
150
|
|
|
98
|
-
export function VdsIconMenu({size = 1.8}) {
|
|
99
|
-
return
|
|
100
|
-
<
|
|
101
|
-
|
|
151
|
+
export function VdsIconMenu({ size = 1.8 }) {
|
|
152
|
+
return (
|
|
153
|
+
<svg
|
|
154
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
155
|
+
width={`${size}em`}
|
|
156
|
+
height={`${size}em`}
|
|
157
|
+
fill="currentColor"
|
|
158
|
+
viewBox="0 0 16 16"
|
|
159
|
+
>
|
|
160
|
+
<path
|
|
161
|
+
fillRule="evenodd"
|
|
162
|
+
d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"
|
|
163
|
+
/>
|
|
164
|
+
</svg>
|
|
165
|
+
)
|
|
102
166
|
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
@import
|
|
1
|
+
@import './custom-bootstrap-variables.scss';
|
|
2
2
|
|
|
3
|
-
@import
|
|
3
|
+
@import 'bootstrap5/scss/bootstrap.scss';
|
|
4
4
|
|
|
5
|
-
@import
|
|
6
|
-
@import
|
|
5
|
+
@import './custom-bootstrap-utilities.scss';
|
|
6
|
+
@import './custom-bootstrap.scss';
|
|
7
7
|
|
|
8
|
-
@import
|
|
9
|
-
@import
|
|
10
|
-
@import
|
|
11
|
-
@import
|
|
8
|
+
@import './layout/vds-mixins.scss';
|
|
9
|
+
@import './layout/vds-layout.scss';
|
|
10
|
+
@import './layout/vds-header.scss';
|
|
11
|
+
@import './layout/vds-sidenav.scss';
|
|
12
12
|
|
|
13
|
-
@import
|
|
14
|
-
@import
|
|
13
|
+
@import './fonts.scss';
|
|
14
|
+
@import './logo.scss';
|
|
15
15
|
|
|
16
16
|
html.vds-html {
|
|
17
17
|
font-size: 13.5px;
|
|
@@ -21,4 +21,4 @@ html.vds-html {
|
|
|
21
21
|
@include media-breakpoint-up(xl) {
|
|
22
22
|
font-size: 15.3px;
|
|
23
23
|
}
|
|
24
|
-
}
|
|
24
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
:root {
|
|
3
2
|
// Generate missing CSS Variables
|
|
4
3
|
@each $color, $value in $blues {
|
|
@@ -54,56 +53,136 @@
|
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
// fs-09-rem, fs-085-em..
|
|
57
|
-
.fs-05-rem {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
.fs-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
.fs-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
.fs-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
.fs-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
.fs-
|
|
80
|
-
|
|
56
|
+
.fs-05-rem {
|
|
57
|
+
font-size: 0.5rem !important;
|
|
58
|
+
}
|
|
59
|
+
.fs-05-em {
|
|
60
|
+
font-size: 0.5em !important;
|
|
61
|
+
}
|
|
62
|
+
.fs-055-rem {
|
|
63
|
+
font-size: 0.55rem !important;
|
|
64
|
+
}
|
|
65
|
+
.fs-055-em {
|
|
66
|
+
font-size: 0.55em !important;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.fs-06-rem {
|
|
70
|
+
font-size: 0.6rem !important;
|
|
71
|
+
}
|
|
72
|
+
.fs-06-em {
|
|
73
|
+
font-size: 0.6em !important;
|
|
74
|
+
}
|
|
75
|
+
.fs-065-rem {
|
|
76
|
+
font-size: 0.65rem !important;
|
|
77
|
+
}
|
|
78
|
+
.fs-065-em {
|
|
79
|
+
font-size: 0.65em !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.fs-07-rem {
|
|
83
|
+
font-size: 0.7rem !important;
|
|
84
|
+
}
|
|
85
|
+
.fs-07-em {
|
|
86
|
+
font-size: 0.7em !important;
|
|
87
|
+
}
|
|
88
|
+
.fs-075-rem {
|
|
89
|
+
font-size: 0.75rem !important;
|
|
90
|
+
}
|
|
91
|
+
.fs-075-em {
|
|
92
|
+
font-size: 0.75em !important;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.fs-08-rem {
|
|
96
|
+
font-size: 0.8rem !important;
|
|
97
|
+
}
|
|
98
|
+
.fs-08-em {
|
|
99
|
+
font-size: 0.8em !important;
|
|
100
|
+
}
|
|
101
|
+
.fs-085-rem {
|
|
102
|
+
font-size: 0.85rem !important;
|
|
103
|
+
}
|
|
104
|
+
.fs-085-em {
|
|
105
|
+
font-size: 0.85em !important;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.fs-09-rem {
|
|
109
|
+
font-size: 0.9rem !important;
|
|
110
|
+
}
|
|
111
|
+
.fs-09-em {
|
|
112
|
+
font-size: 0.9em !important;
|
|
113
|
+
}
|
|
114
|
+
.fs-095-rem {
|
|
115
|
+
font-size: 0.95rem !important;
|
|
116
|
+
}
|
|
117
|
+
.fs-095-em {
|
|
118
|
+
font-size: 0.95em !important;
|
|
119
|
+
}
|
|
81
120
|
|
|
82
121
|
// fs-11-rem, fs-125-em...
|
|
83
|
-
.fs-11-rem {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
.fs-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
.fs-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
.fs-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
.fs-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
.fs-
|
|
106
|
-
|
|
122
|
+
.fs-11-rem {
|
|
123
|
+
font-size: 1.1rem !important;
|
|
124
|
+
}
|
|
125
|
+
.fs-11-em {
|
|
126
|
+
font-size: 1.1em !important;
|
|
127
|
+
}
|
|
128
|
+
.fs-115-rem {
|
|
129
|
+
font-size: 1.15rem !important;
|
|
130
|
+
}
|
|
131
|
+
.fs-115-em {
|
|
132
|
+
font-size: 1.15em !important;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.fs-12-rem {
|
|
136
|
+
font-size: 1.2rem !important;
|
|
137
|
+
}
|
|
138
|
+
.fs-12-em {
|
|
139
|
+
font-size: 1.2em !important;
|
|
140
|
+
}
|
|
141
|
+
.fs-125-rem {
|
|
142
|
+
font-size: 1.25rem !important;
|
|
143
|
+
}
|
|
144
|
+
.fs-125-em {
|
|
145
|
+
font-size: 1.25em !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.fs-13-rem {
|
|
149
|
+
font-size: 1.3rem !important;
|
|
150
|
+
}
|
|
151
|
+
.fs-13-em {
|
|
152
|
+
font-size: 1.3em !important;
|
|
153
|
+
}
|
|
154
|
+
.fs-135-rem {
|
|
155
|
+
font-size: 1.35rem !important;
|
|
156
|
+
}
|
|
157
|
+
.fs-135-em {
|
|
158
|
+
font-size: 1.35em !important;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.fs-14-rem {
|
|
162
|
+
font-size: 1.4rem !important;
|
|
163
|
+
}
|
|
164
|
+
.fs-14-em {
|
|
165
|
+
font-size: 1.4em !important;
|
|
166
|
+
}
|
|
167
|
+
.fs-145-rem {
|
|
168
|
+
font-size: 1.45rem !important;
|
|
169
|
+
}
|
|
170
|
+
.fs-145-em {
|
|
171
|
+
font-size: 1.45em !important;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.fs-15-rem {
|
|
175
|
+
font-size: 1.5rem !important;
|
|
176
|
+
}
|
|
177
|
+
.fs-15-em {
|
|
178
|
+
font-size: 1.5em !important;
|
|
179
|
+
}
|
|
180
|
+
.fs-155-rem {
|
|
181
|
+
font-size: 1.55rem !important;
|
|
182
|
+
}
|
|
183
|
+
.fs-155-em {
|
|
184
|
+
font-size: 1.55em !important;
|
|
185
|
+
}
|
|
107
186
|
|
|
108
187
|
.full-width-sm {
|
|
109
188
|
@include media-breakpoint-down(md) {
|
|
@@ -139,4 +218,4 @@
|
|
|
139
218
|
padding: 2rem;
|
|
140
219
|
z-index: 500;
|
|
141
220
|
}
|
|
142
|
-
}
|
|
221
|
+
}
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
// Color Palette
|
|
2
2
|
$blue-100: #f8f9fa; // #f8f9fa; // #ececec; // primevue #e8eaf6 //#f1eff1;
|
|
3
3
|
$blue-150: #f0f2f4; //#e6e5ec;
|
|
4
|
-
$blue-200: #
|
|
4
|
+
$blue-200: #d2d6df; //#e6e5ec; //#ced4da;
|
|
5
5
|
$blue-300: #8586a2;
|
|
6
6
|
$blue-400: #707595;
|
|
7
7
|
$blue-500: #5b6588;
|
|
8
8
|
$blue-600: #47547b;
|
|
9
9
|
$blue-700: #32446e;
|
|
10
|
-
$blue-800: #
|
|
10
|
+
$blue-800: #1e3461;
|
|
11
11
|
$blue-900: #121f3a;
|
|
12
12
|
|
|
13
13
|
$blue: $blue-800;
|
|
14
14
|
|
|
15
|
-
$gold-100: #
|
|
15
|
+
$gold-100: #fcfaf7;
|
|
16
16
|
$gold-200: #f0e7d5;
|
|
17
17
|
$gold-300: #deccad;
|
|
18
18
|
$gold-400: #c6a364;
|
|
19
|
-
$gold-500: #
|
|
19
|
+
$gold-500: #b78730;
|
|
20
20
|
$gold-600: #9c6b14;
|
|
21
|
-
$gold-700: #
|
|
21
|
+
$gold-700: #7d550c;
|
|
22
22
|
$gold-800: #493613;
|
|
23
23
|
$gold-900: #241a09;
|
|
24
24
|
|
|
25
25
|
$gold: $gold-500;
|
|
26
26
|
|
|
27
27
|
$blues: (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
28
|
+
'blue-100': $blue-100,
|
|
29
|
+
'blue-150': $blue-150,
|
|
30
|
+
'blue-200': $blue-200,
|
|
31
|
+
'blue-300': $blue-300,
|
|
32
|
+
'blue-400': $blue-400,
|
|
33
|
+
'blue-500': $blue-500,
|
|
34
|
+
'blue-600': $blue-600,
|
|
35
|
+
'blue-700': $blue-700,
|
|
36
|
+
'blue-800': $blue-800,
|
|
37
|
+
'blue-900': $blue-900
|
|
38
38
|
);
|
|
39
39
|
|
|
40
40
|
$golds: (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
'gold-100': $gold-100,
|
|
42
|
+
'gold-200': $gold-200,
|
|
43
|
+
'gold-300': $gold-300,
|
|
44
|
+
'gold-400': $gold-400,
|
|
45
|
+
'gold-500': $gold-500,
|
|
46
|
+
'gold-600': $gold-600,
|
|
47
|
+
'gold-700': $gold-700,
|
|
48
|
+
'gold-800': $gold-800,
|
|
49
|
+
'gold-900': $gold-900
|
|
50
50
|
);
|
|
51
51
|
|
|
52
|
-
$green-200: #
|
|
52
|
+
$green-200: #d5e4c3;
|
|
53
53
|
$green: #3d6b00;
|
|
54
54
|
$green-700: #203800;
|
|
55
55
|
|
|
56
|
-
$red-200: #
|
|
56
|
+
$red-200: #eccccc;
|
|
57
57
|
$red: #8e3333;
|
|
58
58
|
$red-700: #720000;
|
|
59
59
|
|
|
@@ -61,7 +61,7 @@ $primary: $blue-800;
|
|
|
61
61
|
$secondary: $gold-500;
|
|
62
62
|
$info: $secondary;
|
|
63
63
|
|
|
64
|
-
$dark: #
|
|
64
|
+
$dark: #4f4d47;
|
|
65
65
|
$light: $blue-150;
|
|
66
66
|
|
|
67
67
|
$dark-100: tint-color($dark, 80%);
|
|
@@ -76,10 +76,14 @@ $dark-900: shade-color($dark, 80%);
|
|
|
76
76
|
|
|
77
77
|
// Customize Bootstrap
|
|
78
78
|
|
|
79
|
-
$font-family-sans-serif: var(--vds-font-family), system-ui, -apple-system,
|
|
79
|
+
$font-family-sans-serif: var(--vds-font-family), system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
80
|
+
'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji',
|
|
81
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
80
82
|
$line-height-base: 1.7;
|
|
81
83
|
|
|
82
|
-
$headings-font-family: var(--vds-headings-font-family), system-ui, -apple-system,
|
|
84
|
+
$headings-font-family: var(--vds-headings-font-family), system-ui, -apple-system, 'Segoe UI', Roboto,
|
|
85
|
+
'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji',
|
|
86
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
83
87
|
$headings-color: $blue;
|
|
84
88
|
$headings-font-weight: 500;
|
|
85
89
|
$headings-line-height: 1.5;
|
|
@@ -87,7 +91,7 @@ $headings-line-height: 1.5;
|
|
|
87
91
|
$font-weight-semibold: 500;
|
|
88
92
|
$font-weight-bold: 600;
|
|
89
93
|
|
|
90
|
-
$border-radius: .25rem;
|
|
94
|
+
$border-radius: 0.25rem;
|
|
91
95
|
$border-color: $blue-200;
|
|
92
96
|
$body-bg: $gold-100;
|
|
93
97
|
|
|
@@ -96,7 +100,7 @@ $spacer-x: 1.5rem;
|
|
|
96
100
|
|
|
97
101
|
$input-bg: white;
|
|
98
102
|
$input-btn-padding-x: 1rem;
|
|
99
|
-
$input-btn-padding-x-sm: .75rem;
|
|
103
|
+
$input-btn-padding-x-sm: 0.75rem;
|
|
100
104
|
$input-border-color: $border-color;
|
|
101
105
|
|
|
102
106
|
$form-floating-height: calc(3.7rem + 2px);
|
|
@@ -107,7 +111,7 @@ $alert-border-width: 0;
|
|
|
107
111
|
|
|
108
112
|
$card-spacer-x: $spacer-x;
|
|
109
113
|
$card-cap-padding-x: $spacer-x;
|
|
110
|
-
$card-cap-padding-y: .75rem;
|
|
114
|
+
$card-cap-padding-y: 0.75rem;
|
|
111
115
|
$card-border-width: 0;
|
|
112
116
|
|
|
113
117
|
$accordion-padding-x: $spacer-x;
|
|
@@ -118,14 +122,14 @@ $badge-font-weight: 400;
|
|
|
118
122
|
|
|
119
123
|
$offcanvas-horizontal-width: auto;
|
|
120
124
|
$offcanvas-padding-x: 1.5rem;
|
|
121
|
-
$offcanvas-transition-duration: .25s;
|
|
125
|
+
$offcanvas-transition-duration: 0.25s;
|
|
122
126
|
|
|
123
127
|
$modal-inner-padding: $spacer-x;
|
|
124
128
|
$modal-content-border-radius: $border-radius;
|
|
125
129
|
$modal-content-border-width: 0;
|
|
126
130
|
$modal-header-border-width: 0;
|
|
127
131
|
$modal-header-padding: 1rem $modal-inner-padding 0 $modal-inner-padding;
|
|
128
|
-
$modal-fade-transform: translate(0, 0) scale(.8);
|
|
129
|
-
$modal-transition: transform .15s ease-out;
|
|
132
|
+
$modal-fade-transform: translate(0, 0) scale(0.8);
|
|
133
|
+
$modal-transition: transform 0.15s ease-out;
|
|
130
134
|
|
|
131
|
-
$enable-negative-margins: true;
|
|
135
|
+
$enable-negative-margins: true;
|