@castlabs/ui 7.2.1 → 7.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.
@@ -81,7 +81,7 @@
81
81
  &::after {
82
82
  @include cl-fontawesome($codepoint);
83
83
 
84
- color: $color-ci-clay;
84
+ color: $color-ci-steel;
85
85
  font-weight: 400;
86
86
  left: 0.2em;
87
87
  position: relative;
@@ -29,7 +29,8 @@ $form-spacing-label-input: px(2);
29
29
 
30
30
  &:disabled,
31
31
  &.disabled {
32
- background-color: $color-ci-white;
32
+ background-color: $color-ci-haze;
33
+ border-color: $color-disabled;
33
34
  }
34
35
  }
35
36
 
@@ -54,11 +55,21 @@ $form-spacing-label-input: px(2);
54
55
  }
55
56
 
56
57
  @mixin cl-form-focus-embed {
57
- border-color: $color-ci-berry !important;
58
+ border-color: $color-focus !important;
58
59
  box-shadow: none;
59
- box-shadow: 0 0 0 1px $color-ci-berry inset;
60
- color: var(--cl-color-text);
60
+ color: var(--cl-color-text) !important;
61
61
  outline: none;
62
+
63
+ &::selection {
64
+ background: $color-focus;
65
+ color: $color-ci-eggshell;
66
+ }
67
+
68
+ // border-color: $color-ci-berry !important;
69
+ // box-shadow: none;
70
+ // box-shadow: 0 0 0 1px $color-ci-berry inset;
71
+ // color: var(--cl-color-text);
72
+ // outline: none;
62
73
  }
63
74
 
64
75
  @mixin cl-form-focus {
@@ -19,7 +19,6 @@
19
19
  @extend %cl-color-night-outline;
20
20
  }
21
21
 
22
- .cl-color-primary,
23
22
  .cl-color-red {
24
23
  @extend %cl-color-red;
25
24
  }
@@ -32,6 +31,10 @@
32
31
  @extend %cl-color-sky;
33
32
  }
34
33
 
34
+ .cl-color-primary {
35
+ @extend %cl-color-sea;
36
+ }
37
+
35
38
  .cl-color-secondary,
36
39
  .cl-color-black,
37
40
  .cl-color-text, // legacy name
@@ -117,3 +120,22 @@
117
120
  .cl-color-text-none {
118
121
  #{'--cl-color-text'}: transparent;
119
122
  }
123
+
124
+ .cl-color-text-brick {
125
+ #{'--cl-color-text'}: $color-ci-brick;
126
+ }
127
+
128
+ .cl-color-text-sea {
129
+ #{'--cl-color-text'}: $color-ci-sea;
130
+ }
131
+
132
+ .cl-color-text-steel {
133
+ #{'--cl-color-text'}: $color-ci-steel;
134
+ }
135
+
136
+ // --- admin/secondary colors -------------------------------------------
137
+
138
+ //
139
+ // .cl-color-haze {
140
+ // @extend %cl-color-haze;
141
+ // }
@@ -16,6 +16,19 @@
16
16
  border-radius: $brand-border-radius;
17
17
  }
18
18
 
19
+ .cl-hidden {
20
+ visibility: hidden;
21
+ }
22
+
23
+ .cl-cursor-pointer,
24
+ .cl-cursor-link {
25
+ cursor: pointer;
26
+ }
27
+
28
+ .cl-cursor-not-allowed {
29
+ cursor: not-allowed;
30
+ }
31
+
19
32
  .cl-faded {
20
33
  opacity: 0.5;
21
34
  }
@@ -71,9 +71,12 @@
71
71
  .cl-section-light,
72
72
  .cl-section-alternate {
73
73
  @extend %section-padding;
74
+ @extend %cl-color-eggshell-alternate;
74
75
 
75
- border-bottom: $brand-line-width solid $color-ci-clay;
76
- border-top: $brand-line-width solid $color-ci-clay;
76
+ background-color: var(--cl-color-background);
77
+ color: var(--cl-color-text);
78
+ // border-bottom: $brand-line-width solid $color-ci-clay;
79
+ // border-top: $brand-line-width solid $color-ci-clay;
77
80
  }
78
81
 
79
82
  main {
@@ -107,15 +107,3 @@ html {
107
107
  body {
108
108
  font-size: 20px;
109
109
  }
110
-
111
- .cl-hidden {
112
- visibility: hidden;
113
- }
114
-
115
- .cl-cursor-link {
116
- cursor: pointer;
117
- }
118
-
119
- .cl-cursor-not-allowed {
120
- cursor: not-allowed;
121
- }
@@ -1,41 +0,0 @@
1
- $cl-url-prefix: '' !default;
2
- $cl-url-postfix: '' !default;
3
-
4
- @mixin DMMono {
5
- @font-face {
6
- font-family: 'DM Mono';
7
- font-style: normal;
8
- font-weight: 300;
9
- src: url('#{$cl-url-prefix}DM_Mono_300.woff2#{$cl-url-postfix}') format('woff2');
10
- }
11
- @font-face {
12
- font-family: 'DM Mono';
13
- font-style: italic;
14
- font-weight: 300;
15
- src: url('#{$cl-url-prefix}DM_Mono_300italic.woff2#{$cl-url-postfix}') format('woff2');
16
- }
17
- @font-face {
18
- font-family: 'DM Mono';
19
- font-style: normal;
20
- font-weight: 400;
21
- src: url('#{$cl-url-prefix}DM_Mono_400.woff2#{$cl-url-postfix}') format('woff2');
22
- }
23
- @font-face {
24
- font-family: 'DM Mono';
25
- font-style: italic;
26
- font-weight: 400;
27
- src: url('#{$cl-url-prefix}DM_Mono_400italic.woff2#{$cl-url-postfix}') format('woff2');
28
- }
29
- @font-face {
30
- font-family: 'DM Mono';
31
- font-style: normal;
32
- font-weight: 500;
33
- src: url('#{$cl-url-prefix}DM_Mono_500.woff2#{$cl-url-postfix}') format('woff2');
34
- }
35
- @font-face {
36
- font-family: 'DM Mono';
37
- font-style: italic;
38
- font-weight: 500;
39
- src: url('#{$cl-url-prefix}DM_Mono_500italic.woff2#{$cl-url-postfix}') format('woff2');
40
- }
41
- }
@@ -1,34 +0,0 @@
1
- Font Awesome Free License
2
- -------------------------
3
-
4
- Font Awesome Free is free, open source, and GPL friendly. You can use it for
5
- commercial projects, open source projects, or really almost whatever you want.
6
- Full Font Awesome Free license: https://fontawesome.com/license/free.
7
-
8
- # Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
9
- In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
10
- packaged as SVG and JS file types.
11
-
12
- # Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL)
13
- In the Font Awesome Free download, the SIL OFL license applies to all icons
14
- packaged as web and desktop font files.
15
-
16
- # Code: MIT License (https://opensource.org/licenses/MIT)
17
- In the Font Awesome Free download, the MIT license applies to all non-font and
18
- non-icon files.
19
-
20
- # Attribution
21
- Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
22
- Awesome Free files already contain embedded comments with sufficient
23
- attribution, so you shouldn't need to do anything additional when using these
24
- files normally.
25
-
26
- We've kept attribution comments terse, so we ask that you do not actively work
27
- to remove them from files, especially code. They're a great way for folks to
28
- learn about Font Awesome.
29
-
30
- # Brand Icons
31
- All brand icons are trademarks of their respective owners. The use of these
32
- trademarks does not indicate endorsement of the trademark holder by Font
33
- Awesome, nor vice versa. **Please do not use brand logos for any purpose except
34
- to represent the company, product, or service to which they refer.**