@obosbbl/grunnmuren-tailwind 0.8.2 → 0.8.4

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": "@obosbbl/grunnmuren-tailwind",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "description": "Grunnmuren Tailwind preset",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -16,11 +16,11 @@
16
16
  ],
17
17
  "dependencies": {
18
18
  "@tailwindcss/aspect-ratio": "0.4.2",
19
- "@tailwindcss/typography": "0.5.7"
19
+ "@tailwindcss/typography": "0.5.8"
20
20
  },
21
21
  "devDependencies": {
22
- "tailwindcss": "3.2.1",
23
- "postcss": "8.4.18"
22
+ "tailwindcss": "3.2.4",
23
+ "postcss": "8.4.19"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "tailwindcss": "^3.2"
package/tailwind-base.cjs CHANGED
@@ -116,10 +116,13 @@ const radio = plugin(function ({ addComponents, theme }) {
116
116
  borderRadius: '50%',
117
117
  border: `2px solid ${theme('colors.gray.dark')}`,
118
118
  cursor: 'pointer',
119
- marginRight: '0.75rem',
120
119
  // use grid to handle the checked:before styles
121
120
  display: 'inline-grid',
122
121
  placeContent: 'center',
122
+ // Prevent flex container from altering the size of the radio button
123
+ flex: '0 0 auto',
124
+ // magic number that tries to keep the input horizontally centered in relation to the first line of the label text
125
+ transform: 'translateY(0.095em)',
123
126
  '&:checked': {
124
127
  borderColor: theme('colors.green.DEFAULT'),
125
128
  },
@@ -452,6 +455,7 @@ module.exports = (userOptions) => {
452
455
  '--tw-prose-lead': theme('colors.black'),
453
456
  '--tw-prose-quotes': theme('colors.blue.dark'),
454
457
  '--tw-prose-quote-borders': theme('colors.green.DEFAULT'),
458
+ '--tw-prose-counters': theme('colors.black'),
455
459
  // TODO: Increase bullet size. See design sketches
456
460
  '--tw-prose-bullets': theme('colors.green.DEFAULT'),
457
461
  color: theme('colors.black'),