jobdone-shared-files 1.0.2 → 1.0.3

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