@odx/ui 1.0.0-rc.1 → 1.0.0-rc.2
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/LICENSE +1 -0
- package/README.md +32 -0
- package/core-theme.css +1 -1
- package/package.json +6 -8
- package/scss/{modules → abstract}/_breakpoints.scss +11 -11
- package/scss/{modules/_vertical-rythm.scss → abstract/_dimensions.scss} +28 -26
- package/scss/abstract/_index.scss +5 -0
- package/scss/abstract/_motion.scss +10 -0
- package/scss/abstract/_typography.scss +25 -0
- package/scss/abstract/_utils.scss +114 -0
- package/scss/components/accordion-item.component.scss +59 -0
- package/scss/components/accordion.component.scss +3 -0
- package/scss/components/{action-group/action-group.component.scss → action-group.component.scss} +10 -6
- package/scss/components/{area-header/area-header.component.scss → area-header.component.scss} +28 -27
- package/scss/components/{avatar/avatar.component.scss → avatar.component.scss} +13 -13
- package/scss/components/{badge/badge.component.scss → badge.component.scss} +10 -10
- package/scss/components/button-group.component.scss +98 -0
- package/scss/components/button.component.scss +123 -0
- package/scss/components/checkbox.component.scss +116 -0
- package/scss/components/content-box.component.scss +50 -0
- package/scss/components/form-field.component.scss +204 -0
- package/scss/components/header.component.scss +40 -0
- package/scss/components/icon.component.scss +35 -0
- package/scss/components/{link/link.component.scss → link.component.scss} +6 -4
- package/scss/components/{logo/logo.component.scss → logo.component.scss} +5 -4
- package/scss/components/main-menu-button.component.scss +7 -0
- package/scss/components/{main-menu/components/main-menu-item.component.scss → main-menu-item.component.scss} +13 -12
- package/scss/components/{main-menu/main-menu.component.scss → main-menu.component.scss} +35 -28
- package/scss/components/modal.component.scss +85 -0
- package/scss/components/radio-button.component.scss +120 -0
- package/scss/components/radio-group.component.scss +14 -0
- package/scss/components/switch.component.scss +163 -0
- package/scss/components/toggle-button-group.component.scss +25 -0
- package/scss/components/toggle-button.component.scss +55 -0
- package/scss/core.scss +34 -30
- package/scss/layout/_base.scss +29 -0
- package/scss/layout/_helpers.scss +95 -0
- package/scss/{modules → layout}/_layout.scss +96 -46
- package/scss/layout/_typography.scss +117 -0
- package/scss/{base/_reset.scss → reset.scss} +25 -5
- package/scss/variables/_color-palettes.scss +57 -54
- package/scss/variables/_colors.scss +12 -15
- package/scss/variables/_controls.scss +48 -0
- package/scss/variables/_index.scss +6 -0
- package/scss/variables/_typography.scss +18 -0
- package/scss/variables/_vertical-rythm.scss +3 -0
- package/scss/variables/_visuals.scss +12 -7
- package/core-icons.css +0 -13
- package/scss/_helpers.scss +0 -15
- package/scss/base/_mixins.scss +0 -3
- package/scss/base/_utils.scss +0 -19
- package/scss/base/mixins/_container.scss +0 -31
- package/scss/base/mixins/_control.scss +0 -50
- package/scss/base/mixins/_transition.scss +0 -10
- package/scss/components/button/button.component.scss +0 -94
- package/scss/components/checkbox/checkbox.component.scss +0 -130
- package/scss/components/content-box/content-box.component.scss +0 -50
- package/scss/components/header/header.component.scss +0 -39
- package/scss/components/icon/icon.component.scss +0 -38
- package/scss/components/main-menu/components/main-menu-button.component.scss +0 -7
- package/scss/components/radio-group/_radio-group.component.scss +0 -145
- package/scss/modules/_typography.scss +0 -161
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/dimensions';
|
|
3
|
+
@use '../abstract/typography';
|
|
4
|
+
@use '../abstract/utils';
|
|
5
|
+
|
|
6
|
+
html body {
|
|
7
|
+
@each $size in (4, 8, 12, 16, 24, 36, 48) {
|
|
8
|
+
$factor: math.div($size, 24);
|
|
9
|
+
@each $direction in (top, right, bottom, left) {
|
|
10
|
+
.odx-margin-#{$direction}-#{$size} {
|
|
11
|
+
@include dimensions.margin($factor, $direction);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.odx-margin-x-#{$size} {
|
|
16
|
+
@include dimensions.margin-x($factor);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.odx-margin-y-#{$size} {
|
|
20
|
+
@include dimensions.margin-y($factor);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.odx-margin-#{$size} {
|
|
24
|
+
@include dimensions.margin($factor);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@each $size in (4, 8, 12, 16, 24, 36, 48) {
|
|
29
|
+
$factor: math.div($size, 24);
|
|
30
|
+
@each $direction in (top, right, bottom, left) {
|
|
31
|
+
.odx-padding-#{$direction}-#{$size} {
|
|
32
|
+
@include dimensions.padding($factor, $direction);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.odx-padding-x-#{$size} {
|
|
37
|
+
@include dimensions.padding-x($factor);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.odx-padding-y-#{$size} {
|
|
41
|
+
@include dimensions.padding-y($factor);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.odx-padding-#{$size} {
|
|
45
|
+
@include dimensions.padding($factor);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.odx-visually-hidden {
|
|
50
|
+
@include utils.visually-hidden();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
hr,
|
|
54
|
+
.odx-seperator {
|
|
55
|
+
@include dimensions.height(1, math.div(1, 24));
|
|
56
|
+
|
|
57
|
+
background-color: var(--odx-c-seperator);
|
|
58
|
+
border: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
ul,
|
|
62
|
+
ol,
|
|
63
|
+
.odx-text-list {
|
|
64
|
+
@include dimensions.margin-y(0.5);
|
|
65
|
+
@include dimensions.padding(1, left);
|
|
66
|
+
|
|
67
|
+
ul,
|
|
68
|
+
ol {
|
|
69
|
+
@include dimensions.margin(0);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
li {
|
|
73
|
+
@include dimensions.margin(math.div(-1, 24), left);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.odx-fs-normal {
|
|
78
|
+
@include typography.font-weight(normal);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.odx-fs-medium {
|
|
82
|
+
@include typography.font-weight(medium);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
b,
|
|
86
|
+
strong,
|
|
87
|
+
.odx-fs-bold {
|
|
88
|
+
@include typography.font-weight(bold);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
em,
|
|
92
|
+
.odx-fs-italic {
|
|
93
|
+
font-style: italic;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
@use '
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/breakpoints';
|
|
3
|
+
@use '../abstract/dimensions';
|
|
3
4
|
|
|
4
5
|
$columns: 12 !default;
|
|
5
6
|
|
|
@@ -8,14 +9,101 @@ $columns: 12 !default;
|
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
:root {
|
|
11
|
-
--odx-grid-gutter: #{
|
|
12
|
+
--odx-grid-gutter: #{dimensions.get-size(1)};
|
|
13
|
+
--odx-grid-gutter-small: #{dimensions.get-size(math.div(8, 24))};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
#{create-selector(grid)},
|
|
17
|
+
#{create-selector(flex)} {
|
|
18
|
+
gap: var(--odx-grid-gutter);
|
|
19
|
+
|
|
20
|
+
&#{create-selector(gap-small)} {
|
|
21
|
+
gap: var(--odx-grid-gutter-small);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&#{create-selector(gap-none)} {
|
|
25
|
+
gap: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&#{create-selector(gap-row-none)} {
|
|
29
|
+
row-gap: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&#{create-selector(gap-column-none)} {
|
|
33
|
+
column-gap: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&#{create-selector(vertical-center)} {
|
|
37
|
+
align-items: center;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&#{create-selector(vertical-start)} {
|
|
41
|
+
align-items: flex-start;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&#{create-selector(vertical-end)} {
|
|
45
|
+
align-items: flex-end;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&#{create-selector(horizontal-center)} {
|
|
49
|
+
justify-items: center;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&#{create-selector(horizontal-start)} {
|
|
53
|
+
justify-items: flex-start;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&#{create-selector(horizontal-end)} {
|
|
57
|
+
justify-items: flex-end;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
#{create-selector(first)} {
|
|
61
|
+
order: -1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#{create-selector(last)} {
|
|
65
|
+
order: $columns;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
#{create-selector(seperator)} {
|
|
69
|
+
background-clip: content-box;
|
|
70
|
+
border-color: var(--odx-c-seperator);
|
|
71
|
+
border-style: solid;
|
|
72
|
+
|
|
73
|
+
@each $side in (right, left) {
|
|
74
|
+
&#{create-selector($side)} {
|
|
75
|
+
border-#{$side}-width: 1px;
|
|
76
|
+
margin-#{$side}: calc(-0.5 * var(--odx-grid-gutter));
|
|
77
|
+
padding-#{$side}: calc(0.5 * var(--odx-grid-gutter));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
#{create-selector(flex)} {
|
|
84
|
+
display: flex;
|
|
85
|
+
|
|
86
|
+
&#{create-selector(inline)} {
|
|
87
|
+
display: inline-flex;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&#{create-selector(wrap)} {
|
|
91
|
+
flex-wrap: wrap;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#{create-selector(auto)} {
|
|
95
|
+
flex: 1 1 auto;
|
|
96
|
+
}
|
|
12
97
|
}
|
|
13
98
|
|
|
14
99
|
#{create-selector(grid)} {
|
|
15
100
|
display: grid;
|
|
16
|
-
gap: var(--odx-grid-gutter);
|
|
17
101
|
grid-template-columns: repeat(12, 1fr);
|
|
18
102
|
|
|
103
|
+
&#{create-selector(inline)} {
|
|
104
|
+
display: inline-grid;
|
|
105
|
+
}
|
|
106
|
+
|
|
19
107
|
@each $breakpoint in breakpoints.get-breakpoint-names() {
|
|
20
108
|
&#{create-selector(\@#{$breakpoint}, '*')} {
|
|
21
109
|
grid-template-columns: 12fr;
|
|
@@ -62,47 +150,9 @@ $columns: 12 !default;
|
|
|
62
150
|
}
|
|
63
151
|
}
|
|
64
152
|
|
|
65
|
-
&#{create-selector(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
&#{create-selector(gap-row-none)} {
|
|
70
|
-
row-gap: 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&#{create-selector(gap-column-none)} {
|
|
74
|
-
column-gap: 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&#{create-selector(vertical-center)} {
|
|
78
|
-
align-items: center;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&#{create-selector(vertical-start)} {
|
|
82
|
-
align-items: flex-start;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&#{create-selector(vertical-end)} {
|
|
86
|
-
align-items: flex-end;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&#{create-selector(horizontal-center)} {
|
|
90
|
-
justify-items: center;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&#{create-selector(horizontal-start)} {
|
|
94
|
-
justify-items: flex-start;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&#{create-selector(horizontal-end)} {
|
|
98
|
-
justify-items: flex-end;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
#{create-selector(first)} {
|
|
102
|
-
order: -1;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
#{create-selector(last)} {
|
|
106
|
-
order: $columns;
|
|
153
|
+
&#{create-selector(auto)} {
|
|
154
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
155
|
+
grid-auto-flow: column;
|
|
156
|
+
grid-template-columns: unset;
|
|
107
157
|
}
|
|
108
158
|
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/* stylelint-disable block-closing-brace-newline-after */
|
|
2
|
+
@use 'sass:math';
|
|
3
|
+
@use '../abstract/breakpoints';
|
|
4
|
+
@use '../abstract/dimensions';
|
|
5
|
+
@use '../abstract/typography';
|
|
6
|
+
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: Pangea;
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-weight: normal;
|
|
11
|
+
src: url('../assets/fonts/PangeaText-RegularWeb.woff2') format('woff2');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: Pangea;
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
src: url('../assets/fonts/PangeaText-MediumWeb.woff2') format('woff2');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: Pangea;
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: bold;
|
|
25
|
+
src: url('../assets/fonts/PangeaText-SemiBoldWeb.woff2') format('woff2');
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
html body {
|
|
29
|
+
@include dimensions.line-height(1);
|
|
30
|
+
@include typography.font-size(0);
|
|
31
|
+
|
|
32
|
+
color: var(--odx-c-text);
|
|
33
|
+
font-family: Pangea, sans-serif;
|
|
34
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
h1,
|
|
38
|
+
h2,
|
|
39
|
+
h3,
|
|
40
|
+
h4,
|
|
41
|
+
h5,
|
|
42
|
+
h6,
|
|
43
|
+
.odx-title,
|
|
44
|
+
.odx-subtitle {
|
|
45
|
+
@include typography.font-weight(bold);
|
|
46
|
+
|
|
47
|
+
color: var(--odx-c-headline);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.odx-subtitle {
|
|
51
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
h1,
|
|
55
|
+
.odx-title--1 {
|
|
56
|
+
@include dimensions.line-height(2, math.div(40, 24));
|
|
57
|
+
@include typography.font-size(5);
|
|
58
|
+
|
|
59
|
+
@include breakpoints.up(tablet) {
|
|
60
|
+
@include dimensions.line-height(3, math.div(64, 24));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
h2,
|
|
65
|
+
.odx-title--2 {
|
|
66
|
+
@include dimensions.line-height(2, 1.5);
|
|
67
|
+
@include typography.font-size(4);
|
|
68
|
+
|
|
69
|
+
@include breakpoints.up(tablet) {
|
|
70
|
+
@include dimensions.line-height(3, math.div(54, 24));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
h3,
|
|
75
|
+
.odx-title--3 {
|
|
76
|
+
@include dimensions.line-height(2, math.div(32, 24));
|
|
77
|
+
@include typography.font-size(3);
|
|
78
|
+
|
|
79
|
+
@include breakpoints.up(tablet) {
|
|
80
|
+
@include dimensions.line-height(2, math.div(42, 24));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
h4,
|
|
85
|
+
.odx-title--4 {
|
|
86
|
+
@include dimensions.line-height(2, math.div(30, 24));
|
|
87
|
+
@include typography.font-size(2);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
h5,
|
|
91
|
+
.odx-title--5 {
|
|
92
|
+
@include dimensions.line-height(1);
|
|
93
|
+
@include typography.font-size(1);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
h6,
|
|
97
|
+
.odx-title--6 {
|
|
98
|
+
@include dimensions.line-height(1);
|
|
99
|
+
@include typography.font-size(0);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
p,
|
|
103
|
+
.odx-text {
|
|
104
|
+
@include dimensions.line-height(1);
|
|
105
|
+
|
|
106
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
107
|
+
|
|
108
|
+
&--small {
|
|
109
|
+
@include dimensions.line-height(1, math.div(20, 24));
|
|
110
|
+
@include typography.font-size(-1);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&--xsmall {
|
|
114
|
+
@include dimensions.line-height(1, math.div(16, 24));
|
|
115
|
+
@include typography.font-size(-2);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
License: none (public domain)
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
* {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
|
+
|
|
6
10
|
html,
|
|
7
11
|
body,
|
|
8
12
|
div,
|
|
@@ -18,6 +22,9 @@ h5,
|
|
|
18
22
|
h6,
|
|
19
23
|
p,
|
|
20
24
|
button,
|
|
25
|
+
input,
|
|
26
|
+
textarea,
|
|
27
|
+
select,
|
|
21
28
|
blockquote,
|
|
22
29
|
pre,
|
|
23
30
|
a,
|
|
@@ -108,11 +115,6 @@ section {
|
|
|
108
115
|
display: block;
|
|
109
116
|
}
|
|
110
117
|
|
|
111
|
-
ol,
|
|
112
|
-
ul {
|
|
113
|
-
list-style: none;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
118
|
blockquote,
|
|
117
119
|
q {
|
|
118
120
|
quotes: none;
|
|
@@ -134,3 +136,21 @@ table {
|
|
|
134
136
|
a {
|
|
135
137
|
text-decoration: none;
|
|
136
138
|
}
|
|
139
|
+
|
|
140
|
+
select,
|
|
141
|
+
input,
|
|
142
|
+
textarea {
|
|
143
|
+
background-color: transparent;
|
|
144
|
+
line-height: inherit;
|
|
145
|
+
min-height: inherit;
|
|
146
|
+
outline: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
select,
|
|
150
|
+
button {
|
|
151
|
+
cursor: pointer;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
::selection {
|
|
155
|
+
background-color: var(--odx-c-selection);
|
|
156
|
+
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
--white: #ffffff;
|
|
3
3
|
--black: #060a12;
|
|
4
4
|
|
|
5
|
-
--white-5: rgba(
|
|
6
|
-
--white-60: rgba(
|
|
5
|
+
--white-5: #{rgba(#ffffff, 5%)};
|
|
6
|
+
--white-60: #{rgba(#ffffff, 60%)};
|
|
7
7
|
|
|
8
8
|
--gray-50: #f5f7fa;
|
|
9
9
|
--gray-100: #e9eef4;
|
|
@@ -16,66 +16,69 @@
|
|
|
16
16
|
--gray-800: #697c8c;
|
|
17
17
|
--gray-900: #5d6a74;
|
|
18
18
|
|
|
19
|
-
--blue-50: #
|
|
20
|
-
--blue-100: #
|
|
21
|
-
--blue-200: #
|
|
22
|
-
--blue-300: #
|
|
23
|
-
--blue-400: #
|
|
24
|
-
--blue-500: #
|
|
25
|
-
--blue-600: #
|
|
26
|
-
--blue-700: #
|
|
27
|
-
--blue-800: #
|
|
19
|
+
--blue-50: #d5e2f6;
|
|
20
|
+
--blue-100: #a8c4f0;
|
|
21
|
+
--blue-200: #79a5ec;
|
|
22
|
+
--blue-300: #4786eb;
|
|
23
|
+
--blue-400: #1f65d7;
|
|
24
|
+
--blue-500: #0a51c2;
|
|
25
|
+
--blue-600: #043c95;
|
|
26
|
+
--blue-700: #002766;
|
|
27
|
+
--blue-800: #001433;
|
|
28
28
|
--blue-900: #000205;
|
|
29
29
|
|
|
30
|
-
--blue-700-5: rgba(
|
|
31
|
-
--blue-700-10: rgba(
|
|
30
|
+
--blue-700-5: #{rgba(#002766, 5%)};
|
|
31
|
+
--blue-700-10: #{rgba(#002766, 10%)};
|
|
32
|
+
--blue-700-25: #{rgba(#002766, 25%)};
|
|
33
|
+
--blue-800-30: #{rgba(#001433, 30%)};
|
|
32
34
|
|
|
33
|
-
--cyan-50: #
|
|
34
|
-
--cyan-100: #
|
|
35
|
-
--cyan-200: #
|
|
36
|
-
--cyan-300: #
|
|
37
|
-
--cyan-400: #
|
|
38
|
-
--cyan-500: #
|
|
39
|
-
--cyan-600: #
|
|
40
|
-
--cyan-700: #
|
|
41
|
-
--cyan-800: #
|
|
42
|
-
--cyan-900: #
|
|
35
|
+
--cyan-50: #cbe9ff;
|
|
36
|
+
--cyan-100: #9dd7ff;
|
|
37
|
+
--cyan-200: #70c4ff;
|
|
38
|
+
--cyan-300: #47b3ff;
|
|
39
|
+
--cyan-400: #1fa2ff;
|
|
40
|
+
--cyan-500: #0091f7;
|
|
41
|
+
--cyan-600: #007ad1;
|
|
42
|
+
--cyan-700: #0065ad;
|
|
43
|
+
--cyan-800: #00508a;
|
|
44
|
+
--cyan-900: #003c66;
|
|
43
45
|
|
|
44
|
-
--cyan-500-15:
|
|
46
|
+
--cyan-500-15: #{rgba(#0091f7, 15%)};
|
|
45
47
|
|
|
46
48
|
--red-00: #ffe0e3;
|
|
47
|
-
--red-50: #
|
|
48
|
-
--red-100: #
|
|
49
|
-
--red-200: #
|
|
50
|
-
--red-300: #
|
|
51
|
-
--red-400: #
|
|
52
|
-
--red-500: #
|
|
53
|
-
--red-600: #
|
|
54
|
-
--red-700: #
|
|
55
|
-
--red-800: #
|
|
56
|
-
--red-900: #
|
|
49
|
+
--red-50: #ffb4b4;
|
|
50
|
+
--red-100: #ff9898;
|
|
51
|
+
--red-200: #ff7b7b;
|
|
52
|
+
--red-300: #ff5c5c;
|
|
53
|
+
--red-400: #ff2020;
|
|
54
|
+
--red-500: #f30303;
|
|
55
|
+
--red-600: #d70202;
|
|
56
|
+
--red-700: #bc0000;
|
|
57
|
+
--red-800: #970000;
|
|
58
|
+
--red-900: #700000;
|
|
57
59
|
|
|
58
|
-
--yellow-50: #
|
|
59
|
-
--yellow-100: #
|
|
60
|
-
--yellow-200: #
|
|
61
|
-
--yellow-300: #
|
|
62
|
-
--yellow-400: #
|
|
63
|
-
--yellow-500: #
|
|
64
|
-
--yellow-600: #
|
|
65
|
-
--yellow-700: #
|
|
66
|
-
--yellow-800: #
|
|
67
|
-
--yellow-900: #
|
|
60
|
+
--yellow-50: #fffad7;
|
|
61
|
+
--yellow-100: #fff7b8;
|
|
62
|
+
--yellow-200: #fff18a;
|
|
63
|
+
--yellow-300: #ffed72;
|
|
64
|
+
--yellow-400: #ffea46;
|
|
65
|
+
--yellow-500: #ffe300;
|
|
66
|
+
--yellow-600: #e7cc00;
|
|
67
|
+
--yellow-700: #bea800;
|
|
68
|
+
--yellow-800: #988600;
|
|
69
|
+
--yellow-900: #7c6d00;
|
|
68
70
|
|
|
69
|
-
--green-
|
|
70
|
-
--green-
|
|
71
|
-
--green-
|
|
72
|
-
--green-
|
|
73
|
-
--green-
|
|
74
|
-
--green-
|
|
75
|
-
--green-
|
|
76
|
-
--green-
|
|
77
|
-
--green-
|
|
78
|
-
--green-
|
|
71
|
+
--green-00: #d1ffdf;
|
|
72
|
+
--green-50: #b7ffc6;
|
|
73
|
+
--green-100: #93ffaa;
|
|
74
|
+
--green-200: #6aff8b;
|
|
75
|
+
--green-300: #36ff62;
|
|
76
|
+
--green-400: #0bf23e;
|
|
77
|
+
--green-500: #00dd31;
|
|
78
|
+
--green-600: #00c92c;
|
|
79
|
+
--green-700: #00aa25;
|
|
80
|
+
--green-800: #00851d;
|
|
81
|
+
--green-900: #006616;
|
|
79
82
|
|
|
80
83
|
--orange-50: #fff6ed;
|
|
81
84
|
--orange-100: #ffebd6;
|
|
@@ -19,34 +19,31 @@
|
|
|
19
19
|
--odx-c-focus: var(--cyan-500-15);
|
|
20
20
|
--odx-c-focus-outline: var(--cyan-300);
|
|
21
21
|
|
|
22
|
-
--odx-c-selection: var(--cyan-
|
|
22
|
+
--odx-c-selection: var(--cyan-300);
|
|
23
|
+
|
|
24
|
+
--odx-c-backdrop: var(--white-60);
|
|
25
|
+
--odx-c-backdrop-dark: var(--blue-800-30);
|
|
26
|
+
|
|
27
|
+
--odx-c-backdrop-box-shadow: var(--blue-800-30);
|
|
23
28
|
|
|
24
|
-
--odx-c-overlay: var(--white-60);
|
|
25
29
|
--odx-c-seperator: var(--gray-200);
|
|
26
30
|
|
|
27
31
|
--odx-c-background: var(--gray-50);
|
|
28
32
|
--odx-c-background-content: var(--white);
|
|
29
33
|
|
|
30
|
-
--odx-c-control: var(--gray-100);
|
|
31
|
-
--odx-c-control-hover: var(--gray-400);
|
|
32
|
-
--odx-c-control-active: var(--gray-500);
|
|
33
|
-
--odx-c-control-disabled: var(--gray-300);
|
|
34
|
-
--odx-c-control-text: var(--odx-c-text);
|
|
35
|
-
--odx-c-control-text-disabled: var(--gray-600);
|
|
36
|
-
|
|
37
34
|
--odx-c-highlight: var(--cyan-500);
|
|
38
35
|
--odx-c-highlight-hover: var(--cyan-600);
|
|
39
36
|
--odx-c-highlight-active: var(--cyan-700);
|
|
40
37
|
--odx-c-highlight-disabled: var(--odx-c-highlight);
|
|
41
38
|
--odx-c-highlight-text: var(--odx-c-text-inverse);
|
|
42
|
-
--odx-c-highlight-text-disabled: var(--cyan-
|
|
39
|
+
--odx-c-highlight-text-disabled: var(--cyan-800);
|
|
43
40
|
|
|
44
41
|
--odx-c-primary: var(--blue-700);
|
|
45
42
|
--odx-c-primary-hover: var(--blue-800);
|
|
46
43
|
--odx-c-primary-active: var(--blue-900);
|
|
47
44
|
--odx-c-primary-disabled: var(--odx-c-primary);
|
|
48
45
|
--odx-c-primary-text: var(--odx-c-text-inverse);
|
|
49
|
-
--odx-c-primary-text-disabled: var(--blue-
|
|
46
|
+
--odx-c-primary-text-disabled: var(--blue-400);
|
|
50
47
|
|
|
51
48
|
--odx-c-secondary: var(--gray-300);
|
|
52
49
|
--odx-c-secondary-hover: var(--gray-400);
|
|
@@ -60,26 +57,26 @@
|
|
|
60
57
|
--odx-c-success-active: var(--green-700);
|
|
61
58
|
--odx-c-success-disabled: var(--green-500);
|
|
62
59
|
--odx-c-success-text: var(--odx-c-text);
|
|
63
|
-
--odx-c-success-text-disabled: var(--green-
|
|
60
|
+
--odx-c-success-text-disabled: var(--green-800);
|
|
64
61
|
|
|
65
62
|
--odx-c-warning: var(--yellow-500);
|
|
66
63
|
--odx-c-warning-hover: var(--yellow-600);
|
|
67
64
|
--odx-c-warning-active: var(--yellow-700);
|
|
68
65
|
--odx-c-warning-disabled: var(--yellow-500);
|
|
69
66
|
--odx-c-warning-text: var(--odx-c-text);
|
|
70
|
-
--odx-c-warning-text-disabled: var(--yellow-
|
|
67
|
+
--odx-c-warning-text-disabled: var(--yellow-800);
|
|
71
68
|
|
|
72
69
|
--odx-c-danger: var(--red-500);
|
|
73
70
|
--odx-c-danger-hover: var(--red-600);
|
|
74
71
|
--odx-c-danger-active: var(--red-700);
|
|
75
72
|
--odx-c-danger-disabled: var(--red-500);
|
|
76
73
|
--odx-c-danger-text: var(--odx-c-text-inverse);
|
|
77
|
-
--odx-c-danger-text-disabled: var(--red-
|
|
74
|
+
--odx-c-danger-text-disabled: var(--red-800);
|
|
78
75
|
|
|
79
76
|
--odx-c-confirmation: var(--orange-500);
|
|
80
77
|
--odx-c-confirmation-hover: var(--orange-600);
|
|
81
78
|
--odx-c-confirmation-active: var(--orange-700);
|
|
82
79
|
--odx-c-confirmation-disabled: var(--orange-500);
|
|
83
80
|
--odx-c-confirmation-text: var(--odx-c-text);
|
|
84
|
-
--odx-c-confirmation-text-disabled: var(--orange-
|
|
81
|
+
--odx-c-confirmation-text-disabled: var(--orange-800);
|
|
85
82
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--odx-control-color: var(--odx-c-text);
|
|
3
|
+
--odx-control-background-color: var(--gray-200);
|
|
4
|
+
--odx-control-outline-color: var(--gray-300);
|
|
5
|
+
|
|
6
|
+
--odx-control-color-hover: var(--odx-c-text);
|
|
7
|
+
--odx-control-background-color-hover: var(--gray-300);
|
|
8
|
+
--odx-control-outline-color-hover: var(--gray-400);
|
|
9
|
+
|
|
10
|
+
--odx-control-color-selected: var(--odx-c-highlight-text);
|
|
11
|
+
--odx-control-background-color-selected: var(--odx-c-highlight);
|
|
12
|
+
--odx-control-outline-color-selected: var(--odx-c-highlight);
|
|
13
|
+
|
|
14
|
+
--odx-control-color-disabled: var(--gray-600);
|
|
15
|
+
--odx-control-background-color-disabled: var(--gray-100);
|
|
16
|
+
--odx-control-outline-color-disabled: transparent;
|
|
17
|
+
|
|
18
|
+
--odx-control-color-readonly: var(--odx-control-color);
|
|
19
|
+
--odx-control-background-color-readonly: transparent;
|
|
20
|
+
--odx-control-outline-color-readonly: var(--odx-control-color);
|
|
21
|
+
|
|
22
|
+
--odx-control-color-error: var(--odx-c-error-text);
|
|
23
|
+
--odx-control-background-color-error: var(--odx-c-error);
|
|
24
|
+
--odx-control-outline-color-error: var(--odx-c-error-outline);
|
|
25
|
+
--odx-control-outline-color-error-hover: var(--odx-c-error-outline-hover);
|
|
26
|
+
|
|
27
|
+
--odx-input-control-color: var(--odx-c-text);
|
|
28
|
+
--odx-input-control-background-color: var(--gray-100);
|
|
29
|
+
--odx-input-control-outline-color: var(--gray-200);
|
|
30
|
+
--odx-input-control-placeholder-color: var(--blue-700-25);
|
|
31
|
+
|
|
32
|
+
--odx-input-control-color-hover: var(--odx-c-text);
|
|
33
|
+
--odx-input-control-background-color-hover: var(--gray-200);
|
|
34
|
+
--odx-input-control-outline-color-hover: var(--gray-300);
|
|
35
|
+
|
|
36
|
+
--odx-input-control-color-disabled: var(--gray-500);
|
|
37
|
+
--odx-input-control-background-color-disabled: var(--gray-50);
|
|
38
|
+
--odx-input-control-outline-color-disabled: transparent;
|
|
39
|
+
|
|
40
|
+
--odx-input-control-color-readonly: var(--odx-control-color);
|
|
41
|
+
--odx-input-control-background-color-readonly: transparent;
|
|
42
|
+
--odx-input-control-outline-color-readonly: var(--odx-control-outline-color);
|
|
43
|
+
|
|
44
|
+
--odx-input-control-color-error: var(--odx-c-error-text);
|
|
45
|
+
--odx-input-control-background-color-error: var(--odx-c-error);
|
|
46
|
+
--odx-input-control-outline-color-error: var(--odx-c-error-outline);
|
|
47
|
+
--odx-input-control-outline-color-error-hover: var(--odx-c-error-outline-hover);
|
|
48
|
+
}
|