slippers-ui 2.0.9-alpha.1 → 2.0.9-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slippers-ui",
3
- "version": "2.0.9-alpha.1",
3
+ "version": "2.0.9-alpha.2",
4
4
  "private": false,
5
5
  "description": "GitLab Marketing Design System",
6
6
  "author": "GitLab",
@@ -67,6 +67,47 @@ $color-accent-300: #E24329 !default;
67
67
  $color-accent-400: #A989F5 !default;
68
68
  $color-accent-500: #7759C2 !default;
69
69
 
70
+ $color-list: (
71
+ "primary-100":$color-primary-100,
72
+ "primary-200":$color-primary-200,
73
+ "primary-300":$color-primary-300,
74
+ "secondary-100":$color-secondary-100,
75
+ "secondary-200":$color-secondary-200,
76
+ "secondary-300":$color-secondary-300,
77
+ "surface-50":$color-surface-50,
78
+ "surface-100": $color-surface-100,
79
+ "surface-200":$color-surface-200,
80
+ "surface-300":$color-surface-300,
81
+ "surface-400":$color-surface-400,
82
+ "surface-500":$color-surface-500,
83
+ "surface-600":$color-surface-600,
84
+ "surface-700":$color-surface-700,
85
+ "surface-800":$color-surface-800,
86
+ "surface-900":$color-surface-900,
87
+ "text-50":$color-text-50,
88
+ "text-100": $color-text-100,
89
+ "text-200": $color-text-200,
90
+ "text-300": $color-text-300,
91
+ "text-link-100":$color-text-link-100,
92
+ "alert-100":$color-alert-100,
93
+ "alert-200":$color-alert-200,
94
+ "alert-300":$color-alert-300,
95
+ "warning-100":$color-warning-100,
96
+ "warning-200":$color-warning-200,
97
+ "warning-300":$color-warning-300,
98
+ "success-100":$color-success-100,
99
+ "success-200":$color-success-200,
100
+ "success-300":$color-success-300,
101
+ "info-100":$color-info-100,
102
+ "info-200":$color-info-200,
103
+ "info-300":$color-info-300,
104
+ "accent-100":$color-accent-100,
105
+ "accent-200":$color-accent-200,
106
+ "accent-300":$color-accent-300,
107
+ "accent-400":$color-accent-400,
108
+ "accent-500":$color-accent-500
109
+ );
110
+
70
111
  /*
71
112
  _____ _
72
113
  / ____| (_)
@@ -87,6 +87,16 @@ ul {
87
87
  }
88
88
  }
89
89
 
90
+ // Colors
91
+ @each $color, $value in $color-list {
92
+ .#{$prefix}-color-#{$color} {
93
+ color: $value;
94
+ }
95
+ .#{$prefix}-bg-#{$color} {
96
+ background-color: $value;
97
+ }
98
+ }
99
+
90
100
  .#{$prefix}-flex {
91
101
  display: flex;
92
102
  }