minolith 1.1.8 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minolith",
3
- "version": "1.1.8",
3
+ "version": "1.3.0",
4
4
  "description": "design system by minominolyly",
5
5
  "main": "src/minolith.scss",
6
6
  "scripts": {
@@ -19,6 +19,10 @@
19
19
  font-family: var(--#{variables.$prefix}font-family-main);
20
20
  z-index: var(--#{variables.$prefix}z-index-tabula);
21
21
  text-size-adjust: 100%;
22
+ line-height: 1.5;
23
+ letter-spacing: 0.025rem;
24
+ text-autospace: normal;
25
+ text-spacing-trim: trim-start;
22
26
 
23
27
  &::selection {
24
28
  color: var(--#{variables.$prefix}tabula-color-selection-fore);
@@ -0,0 +1,7 @@
1
+ @use "sass:map";
2
+ @use "../variables/index.scss" as variables;
3
+ @use "../mixins/index.scss" as mixins;
4
+
5
+ :where(.aside) {
6
+ @include mixins.element();
7
+ }
@@ -0,0 +1,46 @@
1
+ @use "sass:map";
2
+ @use "../variables/index.scss" as variables;
3
+ @use "../mixins/index.scss" as mixins;
4
+
5
+ :where(.description-list) {
6
+ --#{variables.$prefix}description-list-gutter-y: 1rem;
7
+ --#{variables.$prefix}description-details-indent: 2rem;
8
+ @include mixins.element();
9
+ display: grid;
10
+ gap: var(--#{variables.$prefix}description-list-gutter-y) 0;
11
+
12
+ &.has-marker {
13
+ > :where(.description-list-item) {
14
+ display: list-item;
15
+ list-style-type: disc;
16
+ margin-left: var(--#{variables.$prefix}description-details-indent);
17
+ > :where(.description-details) {
18
+ @include mixins.element();
19
+ margin-left: 0;
20
+ }
21
+ }
22
+ }
23
+
24
+ > :where(.description-list-item) {
25
+ @include mixins.element();
26
+ display: block;
27
+
28
+ &.has-separater {
29
+ > :where(.description-term) {
30
+ &::after {
31
+ content: ":";
32
+ }
33
+ }
34
+ }
35
+
36
+ > :where(.description-term) {
37
+ @include mixins.element();
38
+ font-weight: var(--#{variables.$prefix}font-weight-semibold);
39
+ }
40
+
41
+ > :where(.description-details) {
42
+ @include mixins.element();
43
+ margin-left: var(--#{variables.$prefix}description-details-indent);
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,173 @@
1
+ @use "sass:map";
2
+ @use "../variables/index.scss" as variables;
3
+ @use "../icons/index.scss" as icons;
4
+ @use "../mixins/index.scss" as mixins;
5
+
6
+ :where(.figure) {
7
+ --#{variables.$prefix}figure-color-fore: var(
8
+ --#{variables.$prefix}color-default-figure-fore,
9
+ var(--#{variables.$prefix}color-default-fore)
10
+ );
11
+ --#{variables.$prefix}figure-color-back: var(
12
+ --#{variables.$prefix}color-default-figure-back,
13
+ var(--#{variables.$prefix}color-default-back)
14
+ );
15
+ --#{variables.$prefix}figure-color-border: var(
16
+ --#{variables.$prefix}color-default-figure-border,
17
+ var(--#{variables.$prefix}color-default-border)
18
+ );
19
+
20
+ --#{variables.$prefix}figure-color-selection-fore: var(
21
+ --#{variables.$prefix}color-default-figure-selection-fore,
22
+ var(--#{variables.$prefix}color-default-selection-fore)
23
+ );
24
+ --#{variables.$prefix}figure-color-selection-back: var(
25
+ --#{variables.$prefix}color-default-figure-selection-back,
26
+ var(--#{variables.$prefix}color-default-selection-back)
27
+ );
28
+
29
+ --#{variables.$prefix}figure-content-color-fore: var(
30
+ --#{variables.$prefix}color-default-figure-content-fore,
31
+ var(--#{variables.$prefix}color-default-fore)
32
+ );
33
+ --#{variables.$prefix}figure-content-color-back: var(
34
+ --#{variables.$prefix}color-default-figure-content-back,
35
+ var(--#{variables.$prefix}color-default-back)
36
+ );
37
+ --#{variables.$prefix}figure-content-color-selection-fore: var(
38
+ --#{variables.$prefix}color-default-figure-content-selection-fore,
39
+ var(--#{variables.$prefix}color-default-fore)
40
+ );
41
+ --#{variables.$prefix}figure-content-color-selection-back: var(
42
+ --#{variables.$prefix}color-default-figure-content-selection-back,
43
+ var(--#{variables.$prefix}color-default-back)
44
+ );
45
+
46
+ --#{variables.$prefix}figure-caption-color-fore: var(
47
+ --#{variables.$prefix}color-default-figure-caption-fore,
48
+ var(--#{variables.$prefix}color-default-fore)
49
+ );
50
+ --#{variables.$prefix}figure-caption-color-back: var(
51
+ --#{variables.$prefix}color-default-figure-caption-back,
52
+ var(--#{variables.$prefix}color-default-back)
53
+ );
54
+ --#{variables.$prefix}figure-caption-color-selection-fore: var(
55
+ --#{variables.$prefix}color-default-figure-caption-selection-fore,
56
+ var(--#{variables.$prefix}color-default-fore)
57
+ );
58
+ --#{variables.$prefix}figure-caption-color-selection-back: var(
59
+ --#{variables.$prefix}color-default-figure-caption-selection-back,
60
+ var(--#{variables.$prefix}color-default-back)
61
+ );
62
+
63
+ @include mixins.element();
64
+ background-color: var(--#{variables.$prefix}figure-color-back);
65
+ border-color: var(--#{variables.$prefix}figure-color-border);
66
+ border-style: none;
67
+ border-width: var(--#{variables.$prefix}border-width-medium);
68
+ color: var(--#{variables.$prefix}figure-color-fore);
69
+ display: flex;
70
+ flex-flow: column;
71
+ width: 100%;
72
+ padding: 0.25rem;
73
+
74
+ &::selection {
75
+ color: var(--#{variables.$prefix}figure-color-selection-fore);
76
+ background-color: var(--#{variables.$prefix}figure-color-selection-back);
77
+ }
78
+
79
+ > :where(.figure-content) {
80
+ @include mixins.element();
81
+ background-color: var(--#{variables.$prefix}figure-content-color-back);
82
+ color: var(--#{variables.$prefix}figure-content-color-fore);
83
+ display: block;
84
+ width: 100%;
85
+ height: auto;
86
+ &::selection {
87
+ color: var(--#{variables.$prefix}figure-content-color-selection-fore);
88
+ background-color: var(--#{variables.$prefix}figure-content-color-selection-back);
89
+ }
90
+ }
91
+
92
+ > :where(.figure-caption) {
93
+ @include mixins.element();
94
+ display: block;
95
+ background-color: var(--#{variables.$prefix}figure-caption-color-back);
96
+ color: var(--#{variables.$prefix}figure-caption-color-fore);
97
+ font-size: var(--#{variables.$prefix}font-size-small);
98
+ width: 100%;
99
+ &:first-child {
100
+ padding-bottom: 0.25rem;
101
+ }
102
+ &:last-child {
103
+ padding-top: 0.25rem;
104
+ }
105
+ &::selection {
106
+ color: var(--#{variables.$prefix}figure-caption-color-selection-fore);
107
+ background-color: var(--#{variables.$prefix}figure-caption-color-selection-back);
108
+ }
109
+ }
110
+
111
+ @if (not variables.$is-skelton) {
112
+ @each $color in variables.$allColors {
113
+ $colorName: map.get($color, "name");
114
+ &.is-#{$colorName} {
115
+ --#{variables.$prefix}figure-color-fore: var(
116
+ --#{variables.$prefix}color-#{$colorName}-figure-fore,
117
+ var(--#{variables.$prefix}color-#{$colorName}-fore)
118
+ );
119
+ --#{variables.$prefix}figure-color-back: var(
120
+ --#{variables.$prefix}color-#{$colorName}-figure-back,
121
+ var(--#{variables.$prefix}color-#{$colorName}-back)
122
+ );
123
+ --#{variables.$prefix}figure-color-border: var(
124
+ --#{variables.$prefix}color-#{$colorName}-figure-border,
125
+ var(--#{variables.$prefix}color-#{$colorName}-border)
126
+ );
127
+
128
+ --#{variables.$prefix}figure-color-selection-fore: var(
129
+ --#{variables.$prefix}color-#{$colorName}-figure-selection-fore,
130
+ var(--#{variables.$prefix}color-#{$colorName}-selection-fore)
131
+ );
132
+ --#{variables.$prefix}figure-color-selection-back: var(
133
+ --#{variables.$prefix}color-#{$colorName}-figure-selection-back,
134
+ var(--#{variables.$prefix}color-#{$colorName}-selection-back)
135
+ );
136
+
137
+ --#{variables.$prefix}figure-content-color-fore: var(
138
+ --#{variables.$prefix}color-#{$colorName}-figure-content-fore,
139
+ var(--#{variables.$prefix}color-#{$colorName}-fore)
140
+ );
141
+ --#{variables.$prefix}figure-content-color-back: var(
142
+ --#{variables.$prefix}color-#{$colorName}-figure-content-back,
143
+ var(--#{variables.$prefix}color-#{$colorName}-back)
144
+ );
145
+ --#{variables.$prefix}figure-content-color-selection-fore: var(
146
+ --#{variables.$prefix}color-#{$colorName}-figure-content-selection-fore,
147
+ var(--#{variables.$prefix}color-#{$colorName}-selection-fore)
148
+ );
149
+ --#{variables.$prefix}figure-content-color-selection-back: var(
150
+ --#{variables.$prefix}color-#{$colorName}-figure-content-selection-back,
151
+ var(--#{variables.$prefix}color-#{$colorName}-selection-back)
152
+ );
153
+
154
+ --#{variables.$prefix}figure-caption-color-fore: var(
155
+ --#{variables.$prefix}color-#{$colorName}-figure-caption-fore,
156
+ var(--#{variables.$prefix}color-#{$colorName}-fore)
157
+ );
158
+ --#{variables.$prefix}figure-caption-color-back: var(
159
+ --#{variables.$prefix}color-#{$colorName}-figure-caption-back,
160
+ var(--#{variables.$prefix}color-#{$colorName}-back)
161
+ );
162
+ --#{variables.$prefix}figure-caption-color-selection-fore: var(
163
+ --#{variables.$prefix}color-#{$colorName}-figure-caption-selection-fore,
164
+ var(--#{variables.$prefix}color-#{$colorName}-selection-fore)
165
+ );
166
+ --#{variables.$prefix}figure-caption-color-selection-back: var(
167
+ --#{variables.$prefix}color-#{$colorName}-figure-caption-selection-back,
168
+ var(--#{variables.$prefix}color-#{$colorName}-selection-back)
169
+ );
170
+ }
171
+ }
172
+ }
173
+ }
@@ -1,4 +1,5 @@
1
1
  @forward "./accordion.scss";
2
+ @forward "./aside.scss";
2
3
  @forward "./badge.scss";
3
4
  @forward "./blockquote.scss";
4
5
  @forward "./breadcrumbs.scss";
@@ -6,6 +7,8 @@
6
7
  @forward "./card.scss";
7
8
  @forward "./dialogue.scss";
8
9
  @forward "./div.scss";
10
+ @forward "./description-list.scss";
11
+ @forward "./figure.scss";
9
12
  @forward "./footer.scss";
10
13
  @forward "./hamburger.scss";
11
14
  @forward "./header.scss";
@@ -1,16 +1,46 @@
1
+ @use "sass:map";
2
+ @use "../variables/index.scss" as variables;
1
3
  @use "../mixins/index.scss" as mixins;
2
4
 
3
- :where(.list) {
5
+ @mixin base-list() {
6
+ @include mixins.element();
7
+ display: grid;
8
+ }
9
+
10
+ @mixin base-list-item() {
4
11
  @include mixins.element();
5
- display: block;
6
- list-style: none;
7
- &.is-style-decimal {
8
- list-style: decimal;
12
+ display: list-item;
13
+ }
14
+
15
+ :where(.list) {
16
+ @include base-list();
17
+ --#{variables.$prefix}list-gutter-y: 1rem;
18
+ --#{variables.$prefix}list-indent: 1.5rem;
19
+ gap: var(--#{variables.$prefix}list-gutter-y) 0;
20
+ > :where(.list-item) {
21
+ @include base-list-item();
22
+ margin-left: var(--#{variables.$prefix}list-indent);
9
23
  }
10
- &.is-style-disc {
11
- list-style: disc;
24
+ }
25
+
26
+ :where(.ordered-list) {
27
+ @include base-list();
28
+ --#{variables.$prefix}ordered-list-gutter-y: 1rem;
29
+ --#{variables.$prefix}ordered-list-indent: 1.5rem;
30
+ gap: var(--#{variables.$prefix}ordered-list-gutter-y) 0;
31
+ > :where(.ordered-list-item) {
32
+ @include base-list-item();
33
+ margin-left: var(--#{variables.$prefix}ordered-list-indent);
12
34
  }
13
- > :where(.list-item) {
14
- display: list-item;
35
+ }
36
+
37
+ :where(.unordered-list) {
38
+ @include base-list();
39
+ --#{variables.$prefix}unordered-list-gutter-y: 1rem;
40
+ --#{variables.$prefix}unordered-list-indent: 1.5rem;
41
+ gap: var(--#{variables.$prefix}unordered-list-gutter-y) 0;
42
+ > :where(.unordered-list-item) {
43
+ @include base-list-item();
44
+ margin-left: var(--#{variables.$prefix}unordered-list-indent);
15
45
  }
16
46
  }
@@ -379,6 +379,68 @@
379
379
  }
380
380
  //#endregion dialogue
381
381
 
382
+ //#region figure
383
+ $figure: map.get($colorShade, "figure");
384
+ @if ($figure != null) {
385
+ @include setColor(
386
+ $figure,
387
+ $lightnessOffset,
388
+ $srcColorName,
389
+ $destColorName,
390
+ $name,
391
+ "figure"
392
+ );
393
+
394
+ $figureContent: map.get($figure, "figureContent");
395
+ @if ($figureContent != null) {
396
+ @include setColor(
397
+ $figureContent,
398
+ $lightnessOffset,
399
+ $srcColorName,
400
+ $destColorName,
401
+ $name,
402
+ "figure-content"
403
+ );
404
+
405
+ $figureContentSelection: map.get($figureContent, "selection");
406
+ @if ($figureContentSelection != null) {
407
+ @include setColor(
408
+ $figureContentSelection,
409
+ $lightnessOffset,
410
+ $srcColorName,
411
+ $destColorName,
412
+ $name,
413
+ "figure-content-selection"
414
+ );
415
+ }
416
+ }
417
+
418
+ $figureCaption: map.get($figure, "figureCaption");
419
+ @if ($figureCaption != null) {
420
+ @include setColor(
421
+ $figureCaption,
422
+ $lightnessOffset,
423
+ $srcColorName,
424
+ $destColorName,
425
+ $name,
426
+ "figure-caption"
427
+ );
428
+
429
+ $figureCaptionSelection: map.get($figureCaption, "selection");
430
+ @if ($figureCaptionSelection != null) {
431
+ @include setColor(
432
+ $figureCaptionSelection,
433
+ $lightnessOffset,
434
+ $srcColorName,
435
+ $destColorName,
436
+ $name,
437
+ "figure-caption-selection"
438
+ );
439
+ }
440
+ }
441
+ }
442
+ //#endregion figure
443
+
382
444
  //#region footer
383
445
  $footer: map.get($colorShade, "footer");
384
446
  @if ($footer != null) {
@@ -4,39 +4,39 @@
4
4
  @use "../functions/index.scss" as functions;
5
5
 
6
6
  :where(.columns) {
7
- --#{variables.$prefix}gutter-x: 0rem;
8
- --#{variables.$prefix}gutter-y: 0rem;
7
+ --#{variables.$prefix}columns-gutter-x: 0rem;
8
+ --#{variables.$prefix}columns-gutter-y: 0rem;
9
9
  @include mixins.element();
10
10
  display: flex;
11
11
  flex-direction: row;
12
12
  flex-wrap: wrap;
13
- margin-top: calc(var(--#{variables.$prefix}gutter-y) * -0.5);
14
- margin-bottom: calc(var(--#{variables.$prefix}gutter-y) * -0.5);
15
- margin-right: calc(var(--#{variables.$prefix}gutter-x) * -0.5);
16
- margin-left: calc(var(--#{variables.$prefix}gutter-x) * -0.5);
13
+ margin-top: calc(var(--#{variables.$prefix}columns-gutter-y) * -0.5);
14
+ margin-bottom: calc(var(--#{variables.$prefix}columns-gutter-y) * -0.5);
15
+ margin-right: calc(var(--#{variables.$prefix}columns-gutter-x) * -0.5);
16
+ margin-left: calc(var(--#{variables.$prefix}columns-gutter-x) * -0.5);
17
17
 
18
18
  @if (not variables.$is-skelton) {
19
19
  @for $p from 0 through 20 {
20
20
  $escapedQuarter: functions.strReplace(#{($p * 0.25)}, ".", "\\.");
21
21
  &.has-gutter-#{$escapedQuarter}rem {
22
- --#{variables.$prefix}gutter-x: #{($p * 0.25rem)};
23
- --#{variables.$prefix}gutter-y: #{($p * 0.25rem)};
22
+ --#{variables.$prefix}columns-gutter-x: #{($p * 0.25rem)};
23
+ --#{variables.$prefix}columns-gutter-y: #{($p * 0.25rem)};
24
24
  }
25
- &.has-gutter-x-#{$escapedQuarter}rem {
26
- --#{variables.$prefix}gutter-x: #{($p * 0.25rem)};
25
+ &.has-columns-gutter-x-#{$escapedQuarter}rem {
26
+ --#{variables.$prefix}columns-gutter-x: #{($p * 0.25rem)};
27
27
  }
28
- &.has-gutter-y-#{$escapedQuarter}rem {
29
- --#{variables.$prefix}gutter-y: #{($p * 0.25rem)};
28
+ &.has-columns-gutter-y-#{$escapedQuarter}rem {
29
+ --#{variables.$prefix}columns-gutter-y: #{($p * 0.25rem)};
30
30
  }
31
31
  @include mixins.is-responsive("has-gutter", "-#{$escapedQuarter}rem") {
32
- --#{variables.$prefix}gutter-x: #{($p * 0.25rem)};
33
- --#{variables.$prefix}gutter-y: #{($p * 0.25rem)};
32
+ --#{variables.$prefix}columns-gutter-x: #{($p * 0.25rem)};
33
+ --#{variables.$prefix}columns-gutter-y: #{($p * 0.25rem)};
34
34
  }
35
- @include mixins.is-responsive("has-gutter-x", "-#{$escapedQuarter}rem") {
36
- --#{variables.$prefix}gutter-x: #{($p * 0.25rem)};
35
+ @include mixins.is-responsive("has-columns-gutter-x", "-#{$escapedQuarter}rem") {
36
+ --#{variables.$prefix}columns-gutter-x: #{($p * 0.25rem)};
37
37
  }
38
- @include mixins.is-responsive("has-gutter-y", "-#{$escapedQuarter}rem") {
39
- --#{variables.$prefix}gutter-y: #{($p * 0.25rem)};
38
+ @include mixins.is-responsive("has-columns-gutter-y", "-#{$escapedQuarter}rem") {
39
+ --#{variables.$prefix}columns-gutter-y: #{($p * 0.25rem)};
40
40
  }
41
41
  }
42
42
 
@@ -3,13 +3,13 @@
3
3
  @use "../mixins/index.scss" as mixins;
4
4
 
5
5
  :where(.container) {
6
- --#{variables.$prefix}gutter-x: 0rem;
7
- --#{variables.$prefix}gutter-y: 0rem;
6
+ --#{variables.$prefix}container-gutter-x: 0rem;
7
+ --#{variables.$prefix}container-gutter-y: 0rem;
8
8
  @include mixins.element();
9
- padding-top: calc(var(--#{variables.$prefix}gutter-y) * 0.5);
10
- padding-bottom: calc(var(--#{variables.$prefix}gutter-y) * 0.5);
11
- padding-right: calc(var(--#{variables.$prefix}gutter-x) * 0.5);
12
- padding-left: calc(var(--#{variables.$prefix}gutter-x) * 0.5);
9
+ padding-top: calc(var(--#{variables.$prefix}container-gutter-y) * 0.5);
10
+ padding-bottom: calc(var(--#{variables.$prefix}container-gutter-y) * 0.5);
11
+ padding-right: calc(var(--#{variables.$prefix}container-gutter-x) * 0.5);
12
+ padding-left: calc(var(--#{variables.$prefix}container-gutter-x) * 0.5);
13
13
  margin-right: auto;
14
14
  margin-left: auto;
15
15
  width: auto;
@@ -18,24 +18,24 @@
18
18
  @for $p from 0 through 20 {
19
19
  $escapedQuarter: functions.strReplace(#{($p * 0.25)}, ".", "\\.");
20
20
  &.has-gutter-#{$escapedQuarter}rem {
21
- --#{variables.$prefix}gutter-x: #{($p * 0.25rem)};
22
- --#{variables.$prefix}gutter-y: #{($p * 0.25rem)};
21
+ --#{variables.$prefix}container-gutter-x: #{($p * 0.25rem)};
22
+ --#{variables.$prefix}container-gutter-y: #{($p * 0.25rem)};
23
23
  }
24
- &.has-gutter-x-#{$escapedQuarter}rem {
25
- --#{variables.$prefix}gutter-x: #{($p * 0.25rem)};
24
+ &.has-container-gutter-x-#{$escapedQuarter}rem {
25
+ --#{variables.$prefix}container-gutter-x: #{($p * 0.25rem)};
26
26
  }
27
- &.has-gutter-y-#{$escapedQuarter}rem {
28
- --#{variables.$prefix}gutter-y: #{($p * 0.25rem)};
27
+ &.has-container-gutter-y-#{$escapedQuarter}rem {
28
+ --#{variables.$prefix}container-gutter-y: #{($p * 0.25rem)};
29
29
  }
30
30
  @include mixins.is-responsive("has-gutter", "-#{$escapedQuarter}rem") {
31
- --#{variables.$prefix}gutter-x: #{($p * 0.25rem)};
32
- --#{variables.$prefix}gutter-y: #{($p * 0.25rem)};
31
+ --#{variables.$prefix}container-gutter-x: #{($p * 0.25rem)};
32
+ --#{variables.$prefix}container-gutter-y: #{($p * 0.25rem)};
33
33
  }
34
- @include mixins.is-responsive("has-gutter-x", "-#{$escapedQuarter}rem") {
35
- --#{variables.$prefix}gutter-x: #{($p * 0.25rem)};
34
+ @include mixins.is-responsive("has-container-gutter-x", "-#{$escapedQuarter}rem") {
35
+ --#{variables.$prefix}container-gutter-x: #{($p * 0.25rem)};
36
36
  }
37
- @include mixins.is-responsive("has-gutter-y", "-#{$escapedQuarter}rem") {
38
- --#{variables.$prefix}gutter-y: #{($p * 0.25rem)};
37
+ @include mixins.is-responsive("has-container-gutter-y", "-#{$escapedQuarter}rem") {
38
+ --#{variables.$prefix}container-gutter-y: #{($p * 0.25rem)};
39
39
  }
40
40
  }
41
41
  }
@@ -38,9 +38,6 @@ $color-light-lightness-border: 70 !default;
38
38
  $color-light-lightness-placeholder: 70 !default;
39
39
  $color-light-lightness-shadow: 70 !default;
40
40
 
41
- $color-light-lightness-selection-fore: 5 !default;
42
- $color-light-lightness-selection-back: 70 !default;
43
-
44
41
  //#region color-light-lightness-dot
45
42
  $color-light-lightness-dot-fore: 85 !default;
46
43
  $color-light-lightness-dot-back: 95 !default;
@@ -133,6 +130,16 @@ $color-light-lightness-dialogue-message-back: 95 !default;
133
130
  $color-light-lightness-dialogue-message-border: 70 !default;
134
131
  //#endregion color-light-lightness-dialogue
135
132
 
133
+ //#region color-dark-lightness-figure
134
+ $color-light-lightness-figure-fore: 5 !default;
135
+ $color-light-lightness-figure-back: 70 !default;
136
+ $color-light-lightness-figure-border: 70 !default;
137
+ $color-light-lightness-figure-content-fore: 5 !default;
138
+ $color-light-lightness-figure-content-back: 95 !default;
139
+ $color-light-lightness-figure-caption-fore: 20 !default;
140
+ $color-light-lightness-figure-caption-back: 70 !default;
141
+ //#endregion color-dark-lightness-figure
142
+
136
143
  //#region color-light-lightness-header
137
144
  $color-light-lightness-header-fore: 5 !default;
138
145
  $color-light-lightness-header-back: 70 !default;
@@ -191,9 +198,6 @@ $color-dark-lightness-border: 50 !default;
191
198
  $color-dark-lightness-placeholder: 50 !default;
192
199
  $color-dark-lightness-shadow: 50 !default;
193
200
 
194
- $color-dark-lightness-selection-fore: 95 !default;
195
- $color-dark-lightness-selection-back: 30 !default;
196
-
197
201
  //#region color-dark-lightness-dot
198
202
  $color-dark-lightness-dot-fore: 5 !default;
199
203
  $color-dark-lightness-dot-back: 15 !default;
@@ -286,6 +290,16 @@ $color-dark-lightness-dialogue-message-back: 5 !default;
286
290
  $color-dark-lightness-dialogue-message-border: 50 !default;
287
291
  //#endregion color-dark-lightness-dialogue
288
292
 
293
+ //#region color-dark-lightness-figure
294
+ $color-dark-lightness-figure-fore: 95 !default;
295
+ $color-dark-lightness-figure-back: 30 !default;
296
+ $color-dark-lightness-figure-border: 30 !default;
297
+ $color-dark-lightness-figure-content-fore: 95 !default;
298
+ $color-dark-lightness-figure-content-back: 5 !default;
299
+ $color-dark-lightness-figure-caption-fore: 80 !default;
300
+ $color-dark-lightness-figure-caption-back: 30 !default;
301
+ //#endregion color-dark-lightness-figure
302
+
289
303
  //#region color-dark-lightness-header
290
304
  $color-dark-lightness-header-fore: 95 !default;
291
305
  $color-dark-lightness-header-back: 30 !default;
@@ -344,6 +358,10 @@ $color-dark-lightness-progress-back: 5 !default;
344
358
 
345
359
  $color-light-lightness-offset-disabled-fore: 30 !default;
346
360
  $color-dark-lightness-offset-disabled-fore: -30 !default;
361
+ $color-light-lightness-offset-selection-fore: 0 !default;
362
+ $color-dark-lightness-offset-selection-fore: 0 !default;
363
+ $color-light-lightness-offset-selection-back: -25 !default;
364
+ $color-dark-lightness-offset-selection-back: 25 !default;
347
365
  $color-lightness-offset-disabled: 0 !default;
348
366
  $color-lightness-offset-focus: 20 !default;
349
367
  $color-lightness-offset-hover: 5 !default;
@@ -380,12 +398,12 @@ $colorShades: (
380
398
  ),
381
399
  selection: (
382
400
  fore: (
383
- light: $color-light-lightness-selection-fore,
384
- dark: $color-dark-lightness-selection-fore,
401
+ light: $color-light-lightness-fore + $color-light-lightness-offset-selection-fore,
402
+ dark: $color-dark-lightness-fore + $color-dark-lightness-offset-selection-fore,
385
403
  ),
386
404
  back: (
387
- light: $color-light-lightness-selection-back,
388
- dark: $color-dark-lightness-selection-back,
405
+ light: $color-light-lightness-back + $color-light-lightness-offset-selection-back,
406
+ dark: $color-dark-lightness-back + $color-dark-lightness-offset-selection-back,
389
407
  ),
390
408
  ),
391
409
  //#region backgrounds
@@ -679,6 +697,72 @@ $colorShades: (
679
697
  ),
680
698
  ),
681
699
  //#endregion dialogue
700
+ //#region figure
701
+ figure: (
702
+ fore: (
703
+ light: $color-light-lightness-figure-fore,
704
+ dark: $color-dark-lightness-figure-fore,
705
+ ),
706
+ back: (
707
+ light: $color-light-lightness-figure-back,
708
+ dark: $color-dark-lightness-figure-back,
709
+ ),
710
+ border: (
711
+ light: $color-light-lightness-figure-border,
712
+ dark: $color-dark-lightness-figure-border,
713
+ ),
714
+ selection: (
715
+ fore: (
716
+ light: $color-light-lightness-figure-fore + $color-light-lightness-offset-selection-fore,
717
+ dark: $color-dark-lightness-figure-fore + $color-dark-lightness-offset-selection-fore,
718
+ ),
719
+ back: (
720
+ light: $color-light-lightness-figure-back + $color-light-lightness-offset-selection-back,
721
+ dark: $color-dark-lightness-figure-back + $color-dark-lightness-offset-selection-back,
722
+ ),
723
+ ),
724
+ figureContent: (
725
+ fore: (
726
+ light: $color-light-lightness-figure-content-fore,
727
+ dark: $color-dark-lightness-figure-content-fore,
728
+ ),
729
+ back: (
730
+ light: $color-light-lightness-figure-content-back,
731
+ dark: $color-dark-lightness-figure-content-back,
732
+ ),
733
+ selection: (
734
+ fore: (
735
+ light: $color-light-lightness-figure-content-fore + $color-light-lightness-offset-selection-fore,
736
+ dark: $color-dark-lightness-figure-content-fore + $color-dark-lightness-offset-selection-fore,
737
+ ),
738
+ back: (
739
+ light: $color-light-lightness-figure-content-back + $color-light-lightness-offset-selection-back,
740
+ dark: $color-dark-lightness-figure-content-back + $color-dark-lightness-offset-selection-back,
741
+ ),
742
+ ),
743
+ ),
744
+ figureCaption: (
745
+ fore: (
746
+ light: $color-light-lightness-figure-caption-fore,
747
+ dark: $color-dark-lightness-figure-caption-fore,
748
+ ),
749
+ back: (
750
+ light: $color-light-lightness-figure-caption-back,
751
+ dark: $color-dark-lightness-figure-caption-back,
752
+ ),
753
+ selection: (
754
+ fore: (
755
+ light: $color-light-lightness-figure-caption-fore + $color-light-lightness-offset-selection-fore,
756
+ dark: $color-dark-lightness-figure-caption-fore + $color-dark-lightness-offset-selection-fore,
757
+ ),
758
+ back: (
759
+ light: $color-light-lightness-figure-caption-back + $color-light-lightness-offset-selection-back,
760
+ dark: $color-dark-lightness-figure-caption-back + $color-dark-lightness-offset-selection-back,
761
+ ),
762
+ ),
763
+ ),
764
+ ),
765
+ //#endregion figure
682
766
  //#region header
683
767
  header: (
684
768
  fore: (