@acorex/styles 7.1.14 → 7.1.16
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 +1 -1
- package/tailwind-base.js +30 -0
package/package.json
CHANGED
package/tailwind-base.js
CHANGED
@@ -155,6 +155,36 @@ module.exports = withAnimations({
|
|
155
155
|
plugins: [
|
156
156
|
plugin(function ({ addUtilities }) {
|
157
157
|
const acorexClasses = {
|
158
|
+
'.heading': {
|
159
|
+
width: '100%',
|
160
|
+
'border-bottom': '1px solid',
|
161
|
+
'border-color': 'rgba(var(--ax-color-border-default))',
|
162
|
+
'line-height': '0.1em',
|
163
|
+
margin: '1rem auto',
|
164
|
+
},
|
165
|
+
'.heading > span': {
|
166
|
+
background: 'rgba(var(--ax-color-surface))',
|
167
|
+
padding: '0 0.75rem',
|
168
|
+
},
|
169
|
+
'.heading-start': {
|
170
|
+
'text-align': 'start',
|
171
|
+
},
|
172
|
+
'.heading-center': {
|
173
|
+
'text-align': 'center',
|
174
|
+
},
|
175
|
+
'.heading-end': {
|
176
|
+
'text-align': 'end',
|
177
|
+
},
|
178
|
+
'.link': {
|
179
|
+
color: 'rgba(var(--ax-color-primary-500))',
|
180
|
+
cursor: 'pointer',
|
181
|
+
},
|
182
|
+
'.link:hover': {
|
183
|
+
'text-decoration': 'underline',
|
184
|
+
},
|
185
|
+
'.link:visited': {
|
186
|
+
color: 'rgba(var(--ax-color-primary-700))',
|
187
|
+
},
|
158
188
|
'.animate-fast': {
|
159
189
|
animationDuration: '800ms',
|
160
190
|
},
|