jobdone-shared-files 1.1.19 → 1.1.20-beta.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.
@@ -0,0 +1,125 @@
1
+ @use "sass:color";
2
+
3
+ $auto-dark-mode: false;
4
+
5
+ $grays-light-mode: (
6
+ "000": $white,
7
+ "100": $gray-100,
8
+ "200": $gray-200,
9
+ "300": $gray-300,
10
+ "400": $gray-400,
11
+ "500": $gray-500,
12
+ "600": $gray-600,
13
+ "700": $gray-700,
14
+ "800": $gray-800,
15
+ "900": $gray-900,
16
+ "1000": $black,
17
+ ) !default;
18
+
19
+ $grays-dark-mode: (
20
+ "000": color.adjust($gray-900, $lightness: -5%),
21
+ "100": $gray-900,
22
+ "200": $gray-800,
23
+ "300": $gray-700,
24
+ "400": $gray-600,
25
+ "500": $gray-500,
26
+ "600": $gray-400,
27
+ "700": $gray-300,
28
+ "800": $gray-200,
29
+ "900": $gray-100,
30
+ "1000": $white,
31
+ ) !default;
32
+
33
+
34
+ :root{
35
+ @each $color, $value in $grays-light-mode {
36
+ --gray-#{$color}: #{$value};
37
+ }
38
+ }
39
+
40
+ // class --------------------------------------------
41
+ @each $color, $value in $grays-light-mode {
42
+ .bg-gray-#{$color}{
43
+ background-color: var(--gray-#{$color});
44
+ }
45
+ .text-gray-#{$color}{
46
+ color: var(--gray-#{$color});
47
+ }
48
+ }
49
+ // class --------------------------------------------
50
+
51
+
52
+ // dark setting --------------------------------------------
53
+ @if $auto-dark-mode {
54
+ @media (prefers-color-scheme: dark) {
55
+ :root{
56
+ @each $color, $value in $grays-dark-mode {
57
+ --gray-#{$color}: #{$value};
58
+ }
59
+
60
+ // copy from bootstrap (5.3.0-alpha1)
61
+
62
+ // scss-docs-start root-dark-mode-vars
63
+ --bs-body-color: #{$body-color-dark};
64
+ --bs-body-color-rgb: #{to-rgb($body-color-dark)};
65
+ --bs-body-bg: #{$body-bg-dark};
66
+ --bs-body-bg-rgb: #{to-rgb($body-bg-dark)};
67
+
68
+ --bs-emphasis-color: #{$body-emphasis-color-dark};
69
+ --bs-emphasis-color-rgb: #{to-rgb($body-emphasis-color-dark)};
70
+
71
+ --bs-secondary-color: #{$body-secondary-color-dark};
72
+ --bs-secondary-color-rgb: #{to-rgb($body-secondary-color-dark)};
73
+ --bs-secondary-bg: #{$body-secondary-bg-dark};
74
+ --bs-secondary-bg-rgb: #{to-rgb($body-secondary-bg-dark)};
75
+
76
+ --bs-tertiary-color: #{$body-tertiary-color-dark};
77
+ --bs-tertiary-color-rgb: #{to-rgb($body-tertiary-color-dark)};
78
+ --bs-tertiary-bg: #{$body-tertiary-bg-dark};
79
+ --bs-tertiary-bg-rgb: #{to-rgb($body-tertiary-bg-dark)};
80
+
81
+ --bs-emphasis-color: #{$emphasis-color-dark};
82
+
83
+ --bs-primary-text: #{$primary-text-dark};
84
+ --bs-secondary-text: #{$secondary-text-dark};
85
+ --bs-success-text: #{$success-text-dark};
86
+ --bs-info-text: #{$info-text-dark};
87
+ --bs-warning-text: #{$warning-text-dark};
88
+ --bs-danger-text: #{$danger-text-dark};
89
+ --bs-light-text: #{$light-text-dark};
90
+ --bs-dark-text: #{$dark-text-dark};
91
+
92
+ --bs-primary-bg-subtle: #{$primary-bg-subtle-dark};
93
+ --bs-secondary-bg-subtle: #{$secondary-bg-subtle-dark};
94
+ --bs-success-bg-subtle: #{$success-bg-subtle-dark};
95
+ --bs-info-bg-subtle: #{$info-bg-subtle-dark};
96
+ --bs-warning-bg-subtle: #{$warning-bg-subtle-dark};
97
+ --bs-danger-bg-subtle: #{$danger-bg-subtle-dark};
98
+ --bs-light-bg-subtle: #{$light-bg-subtle-dark};
99
+ --bs-dark-bg-subtle: #{$dark-bg-subtle-dark};
100
+
101
+ --bs-primary-border-subtle: #{$primary-border-subtle-dark};
102
+ --bs-secondary-border-subtle: #{$secondary-border-subtle-dark};
103
+ --bs-success-border-subtle: #{$success-border-subtle-dark};
104
+ --bs-info-border-subtle: #{$info-border-subtle-dark};
105
+ --bs-warning-border-subtle: #{$warning-border-subtle-dark};
106
+ --bs-danger-border-subtle: #{$danger-border-subtle-dark};
107
+ --bs-light-border-subtle: #{$light-border-subtle-dark};
108
+ --bs-dark-border-subtle: #{$dark-border-subtle-dark};
109
+
110
+ --bs-heading-color: #{$headings-color-dark};
111
+
112
+ --bs-link-color: #{$link-color-dark};
113
+ --bs-link-hover-color: #{$link-hover-color-dark};
114
+ --bs-link-color-rgb: #{to-rgb($link-color-dark)};
115
+ --bs-link-hover-color-rgb: #{to-rgb($link-hover-color-dark)};
116
+
117
+ --bs-code-color: #{$code-color-dark};
118
+
119
+ --bs-border-color: #{$border-color-dark};
120
+ --bs-border-color-translucent: #{$border-color-translucent-dark};
121
+ // scss-docs-end root-dark-mode-vars
122
+ }
123
+ }
124
+ }
125
+ // dark setting --------------------------------------------
@@ -0,0 +1,12 @@
1
+ @use "sass:color";
2
+
3
+ $gradient-blue: linear-gradient(295deg, #4483E0 13.42%, #C6DDFF 95.81%);
4
+ $gradient-blue-light: linear-gradient(295deg, rgba(#4483E0, .1) 13.42%, rgba(#C6DDFF, .1) 95.81%);
5
+
6
+ $primary-bg-light: rgba(var(--bs-link-color-rgb), .07);
7
+ $primary-sub-highlight: rgba(var(--bs-link-color-rgb), .5);
8
+
9
+ $zindex-max: 2000 !default;
10
+
11
+
12
+ $table-danger-bg: color.adjust($danger, $lightness: 42%);