@acorex/styles 7.1.13 → 7.1.15
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 +20 -0
package/package.json
CHANGED
package/tailwind-base.js
CHANGED
@@ -155,6 +155,26 @@ 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
|
+
},
|
158
178
|
'.animate-fast': {
|
159
179
|
animationDuration: '800ms',
|
160
180
|
},
|