nl-design-system / lux

Lux — Logius Design System
https://nl-design-system.github.io/lux/
European Union Public License 1.2
5 stars 1 forks source link

Rich text (vriendjes spacing system) #301

Open AlineNap opened 3 weeks ago

AlineNap commented 3 weeks ago

Omschrijving

Vriendjes spacing systeem. Kunnen wij dit ook toepassen op mijn aansluitingen?

Zie utrecht: https://nl-design-system.github.io/utrecht/storybook/?path=/story/css_css-rich-text--default

Definition of ready

Definition of done

Component

Storybook

Tests

Links

AlineNap commented 1 day ago

Stijling review

Hier alvast de tokens met dezelfde waarde als bij RHC om mee te spelen.

{
  "utrecht": {
    "rich-text": {
      "stranger": {
        "margin-block-end": {
          "value": "{lux.space.400}",
          "type": "spacing"
        }
      },
      "acquaintance": {
        "margin-block-end": {
          "value": "{lux.space.200}",
          "type": "spacing"
        }
      },
      "friend": {
        "margin-block-end": {
          "value": "{lux.space.100}",
          "type": "spacing"
        }
      },
      "best-friend": {
        "margin-block-end": {
          "value": "{lux.space.50}",
          "type": "spacing"
        }
      },
      "confidant": {
        "margin-block-end": {
          "value": "{lux.space.0}",
          "type": "spacing"
        }
      }
    }
  }
}