@obosbbl/grunnmuren-tailwind 2.0.0-canary.11 → 2.0.0-canary.12

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 (2) hide show
  1. package/package.json +1 -1
  2. package/tailwind-base.cjs +14 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-tailwind",
3
- "version": "2.0.0-canary.11",
3
+ "version": "2.0.0-canary.12",
4
4
  "description": "Grunnmuren Tailwind preset",
5
5
  "repository": {
6
6
  "url": "https://github.com/code-obos/grunnmuren"
package/tailwind-base.cjs CHANGED
@@ -534,6 +534,20 @@ module.exports = (options = {}) => {
534
534
  strong: {
535
535
  fontWeight: theme('fontWeight.medium'),
536
536
  },
537
+ code: {
538
+ padding: `${theme('spacing[0.5]')} ${theme('spacing.2')}`,
539
+ borderRadius: theme('borderRadius.DEFAULT'),
540
+ borderWidth: theme('borderWidth.DEFAULT'),
541
+ borderColor: theme('colors.gray.DEFAULT'),
542
+ backgroundColor: theme('colors.gray.lightest'),
543
+ whiteSpace: 'nowrap',
544
+ },
545
+ 'code::before': {
546
+ content: '""',
547
+ },
548
+ 'code::after': {
549
+ content: '""',
550
+ },
537
551
  blockquote: {
538
552
  // Reset defaults:
539
553
  marginBottom: 'unset',