@baloise/ds-styles 0.0.5-nightly.e56f740

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.
Files changed (117) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +45 -0
  3. package/bin/index.mjs +1333 -0
  4. package/css/all.css +18468 -0
  5. package/css/all.css.map +1 -0
  6. package/css/all.min.css +1 -0
  7. package/css/baloise-design-system.css +18468 -0
  8. package/css/baloise-design-system.css.map +1 -0
  9. package/css/baloise-design-system.min.css +1 -0
  10. package/css/core.css +4423 -0
  11. package/css/core.css.map +1 -0
  12. package/css/core.min.css +1 -0
  13. package/css/font.css +29 -0
  14. package/css/font.css.map +1 -0
  15. package/css/font.min.css +1 -0
  16. package/css/mixins.css +2 -0
  17. package/css/mixins.css.map +1 -0
  18. package/css/mixins.min.css +0 -0
  19. package/css/normalize.css +351 -0
  20. package/css/normalize.css.map +1 -0
  21. package/css/normalize.min.css +1 -0
  22. package/css/structure.css +147 -0
  23. package/css/structure.css.map +1 -0
  24. package/css/structure.min.css +1 -0
  25. package/css/themes/compact.css +30 -0
  26. package/css/themes/compact.css.map +1 -0
  27. package/css/themes/compact.min.css +1 -0
  28. package/css/utilities/all.css +13112 -0
  29. package/css/utilities/all.css.map +1 -0
  30. package/css/utilities/all.min.css +1 -0
  31. package/css/utilities/background.css +1460 -0
  32. package/css/utilities/background.css.map +1 -0
  33. package/css/utilities/background.min.css +1 -0
  34. package/css/utilities/border.css +4697 -0
  35. package/css/utilities/border.css.map +1 -0
  36. package/css/utilities/border.min.css +1 -0
  37. package/css/utilities/elevation.css +317 -0
  38. package/css/utilities/elevation.css.map +1 -0
  39. package/css/utilities/elevation.min.css +1 -0
  40. package/css/utilities/flex.css +969 -0
  41. package/css/utilities/flex.css.map +1 -0
  42. package/css/utilities/flex.min.css +1 -0
  43. package/css/utilities/grid.css +1209 -0
  44. package/css/utilities/grid.css.map +1 -0
  45. package/css/utilities/grid.min.css +1 -0
  46. package/css/utilities/interaction.css +44 -0
  47. package/css/utilities/interaction.css.map +1 -0
  48. package/css/utilities/interaction.min.css +1 -0
  49. package/css/utilities/layout.css +1055 -0
  50. package/css/utilities/layout.css.map +1 -0
  51. package/css/utilities/layout.min.css +1 -0
  52. package/css/utilities/sizing.css +1931 -0
  53. package/css/utilities/sizing.css.map +1 -0
  54. package/css/utilities/sizing.min.css +1 -0
  55. package/css/utilities/spacing.css +1881 -0
  56. package/css/utilities/spacing.css.map +1 -0
  57. package/css/utilities/spacing.min.css +1 -0
  58. package/css/utilities/typography.css +763 -0
  59. package/css/utilities/typography.css.map +1 -0
  60. package/css/utilities/typography.min.css +1 -0
  61. package/package.json +36 -0
  62. package/sass/all.sass +6 -0
  63. package/sass/baloise-design-system.sass +1 -0
  64. package/sass/core.sass +37 -0
  65. package/sass/font.sass +1 -0
  66. package/sass/mixins.sass +3 -0
  67. package/sass/normalize.sass +359 -0
  68. package/sass/structure.sass +113 -0
  69. package/sass/themes/compact.sass +28 -0
  70. package/sass/utilities/all.sass +9 -0
  71. package/sass/utilities/background.sass +5 -0
  72. package/sass/utilities/border.sass +2 -0
  73. package/sass/utilities/elevation.sass +2 -0
  74. package/sass/utilities/flex.sass +2 -0
  75. package/sass/utilities/grid.sass +2 -0
  76. package/sass/utilities/interaction.sass +2 -0
  77. package/sass/utilities/layout.sass +12 -0
  78. package/sass/utilities/sizing.sass +2 -0
  79. package/sass/utilities/spacing.sass +2 -0
  80. package/sass/utilities/typography.sass +127 -0
  81. package/src/core/_all.sass +18 -0
  82. package/src/core/container.sass +23 -0
  83. package/src/core/form/_all.sass +6 -0
  84. package/src/core/form/button.sass +532 -0
  85. package/src/core/form/file.sass +139 -0
  86. package/src/core/form/input-textarea.sass +80 -0
  87. package/src/core/form/select.sass +111 -0
  88. package/src/core/form/shared.sass +69 -0
  89. package/src/core/form/tools.sass +209 -0
  90. package/src/core/grid.sass +477 -0
  91. package/src/core/link.sass +64 -0
  92. package/src/core/list.sass +85 -0
  93. package/src/core/table.sass +134 -0
  94. package/src/core/typography.sass +33 -0
  95. package/src/core/vars/_all.sass +7 -0
  96. package/src/core/vars/button.vars.sass +282 -0
  97. package/src/core/vars/form.vars.sass +137 -0
  98. package/src/core/vars/link.vars.sass +36 -0
  99. package/src/core/vars/list.vars.sass +20 -0
  100. package/src/core/vars/structure.vars.sass +47 -0
  101. package/src/core/vars/table.vars.sass +55 -0
  102. package/src/core/vars/typography.vars.sass +12 -0
  103. package/src/generated/background.sass +1091 -0
  104. package/src/generated/border.sass +3943 -0
  105. package/src/generated/elevation.sass +283 -0
  106. package/src/generated/flex.sass +831 -0
  107. package/src/generated/interaction.sass +26 -0
  108. package/src/generated/layout.sass +948 -0
  109. package/src/generated/sizing.sass +1703 -0
  110. package/src/generated/spacing.sass +1683 -0
  111. package/src/generated/typography.sass +453 -0
  112. package/src/mixins/_all.sass +7 -0
  113. package/src/mixins/bem.mixin.sass +39 -0
  114. package/src/mixins/breakpoint.mixin.sass +67 -0
  115. package/src/mixins/extends.sass +32 -0
  116. package/src/mixins/general.mixin.sass +95 -0
  117. package/src/mixins/svg.mixin.sass +6 -0
@@ -0,0 +1,134 @@
1
+ .table
2
+ @extend %bottomSpacing
3
+ background-color: var(--bal-table-background-color)
4
+ color: var(--bal-table-color)
5
+ td,
6
+ th
7
+ border: var(--bal-table-cell-border)
8
+ border-width: var(--bal-table-cell-border-width)
9
+ padding: var(--bal-table-cell-padding)
10
+ vertical-align: middle
11
+ // Modifiers
12
+ &.is-narrow
13
+ white-space: nowrap
14
+ width: 1%
15
+ &.is-selected
16
+ background-color: var(--bal-table-row-background-color-active)
17
+ color: var(--bal-table-row-color-active)
18
+ a,
19
+ strong
20
+ color: currentColor
21
+ th
22
+ color: var(--bal-table-cell-heading-color)
23
+ &:not([align])
24
+ text-align: inherit
25
+ tr
26
+ &.is-selected
27
+ background-color: var(--bal-table-row-background-color-active)
28
+ color: var(--bal-table-row-color-active)
29
+ a,
30
+ strong
31
+ color: currentColor
32
+ td,
33
+ th
34
+ border-color: var(--bal-table-row-color-active)
35
+ color: currentColor
36
+ thead
37
+ background-color: var(--bal-table-head-background-color)
38
+ td,
39
+ th
40
+ border-width: var(--bal-table-head-cell-border-width)
41
+ color: var(--bal-table-head-cell-color)
42
+ tfoot
43
+ background-color: var(--bal-table-foot-background-color)
44
+ td,
45
+ th
46
+ border-width: var(--bal-table-foot-cell-border-width)
47
+ color: var(--bal-table-foot-cell-color)
48
+ tbody
49
+ background-color: var(--bal-table-body-background-color)
50
+ tr
51
+ &:last-child
52
+ td,
53
+ th
54
+ border-bottom-width: 0
55
+ // Modifiers
56
+ &.is-bordered
57
+ th
58
+ border-top-width: 1px
59
+ border-left-width: 1px
60
+ border-right-width: 1px
61
+ border-top-color: var(--bal-table-cell-border-color)
62
+ border-left-color: var(--bal-table-cell-border-color)
63
+ border-right-color: var(--bal-table-cell-border-color)
64
+ td
65
+ border-width: 1px
66
+ tr
67
+ &:last-child
68
+ td
69
+ border-bottom-width: 1px
70
+ &.is-fullwidth
71
+ width: 100%
72
+ &.is-hoverable
73
+ tbody
74
+ tr:not(.is-selected)
75
+ &:hover
76
+ background-color: var(--bal-table-row-background-color-hover)
77
+ &.is-striped
78
+ tbody
79
+ tr:not(.is-selected)
80
+ &:hover
81
+ background-color: var(--bal-table-row-background-color-hover)
82
+ &:nth-child(even)
83
+ background-color: var(--bal-table-striped-row-even-background-color-hover)
84
+ &.is-narrow
85
+ td,
86
+ th
87
+ padding: 0.25em 0.5em
88
+ &.is-striped
89
+ tbody
90
+ tr:not(.is-selected)
91
+ &:nth-child(even)
92
+ background-color: var(--bal-table-striped-row-even-background-color)
93
+
94
+ .table-container
95
+ @extend %bottomSpacing
96
+ +overflow-touch
97
+ overflow: auto
98
+ overflow-y: hidden
99
+ max-width: 100%
100
+
101
+ table.table
102
+ display: table !important
103
+ border-spacing: 0
104
+ margin: 0
105
+ thead
106
+ tr
107
+ border-top: 0
108
+ th
109
+ border-color: var(--bal-table-head-cell-border-color)
110
+ border-bottom-width: 2px
111
+ th:not([align])
112
+ text-align: left
113
+ td,
114
+ th
115
+ font-size: var(--bal-table-head-font-size)
116
+ font-family: var(--bal-table-head-font-family)
117
+ vertical-align: middle
118
+ color: var(--bal-table-color)
119
+ text-align: left
120
+ .bal-checkbox
121
+ padding: 0
122
+ margin-top: 1px
123
+ td
124
+ color: var(--bal-table-color)
125
+ hyphens: auto
126
+ td.has-buttons
127
+ padding: 2px
128
+ .bal-button
129
+ margin-right: 0.25rem
130
+ &:last-child
131
+ margin-right: 0px
132
+ .buttons
133
+ justify-content: flex-end
134
+ padding: 3px
@@ -0,0 +1,33 @@
1
+ .title,
2
+ .subtitle
3
+ hyphens: auto
4
+ word-break: break-word
5
+ -webkit-font-smoothing: antialiased
6
+ -moz-osx-font-smoothing: grayscale
7
+ font-size: var(--bal-text-size-xxx-large)
8
+ line-height: var(--bal-line-height-xxx-large)
9
+ +tablet
10
+ font-size: var(--bal-text-size-xxx-large-tablet)
11
+ line-height: var(--bal-line-height-tablet-xxx-large)
12
+ +desktop
13
+ font-size: var(--bal-text-size-xxx-large-desktop)
14
+ line-height: var(--bal-line-height-desktop-xxx-large)
15
+ em,
16
+ span
17
+ font-weight: inherit
18
+ strong
19
+ font-weight: var(--bal-font-weight-bold)
20
+ &:not(:last-child)
21
+ margin-bottom: var(--bal-space-x-small)
22
+ +tablet
23
+ margin-bottom: var(--bal-space-x-small-tablet)
24
+ +desktop
25
+ margin-bottom: var(--bal-space-x-small-desktop)
26
+
27
+ .title
28
+ font-family: var(--bal-title-font-family)
29
+ font-weight: var(--bal-title-font-weight)
30
+
31
+ .subtitle
32
+ font-family: var(--bal-subtitle-font-family)
33
+ font-weight: var(--bal-subtitle-font-weight)
@@ -0,0 +1,7 @@
1
+ @import './structure.vars'
2
+ @import './typography.vars'
3
+ @import './link.vars'
4
+ @import './button.vars'
5
+ @import './form.vars'
6
+ @import './list.vars'
7
+ @import './table.vars'
@@ -0,0 +1,282 @@
1
+ /**
2
+ * @prop --bal-button-font-size: TBD
3
+ * @prop --bal-button-line-height: TBD
4
+ * @prop --bal-button-font-family: TBD
5
+ * @prop --bal-button-font-weight: TBD
6
+ * @prop --bal-button-radius: TBD
7
+ * @prop --bal-button-border-style: TBD
8
+ * @prop --bal-button-border-width: TBD
9
+ * @prop --bal-button-border-color: TBD
10
+ * @prop --bal-button-border-color-hover: TBD
11
+ * @prop --bal-button-border-color-active: TBD
12
+ * @prop --bal-button-color: TBD
13
+ * @prop --bal-button-color-hover: TBD
14
+ * @prop --bal-button-color-active: TBD
15
+ * @prop --bal-button-background: TBD
16
+ * @prop --bal-button-background-hover: TBD
17
+ * @prop --bal-button-background-active: TBD
18
+ * @prop --bal-button-small-font-size: TBD
19
+ * @prop --bal-button-primary-color: TBD
20
+ * @prop --bal-button-primary-color-hover: TBD
21
+ * @prop --bal-button-primary-color-active: TBD
22
+ * @prop --bal-button-primary-border-color: TBD
23
+ * @prop --bal-button-primary-border-color-hover: TBD
24
+ * @prop --bal-button-primary-border-color-active: TBD
25
+ * @prop --bal-button-primary-background: TBD
26
+ * @prop --bal-button-primary-background-hover: TBD
27
+ * @prop --bal-button-primary-background-active: TBD
28
+ * @prop --bal-button-text-border-color-hover: TBD
29
+ * @prop --bal-button-text-border-color-active: TBD
30
+ * @prop --bal-button-text-background-hover: TBD
31
+ * @prop --bal-button-text-background-active: TBD
32
+ * @prop --bal-button-light-color: TBD
33
+ * @prop --bal-button-light-color-hover: TBD
34
+ * @prop --bal-button-light-color-active: TBD
35
+ * @prop --bal-button-light-border-color: TBD
36
+ * @prop --bal-button-light-border-color-hover: TBD
37
+ * @prop --bal-button-light-border-color-active: TBD
38
+ * @prop --bal-button-light-background: TBD
39
+ * @prop --bal-button-light-background-hover: TBD
40
+ * @prop --bal-button-light-background-active: TBD
41
+ * @prop --bal-button-success-color: TBD
42
+ * @prop --bal-button-success-color-hover: TBD
43
+ * @prop --bal-button-success-color-active: TBD
44
+ * @prop --bal-button-success-border-color: TBD
45
+ * @prop --bal-button-success-border-color-hover: TBD
46
+ * @prop --bal-button-success-border-color-active: TBD
47
+ * @prop --bal-button-success-background: TBD
48
+ * @prop --bal-button-success-background-hover: TBD
49
+ * @prop --bal-button-success-background-active: TBD
50
+ * @prop --bal-button-warning-color: TBD
51
+ * @prop --bal-button-warning-color-hover: TBD
52
+ * @prop --bal-button-warning-color-active: TBD
53
+ * @prop --bal-button-warning-border-color: TBD
54
+ * @prop --bal-button-warning-border-color-hover: TBD
55
+ * @prop --bal-button-warning-border-color-active: TBD
56
+ * @prop --bal-button-warning-background: TBD
57
+ * @prop --bal-button-warning-background-hover: TBD
58
+ * @prop --bal-button-warning-background-active: TBD
59
+ * @prop --bal-button-danger-color: TBD
60
+ * @prop --bal-button-danger-color-hover: TBD
61
+ * @prop --bal-button-danger-color-active: TBD
62
+ * @prop --bal-button-danger-border-color: TBD
63
+ * @prop --bal-button-danger-border-color-hover: TBD
64
+ * @prop --bal-button-danger-border-color-active: TBD
65
+ * @prop --bal-button-danger-background: TBD
66
+ * @prop --bal-button-danger-background-hover: TBD
67
+ * @prop --bal-button-danger-background-active: TBD
68
+ * @prop --bal-button-disablde-color: TBD
69
+ * @prop --bal-button-disablde-border-color: TBD
70
+ * @prop --bal-button-disablde-background: TBD
71
+ * @prop --bal-button-inverted-color: TBD
72
+ * @prop --bal-button-inverted-color-hover: TBD
73
+ * @prop --bal-button-inverted-color-active: TBD
74
+ * @prop --bal-button-inverted-border-color: TBD
75
+ * @prop --bal-button-inverted-border-color-hover: TBD
76
+ * @prop --bal-button-inverted-border-color-active: TBD
77
+ * @prop --bal-button-inverted-background: TBD
78
+ * @prop --bal-button-inverted-background-hover: TBD
79
+ * @prop --bal-button-inverted-background-active: TBD
80
+ * @prop --bal-button-inverted-primary-color: TBD
81
+ * @prop --bal-button-inverted-primary-color-hover: TBD
82
+ * @prop --bal-button-inverted-primary-color-active: TBD
83
+ * @prop --bal-button-inverted-primary-border-color: TBD
84
+ * @prop --bal-button-inverted-primary-border-color-hover: TBD
85
+ * @prop --bal-button-inverted-primary-border-color-active: TBD
86
+ * @prop --bal-button-inverted-primary-background: TBD
87
+ * @prop --bal-button-inverted-primary-background-hover: TBD
88
+ * @prop --bal-button-inverted-primary-background-active: TBD
89
+ * @prop --bal-button-inverted-text-color: TBD
90
+ * @prop --bal-button-inverted-text-color-hover: TBD
91
+ * @prop --bal-button-inverted-text-color-active: TBD
92
+ * @prop --bal-button-inverted-text-border-color: TBD
93
+ * @prop --bal-button-inverted-text-border-color-hover: TBD
94
+ * @prop --bal-button-inverted-text-border-color-active: TBD
95
+ * @prop --bal-button-inverted-text-background: TBD
96
+ * @prop --bal-button-inverted-text-background-hover: TBD
97
+ * @prop --bal-button-inverted-text-background-active: TBD
98
+ * @prop --bal-button-inverted-light-color: TBD
99
+ * @prop --bal-button-inverted-light-color-hover: TBD
100
+ * @prop --bal-button-inverted-light-color-active: TBD
101
+ * @prop --bal-button-inverted-light-border-color: TBD
102
+ * @prop --bal-button-inverted-light-border-color-hover: TBD
103
+ * @prop --bal-button-inverted-light-border-color-active: TBD
104
+ * @prop --bal-button-inverted-light-background: TBD
105
+ * @prop --bal-button-inverted-light-background-hover: TBD
106
+ * @prop --bal-button-inverted-light-background-active: TBD
107
+ */
108
+
109
+ :root
110
+ --bal-button-font-size: var(--bal-text-size-normal)
111
+ --bal-button-line-height: var(--bal-line-height-normal)
112
+ --bal-button-font-family: var(--bal-font-family-title)
113
+ --bal-button-font-weight: var(--bal-font-weight-bold)
114
+ --bal-button-radius: var(--bal-radius-normal)
115
+ --bal-button-border-style: solid
116
+ --bal-button-border-width: var(--bal-border-width-normal)
117
+ --bal-button-border-color: var(--bal-color-border-primary)
118
+ --bal-button-border-color-hover: var(--bal-color-border-primary-hovered)
119
+ --bal-button-border-color-active: var(--bal-color-border-primary-pressed)
120
+ --bal-button-color: var(--bal-color-text-primary)
121
+ --bal-button-color-hover: var(--bal-color-text-primary-hovered)
122
+ --bal-button-color-active: var(--bal-color-text-primary-pressed)
123
+ --bal-button-background: transparent
124
+ --bal-button-background-hover: var(--bal-color-light-blue)
125
+ --bal-button-background-active: var(--bal-color-light-blue)
126
+ //
127
+ // small button
128
+ --bal-button-small-font-size: var(--bal-text-size-small)
129
+ //
130
+ // primary
131
+ --bal-button-primary-color: var(--bal-color-text-white)
132
+ --bal-button-primary-color-hover: var(--bal-color-text-white)
133
+ --bal-button-primary-color-active: var(--bal-color-text-white)
134
+ --bal-button-primary-border-color: var(--bal-color-border-primary)
135
+ --bal-button-primary-border-color-hover: var(--bal-color-border-primary-hovered)
136
+ --bal-button-primary-border-color-active: var(--bal-color-border-primary-pressed)
137
+ --bal-button-primary-background: var(--bal-color-primary)
138
+ --bal-button-primary-background-hover: var(--bal-color-light-blue-5)
139
+ --bal-button-primary-background-active: var(--bal-color-primary-6)
140
+ //
141
+ // text
142
+ --bal-button-text-border-color-hover: var(--bal-color-light-blue)
143
+ --bal-button-text-border-color-active: var(--bal-color-light-blue)
144
+ --bal-button-text-background-hover: var(--bal-color-light-blue)
145
+ --bal-button-text-background-active: var(--bal-color-light-blue)
146
+ //
147
+ // light
148
+ --bal-button-light-color: var(--bal-color-text-primary)
149
+ --bal-button-light-color-hover: var(--bal-color-text-primary)
150
+ --bal-button-light-color-active: var(--bal-color-text-primary)
151
+ --bal-button-light-border-color: var(--bal-color-grey-2)
152
+ --bal-button-light-border-color-hover: var(--bal-color-light-blue-1)
153
+ --bal-button-light-border-color-active: var(--bal-color-light-blue-2)
154
+ --bal-button-light-background: var(--bal-color-grey-2)
155
+ --bal-button-light-background-hover: var(--bal-color-light-blue-1)
156
+ --bal-button-light-background-active: var(--bal-color-light-blue-2)
157
+ //
158
+ // tertiary-purple
159
+ --bal-button-tertiary-purple-color: var(--bal-color-text-primary)
160
+ --bal-button-tertiary-purple-color-hover: var(--bal-color-text-primary)
161
+ --bal-button-tertiary-purple-color-active: var(--bal-color-text-primary-pressed)
162
+ --bal-button-tertiary-purple-border-color: var(--bal-color-purple-1)
163
+ --bal-button-tertiary-purple-border-color-hover: var(--bal-color-purple-5)
164
+ --bal-button-tertiary-purple-border-color-active: var(--bal-color-purple-6)
165
+ --bal-button-tertiary-purple-background: var(--bal-color-purple-1)
166
+ --bal-button-tertiary-purple-background-hover: var(--bal-color-purple-1)
167
+ --bal-button-tertiary-purple-background-active: var(--bal-color-purple-1)
168
+ //
169
+ // tertiary-red
170
+ --bal-button-tertiary-red-color: var(--bal-color-text-primary)
171
+ --bal-button-tertiary-red-color-hover: var(--bal-color-text-primary)
172
+ --bal-button-tertiary-red-color-active: var(--bal-color-text-primary-pressed)
173
+ --bal-button-tertiary-red-border-color: var(--bal-color-red-1)
174
+ --bal-button-tertiary-red-border-color-hover: var(--bal-color-red-5)
175
+ --bal-button-tertiary-red-border-color-active: var(--bal-color-red-6)
176
+ --bal-button-tertiary-red-background: var(--bal-color-red-1)
177
+ --bal-button-tertiary-red-background-hover: var(--bal-color-red-1)
178
+ --bal-button-tertiary-red-background-active: var(--bal-color-red-1)
179
+ //
180
+ // tertiary-yellow
181
+ --bal-button-tertiary-yellow-color: var(--bal-color-text-primary)
182
+ --bal-button-tertiary-yellow-color-hover: var(--bal-color-text-primary)
183
+ --bal-button-tertiary-yellow-color-active: var(--bal-color-text-primary-pressed)
184
+ --bal-button-tertiary-yellow-border-color: var(--bal-color-yellow-1)
185
+ --bal-button-tertiary-yellow-border-color-hover: var(--bal-color-yellow-5)
186
+ --bal-button-tertiary-yellow-border-color-active: var(--bal-color-yellow-6)
187
+ --bal-button-tertiary-yellow-background: var(--bal-color-yellow-1)
188
+ --bal-button-tertiary-yellow-background-hover: var(--bal-color-yellow-1)
189
+ --bal-button-tertiary-yellow-background-active: var(--bal-color-yellow-1)
190
+ //
191
+ // tertiary-green
192
+ --bal-button-tertiary-green-color: var(--bal-color-text-primary)
193
+ --bal-button-tertiary-green-color-hover: var(--bal-color-text-primary)
194
+ --bal-button-tertiary-green-color-active: var(--bal-color-text-primary-pressed)
195
+ --bal-button-tertiary-green-border-color: var(--bal-color-green-1)
196
+ --bal-button-tertiary-green-border-color-hover: var(--bal-color-green-5)
197
+ --bal-button-tertiary-green-border-color-active: var(--bal-color-green-6)
198
+ --bal-button-tertiary-green-background: var(--bal-color-green-1)
199
+ --bal-button-tertiary-green-background-hover: var(--bal-color-green-1)
200
+ --bal-button-tertiary-green-background-active: var(--bal-color-green-1)
201
+ //
202
+ // success
203
+ --bal-button-success-color: var(--bal-color-text-primary)
204
+ --bal-button-success-color-hover: var(--bal-color-text-white)
205
+ --bal-button-success-color-active: var(--bal-color-text-white)
206
+ --bal-button-success-border-color: var(--bal-color-success-5)
207
+ --bal-button-success-border-color-hover: var(--bal-color-success-5)
208
+ --bal-button-success-border-color-active: var(--bal-color-success-6)
209
+ --bal-button-success-background: var(--bal-color-success-1)
210
+ --bal-button-success-background-hover: var(--bal-color-success-5)
211
+ --bal-button-success-background-active: var(--bal-color-success-6)
212
+ //
213
+ // warning
214
+ --bal-button-warning-color: var(--bal-color-text-primary)
215
+ --bal-button-warning-color-hover: var(--bal-color-text-primary)
216
+ --bal-button-warning-color-active: var(--bal-color-text-primary)
217
+ --bal-button-warning-border-color: var(--bal-color-warning-5)
218
+ --bal-button-warning-border-color-hover: var(--bal-color-warning-3)
219
+ --bal-button-warning-border-color-active: var(--bal-color-warning-4)
220
+ --bal-button-warning-background: var(--bal-color-warning-1)
221
+ --bal-button-warning-background-hover: var(--bal-color-warning-3)
222
+ --bal-button-warning-background-active: var(--bal-color-warning-4)
223
+ //
224
+ // danger
225
+ --bal-button-danger-color: var(--bal-color-text-primary)
226
+ --bal-button-danger-color-hover: var(--bal-color-text-white)
227
+ --bal-button-danger-color-active: var(--bal-color-text-white)
228
+ --bal-button-danger-border-color: var(--bal-color-danger-5)
229
+ --bal-button-danger-border-color-hover: var(--bal-color-danger-5)
230
+ --bal-button-danger-border-color-active: var(--bal-color-danger-6)
231
+ --bal-button-danger-background: var(--bal-color-danger-1)
232
+ --bal-button-danger-background-hover: var(--bal-color-danger-5)
233
+ --bal-button-danger-background-active: var(--bal-color-danger-6)
234
+ //
235
+ // disablde
236
+ --bal-button-disablde-color: var(--bal-color-text-grey)
237
+ --bal-button-disablde-border-color: var(--bal-color-grey)
238
+ --bal-button-disablde-background: var(--bal-color-grey)
239
+ //
240
+ // inverted
241
+ --bal-button-inverted-color: var(--bal-color-text-white)
242
+ --bal-button-inverted-color-hover: var(--bal-color-text-white)
243
+ --bal-button-inverted-color-active: var(--bal-color-text-white)
244
+ --bal-button-inverted-border-color: var(--bal-color-border-inverted)
245
+ --bal-button-inverted-border-color-hover: var(--bal-color-light-blue-3)
246
+ --bal-button-inverted-border-color-active: var(--bal-color-light-blue-5)
247
+ --bal-button-inverted-background: transparent
248
+ --bal-button-inverted-background-hover: var(--bal-color-primary-3)
249
+ --bal-button-inverted-background-active: var(--bal-color-primary-3)
250
+ //
251
+ // inverted primary
252
+ --bal-button-inverted-primary-color: var(--bal-color-text-primary)
253
+ --bal-button-inverted-primary-color-hover: var(--bal-color-text-primary)
254
+ --bal-button-inverted-primary-color-active: var(--bal-color-text-white)
255
+ --bal-button-inverted-primary-border-color: var(--bal-color-border-inverted)
256
+ --bal-button-inverted-primary-border-color-hover: var(--bal-color-light-blue-2)
257
+ --bal-button-inverted-primary-border-color-active: var(--bal-color-light-blue-5)
258
+ --bal-button-inverted-primary-background: var(--bal-color-white)
259
+ --bal-button-inverted-primary-background-hover: var(--bal-color-light-blue-2)
260
+ --bal-button-inverted-primary-background-active: var(--bal-color-light-blue-5)
261
+ //
262
+ // inverted text
263
+ --bal-button-inverted-text-color: var(--bal-color-text-white)
264
+ --bal-button-inverted-text-color-hover: var(--bal-color-light-blue-2)
265
+ --bal-button-inverted-text-color-active: var(--bal-color-info-3)
266
+ --bal-button-inverted-text-border-color: transparent
267
+ --bal-button-inverted-text-border-color-hover: transparent
268
+ --bal-button-inverted-text-border-color-active: transparent
269
+ --bal-button-inverted-text-background: transparent
270
+ --bal-button-inverted-text-background-hover: transparent
271
+ --bal-button-inverted-text-background-active: transparent
272
+ //
273
+ // inverted light
274
+ --bal-button-inverted-light-color: var(--bal-color-text-white)
275
+ --bal-button-inverted-light-color-hover: var(--bal-color-text-primary)
276
+ --bal-button-inverted-light-color-active: var(--bal-color-text-primary)
277
+ --bal-button-inverted-light-border-color: var(--bal-color-primary-4)
278
+ --bal-button-inverted-light-border-color-hover: var(--bal-color-light-blue-2)
279
+ --bal-button-inverted-light-border-color-active: var(--bal-color-white)
280
+ --bal-button-inverted-light-background: var(--bal-color-primary-4)
281
+ --bal-button-inverted-light-background-hover: var(--bal-color-light-blue-2)
282
+ --bal-button-inverted-light-background-active: var(--bal-color-white)
@@ -0,0 +1,137 @@
1
+ /**
2
+ * @prop --bal-form-field-control-font-size: TBD
3
+ * @prop --bal-form-field-control-font-family: TBD
4
+ * @prop --bal-form-field-control-color: TBD
5
+ * @prop --bal-form-field-control-placeholder-color: TBD
6
+ * @prop --bal-form-field-control-radius: TBD
7
+ * @prop --bal-form-field-control-background: TBD
8
+ * @prop --bal-form-field-control-background-hover: TBD
9
+ * @prop --bal-form-field-control-background-active: TBD
10
+ * @prop --bal-form-field-control-border-width: TBD
11
+ * @prop --bal-form-field-control-border-style: TBD
12
+ * @prop --bal-form-field-control-border-color: TBD
13
+ * @prop --bal-form-field-control-border-color-hover: TBD
14
+ * @prop --bal-form-field-control-border-color-active: TBD
15
+ * @prop --bal-form-field-control-success-background: TBD
16
+ * @prop --bal-form-field-control-success-background-hover: TBD
17
+ * @prop --bal-form-field-control-success-background-active: TBD
18
+ * @prop --bal-form-field-control-success-border-color: TBD
19
+ * @prop --bal-form-field-control-success-border-color-hover: TBD
20
+ * @prop --bal-form-field-control-success-border-color-active: TBD
21
+ * @prop --bal-form-field-control-danger-background: TBD
22
+ * @prop --bal-form-field-control-danger-background-hover: TBD
23
+ * @prop --bal-form-field-control-danger-background-active: TBD
24
+ * @prop --bal-form-field-control-danger-border-color: TBD
25
+ * @prop --bal-form-field-control-danger-border-color-hover: TBD
26
+ * @prop --bal-form-field-control-danger-border-color-active: TBD
27
+ * @prop --bal-form-field-control-disabled-color: TBD
28
+ * @prop --bal-form-field-control-disabled-background: TBD
29
+ * @prop --bal-form-field-control-disabled-border-color: TBD
30
+ * @prop --bal-form-field-label-font-size: TBD
31
+ * @prop --bal-form-field-label-line-height: TBD
32
+ * @prop --bal-form-field-label-font-weight: TBD
33
+ * @prop --bal-form-field-label-font-family: TBD
34
+ * @prop --bal-form-field-label-margin-bottom: TBD
35
+ * @prop --bal-form-field-label-color-hover: TBD
36
+ * @prop --bal-form-field-label-color-active: TBD
37
+ * @prop --bal-form-field-label-success-color: TBD
38
+ * @prop --bal-form-field-label-danger-color: TBD
39
+ * @prop --bal-form-field-label-danger-color-hover: TBD
40
+ * @prop --bal-form-field-label-danger-color-active: TBD
41
+ * @prop --bal-form-field-label-disabled-color TBD
42
+ * @prop --bal-form-field-message-font-size: TBD
43
+ * @prop --bal-form-field-message-font-weight: TBD
44
+ * @prop --bal-form-field-message-color: TBD
45
+ * @prop --bal-form-field-message-color-hover: TBD
46
+ * @prop --bal-form-field-message-color-active: TBD
47
+ * @prop --bal-form-field-message-font-weight: TBD
48
+ * @prop --bal-form-field-message-success-color: TBD
49
+ * @prop --bal-form-field-message-danger-color: TBD
50
+ * @prop --bal-form-field-message-disabled-color: TBD
51
+ * @prop --bal-form-field-icon-color: TBD
52
+ * @prop --bal-form-field-icon-color-hover: TBD
53
+ * @prop --bal-form-field-icon-color-active: TBD
54
+ * @prop --bal-form-field-icon-success-color: TBD
55
+ * @prop --bal-form-field-icon-danger-color: TBD
56
+ * @prop --bal-form-field-icon-disabled-color: TBD
57
+ * @prop --bal-file-label-color: TBD
58
+ * @prop --bal-file-label-color-hover: TBD
59
+ * @prop --bal-file-label-color-active: TBD
60
+ * @prop --bal-file-border-style: TBD
61
+ * @prop --bal-file-label-disabled-color: TBD
62
+ */
63
+
64
+ :root
65
+ //
66
+ // form control
67
+ --bal-form-field-control-font-size: var(--bal-text-size-normal)
68
+ --bal-form-field-control-font-family: var(--bal-font-family-text)
69
+ --bal-form-field-control-color: var(--bal-color-text-primary)
70
+ --bal-form-field-control-placeholder-color: var(--bal-color-text-primary-light)
71
+ --bal-form-field-control-radius: var(--bal-radius-normal)
72
+ --bal-form-field-control-background: var(--bal-color-white)
73
+ --bal-form-field-control-background-hover: var(--bal-color-grey-1)
74
+ --bal-form-field-control-background-active: var(--bal-color-grey-1)
75
+ --bal-form-field-control-border-width: var(--bal-border-width-normal)
76
+ --bal-form-field-control-border-style: solid
77
+ --bal-form-field-control-border-color: var(--bal-color-border)
78
+ --bal-form-field-control-border-color-hover: var(--bal-form-field-control-border-color)
79
+ --bal-form-field-control-border-color-active: var(--bal-color-border-primary)
80
+ // success
81
+ --bal-form-field-control-success-background: var(--bal-color-success-1)
82
+ --bal-form-field-control-success-background-hover: var(--bal-color-success-1)
83
+ --bal-form-field-control-success-background-active: var(--bal-color-success-1)
84
+ --bal-form-field-control-success-border-color: var(--bal-color-border-success)
85
+ --bal-form-field-control-success-border-color-hover: var(--bal-form-field-control-border-color)
86
+ --bal-form-field-control-success-border-color-active: var(--bal-color-border-primary)
87
+ // danger
88
+ --bal-form-field-control-danger-background: var(--bal-color-danger-1)
89
+ --bal-form-field-control-danger-background-hover: var(--bal-color-danger-1)
90
+ --bal-form-field-control-danger-background-active: var(--bal-color-danger-1)
91
+ --bal-form-field-control-danger-border-color: var(--bal-color-border-danger)
92
+ --bal-form-field-control-danger-border-color-hover: var(--bal-form-field-control-border-color)
93
+ --bal-form-field-control-danger-border-color-active: var(--bal-color-border-primary)
94
+ // disabled
95
+ --bal-form-field-control-disabled-color: var(--bal-color-text-grey-dark)
96
+ --bal-form-field-control-disabled-background: var(--bal-color-grey-2)
97
+ --bal-form-field-control-disabled-border-color: var(--bal-color-border-grey-dark)
98
+ //
99
+ // field label
100
+ --bal-form-field-label-font-size: var(--bal-text-size-small)
101
+ --bal-form-field-label-line-height: var(--bal-line-height-small)
102
+ --bal-form-field-label-font-weight: var(--bal-font-weight-bold)
103
+ --bal-form-field-label-font-family: var(--bal-font-family-text)
104
+ --bal-form-field-label-margin-bottom: 0.25rem
105
+ --bal-form-field-label-color-hover: var(--bal-link-color-hover)
106
+ --bal-form-field-label-color-active: var(--bal-link-color-active)
107
+ --bal-form-field-label-success-color: var(--bal-color-text-success)
108
+ --bal-form-field-label-danger-color: var(--bal-color-text-danger)
109
+ --bal-form-field-label-danger-color-hover: var(--bal-color-text-danger-hovered)
110
+ --bal-form-field-label-danger-color-active: var(--bal-color-text-danger-pressed)
111
+ --bal-form-field-label-disabled-color: var(--bal-color-text-grey)
112
+ //
113
+ // field message
114
+ --bal-form-field-message-font-size: var(--bal-text-size-x-small)
115
+ --bal-form-field-message-font-weight: var(--bal-font-weight-regular)
116
+ --bal-form-field-message-color: var(--bal-color-text-primary-light)
117
+ --bal-form-field-message-color-hover: var(--bal-link-color-hover)
118
+ --bal-form-field-message-color-active: var(--bal-link-color-active)
119
+ --bal-form-field-message-font-weight: var(--bal-font-weight-regular)
120
+ --bal-form-field-message-success-color: var(--bal-color-text-success)
121
+ --bal-form-field-message-danger-color: var(--bal-color-text-danger)
122
+ --bal-form-field-message-disabled-color: var(--bal-color-text-grey)
123
+ //
124
+ // field icon
125
+ --bal-form-field-icon-color: var(--bal-link-color)
126
+ --bal-form-field-icon-color-hover: var(--bal-link-color-hover)
127
+ --bal-form-field-icon-color-active: var(--bal-link-color-active)
128
+ --bal-form-field-icon-success-color: var(--bal-color-text-success)
129
+ --bal-form-field-icon-danger-color: var(--bal-color-text-danger)
130
+ --bal-form-field-icon-disabled-color: var(--bal-color-text-grey)
131
+ //
132
+ // file upload
133
+ --bal-file-label-color: var(--bal-link-color)
134
+ --bal-file-label-color-hover: var(--bal-link-color-hover)
135
+ --bal-file-label-color-active: var(--bal-link-color-active)
136
+ --bal-file-border-style: dashed
137
+ --bal-file-label-disabled-color: var(--bal-color-text-grey-dark)
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @prop --bal-link-color: Default link color
3
+ * @prop --bal-link-color-hover: Link color on hover
4
+ * @prop --bal-link-color-active: Link color on pressed
5
+ * @prop --bal-link-font-weight: Default link font weight
6
+ * @prop --bal-link-radius: Default link border radius
7
+ * @prop --bal-link-text-decoration: Link text decoration
8
+ * @prop --bal-link-text-underline-offset: Link decoration underline-offset 0.25rem
9
+ * @prop --bal-link-text-decoration-thickness: Link decoration thickness 2px
10
+ * @prop --bal-link-inverted-color: Link color on dark background
11
+ * @prop --bal-link-inverted-color-hover: Link color on dark background when hovering
12
+ * @prop --bal-link-inverted-color-active: Link color on dark background when pressing
13
+ * @prop --bal-link-inverted-light-font-weight: Link font weight on dark background
14
+ * @prop --bal-link-inverted-light-text-decoration: Link text-decoration on dark background
15
+ */
16
+
17
+ :root
18
+ --bal-link-color: var(--bal-color-text-primary)
19
+ --bal-link-color-hover: var(--bal-color-text-primary-hovered)
20
+ --bal-link-color-active: var(--bal-color-text-primary-pressed)
21
+ --bal-link-font-weight: var(--bal-font-weight-bold)
22
+ --bal-link-radius: var(--bal-radius-normal)
23
+ --bal-link-background: transparent
24
+ --bal-link-border-color: transparent
25
+ --bal-link-text-decoration: underline
26
+ --bal-link-text-underline-offset: 0.25rem
27
+ --bal-link-text-decoration-thickness: var(--bal-border-width-normal)
28
+ //
29
+ // inverted
30
+ --bal-link-inverted-color: var(--bal-color-text-inverted)
31
+ --bal-link-inverted-color-hover: var(--bal-color-text-inverted-hovered)
32
+ --bal-link-inverted-color-active: var(--bal-color-text-inverted-pressed)
33
+ //
34
+ // inverted light
35
+ --bal-link-inverted-light-font-weight: var(--bal-font-weight-regular)
36
+ --bal-link-inverted-light-text-decoration: none
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @prop --bal-list-marker-color: Color of the list marker symbol
3
+ * @prop --bal-list-marker-inverted-color: Color of the list marker symbol on a dark background
4
+ * @prop --bal-list-bullet-radius: Radius of the custom bullet
5
+ * @prop --bal-list-bullet-background: Background color of the custom bullet
6
+ * @prop --bal-list-bullet-background-green: Green background color of the custom bullet
7
+ * @prop --bal-list-bullet-background-red: Red background color of the custom bullet
8
+ * @prop --bal-list-bullet-background-yellow: Yellow background color of the custom bullet
9
+ * @prop --bal-list-bullet-background-purple: Purple background color of the custom bullet
10
+ */
11
+
12
+ :root
13
+ --bal-list-marker-color: var(--bal-color-primary)
14
+ --bal-list-marker-inverted-color: var(--bal-color-white)
15
+ --bal-list-bullet-radius: var(--bal-radius-rounded)
16
+ --bal-list-bullet-background: var(--bal-color-green-3)
17
+ --bal-list-bullet-background-green: var(--bal-color-green-3)
18
+ --bal-list-bullet-background-red: var(--bal-color-red-3)
19
+ --bal-list-bullet-background-yellow: var(--bal-color-yellow-3)
20
+ --bal-list-bullet-background-purple: var(--bal-color-purple-3)