- #2909
8f9df8d
Thanks @connor-baer! - Added the--cui-letter-spacing-tight
token. Use it for very large typography.
- #2873
f7e1557
Thanks @connor-baer! - Updated the--cui-fg-placeholder-*
color tokens to meet contrast requirements.
- #2782
0a6ec4e
Thanks @connor-baer! - Updated the legacy JavaScript theme to the latest typography token values to match the modern CSS custom variables.
-
#2707
f8016eb
Thanks @sirineJ! - Raised the minimum Node.js version to 20+. -
#2648
f583d05
Thanks @connor-baer! - Renamed the package scope from@sumup
to@sumup-oss
. Replace@sumup/design-tokens
with@sumup-oss/design-tokens
in yourpackage.json
file, then update all imports:-import '@sumup/design-tokens/light.css'; +import '@sumup-oss/design-tokens/light.css';
Circuit UI's ESLint plugin offers the
renamed-package-scope
rule to automate updating the package imports. -
#2654
55bf9ad
Thanks @connor-baer! - Changed the default font from Aktiv Grotesk to Inter, a variable font. Variable fonts combine a continuous range of weights and other "axes" into a single file. This speeds up page load times and enables more creative freedom. Inter is a close match to Aktiv Grotesk, so users shouldn't notice a difference. -
#2654
55bf9ad
Thanks @connor-baer! - Added a new@sumup-oss/design-tokens/fonts.css
file containing the@font-face
declarations to load the Inter font family. Refer to the documentation on how to load fonts in your application.
-
#2653
33435cf
Thanks @connor-baer! - Consolidated and renamed thetypography
tokens:Old New typography-title-one-font-size
typography-display-l-font-size
typography-title-one-line-height
typography-display-l-line-height
typography-title-two-font-size
typography-display-m-font-size
typography-title-two-line-height
typography-display-m-line-height
typography-title-three-font-size
typography-display-m-font-size
typography-title-three-line-height
typography-display-m-line-height
typography-title-four-font-size
typography-display-s-font-size
typography-title-four-line-height
typography-display-s-line-height
typography-headline-one-font-size
typography-headline-l-font-size
typography-headline-one-line-height
typography-headline-l-line-height
typography-headline-two-font-size
typography-headline-m-font-size
typography-headline-two-line-height
typography-headline-m-line-height
typography-headline-three-font-size
typography-headline-m-font-size
typography-headline-three-line-height
typography-headline-m-line-height
typography-headline-four-font-size
typography-headline-s-font-size
typography-headline-four-line-height
typography-headline-s-line-height
typography-sub-headline-font-size
typography-headline-s-font-size
typography-sub-headline-line-height
typography-headline-s-line-height
typography-body-large-font-size
typography-body-l-font-size
typography-body-large-line-height
typography-body-l-line-height
typography-body-one-font-size
typography-body-m-font-size
typography-body-one-line-height
typography-body-m-line-height
typography-body-two-font-size
typography-body-s-font-size
typography-body-two-line-height
typography-body-s-line-height
- #2613
a1f877a
Thanks @connor-baer! - Matched the interactive variants of thefg-normal
,fg-subtle
,fg-on-strong
, andfg-on-strong-subtle
color tokens to their default values.
- #2551
d2115fb
Thanks @connor-baer! - Updated thebg-normal-disabled
,bg-subtle-hovered
,bg-subtle-pressed
,bg-highlight-disabled
,bg-accent-hovered
,bg-accent-pressed
,bg-accent-strong-hovered
,bg-accent-strong-pressed
,bg-danger-hovered
,bg-danger-pressed
,bg-danger-disabled
,bg-danger-strong-hovered
,bg-danger-strong-pressed
,fg-subtle-hovered
,fg-danger-hovered
,fg-danger-disabled
,border-normal
,border-subtle-hovered
,border-danger
,border-danger-hovered
, andborder-danger-disabled
color tokens.
-
779a911
Thanks @connor-baer! - Added a dark theme. Import@sumup/design-tokens/dark.css
for the standalone dark theme. Import@sumup/design-tokens/dynamic.css
to switch between the light and dark themes automatically based on the system settings or explicitly using thedata-color-scheme
attribute. -
779a911
Thanks @connor-baer! - Added scoped light and dark themes. Import@sumup/design-tokens/light-scoped.css
or@sumup/design-tokens/dark-scoped.css
to theme a subset of an application marked up with thedata-color-scheme
attribute.
779a911
Thanks @connor-baer! - Fixed theborder-focus
color token value.
- #2416
dcb816e
Thanks @connor-baer! - Changed the order of the default font stack to prefer web safe fonts over system fonts. This provides a more consistent user experience across platforms, reduces layout shift when switching to SumUp's brand font, Aktiv Grotesk, and works around a (supposedly fixed) Chrome bug.
-
#2355
43f357b
Thanks @connor-baer! - Removed all colors from the legacy JavaScript theme object and theme prop type. Use the semantic color tokens instead:-color: ${theme.colors.p500}; +color: var(--cui-fg-accent);
-
#2356
bc5e753
Thanks @connor-baer! - Changed the color scheme from blue to black & white.
- #2302
815ae9d2
Thanks @connor-baer! - Added the--cui-fg-on-strong-subtle
,--cui-fg-on-strong-subtle-hovered
,--cui-fg-on-strong-subtle-pressed
, and--cui-fg-on-strong-subtle-disabled
color tokens. Use them for secondary content that provides additional information on backgrounds ending with-strong
in order to achieve the necessary contrast for accessibility.
- #2296
bd4e7ec0
Thanks @connor-baer! - Updated the--cui-border-focus
color token to meet contrast requirements.
-
#2158
415c73dd
Thanks @connor-baer! - Exported all CSS custom properties as@sumup/design-tokens/light.css
. -
#2158
415c73dd
Thanks @connor-baer! - Deprecated the Emotion.js theme in favor of CSS custom properties. Use thecircuit-ui/prefer-custom-properties
ESLint rule to automatically migrate your code.
- #2040
fc006c27
Thanks @connor-baer! - Added aschema
export that describes the shape of the new CSS custom properties.
d4898da9
Thanks @connor-baer! - UpdatedfontStack.mono
to include more system fonts.
- #2091
3334873d
Thanks @connor-baer! - Upgraded all dependencies to their latest minor.
- #2051
6b82b360
Thanks @connor-baer! - Refactored the theme to be fully static.
- #1951
197f6851
Thanks @connor-baer @robinmetral! - Deprecated the legacy color tokens. Migrate to semantic color tokens instead. For context, refer to the Figma documentation (internal link). The new tokens are available as CSS custom properties, listed in the Circuit UI theme documentation.
- #1760
b8f129ee
Thanks @robinmetral! - Switched to rem units for typography design tokens. Do not override the root font-size in your global styles. See The Surprising Truth About Pixels and Accessibility.
- #1846
e08e252e
Thanks @robinmetral! - Adjusted theconfirm
,notify
andalert
brand colors.
- #1509
c7dfe6a4
Thanks @robinmetral! - Removed the deprecatedzIndex.sidebar
token. UsezIndex.navigation
instead.
- #1526
ba059828
Thanks @amelako! - Removed the deprecatedsuccess
,warning
anddanger
legacy color names. Useconfirm
,notify
andalert
instead.
- #1431
3f9585a4
Thanks @amelako! - Added newinfo
,confirm
,alert
, andnotify
colors and deprecated thesuccess
,warning
, anddanger
colors.
- #1359
5804fd8d
Thanks @amelako! - Added a newzIndex.toast
value for the NotificationToast component in Circuit UI.
- #1273
ed0c4f83
Thanks @robinmetral! - Added newtypography.title
andtypography.bodyLarge
values to the theme.
- #1262
d619b6e1
Thanks @hris27! - UpdatedthemePropType
to match the current state of the Circuit UI theme.
- #1108
c077b900
Thanks @connor-baer! - Added a newzIndex.navigation
token and deprecated thezIndex.sidebar
token.
- #1097
7f52ad7d
Thanks @robinmetral! - Bumped package versions to release the stable v3.
- #995
bd234296
Thanks @robinmetral! - Removed thedrawer
andselect
z-index values from the design tokens. Useinput
instead ofselect
.
-
#884
eb9e0b47
Thanks @amelako! - Replaced the typography design tokens'heading
,subHeading
andtext
properties byheadline
,subHeadline
, andbody
. These are used by the new semantic Headline, SubHeadline, and Body components in Circuit UI. -
#980
900e6bc4
Thanks @robinmetral! - Updated the design token's borderRadius properties. The 1px and 6px values are removed and a 16px value is added, and the sizes are renamed.
- #1039
9a35c9a7
Thanks @connor-baer! - Changed all breakpoints to media query strings. The consistency helps predictability and allows the breakpoint values to be passed towindow.matchMedia
directly.
-
#984
7879a990
Thanks @amelako! - Added a new icon sizetera
(48px). -
#1039
9a35c9a7
Thanks @connor-baer! - AddeduntilGiga
anduntilTera
breakpoints and media queries.
-
#890
e6c39366
Thanks @connor-baer! - Updated the body background color to white and darkened the overlay color. -
#962
35ce0033
Thanks @robinmetral! - Add a new peta borderRadius size of 12px
- #933
e4c940bc
Thanks @connor-baer! - Fixed two typos in the theme prop type:theme.breakpoint
→theme.breakpoints
andtheme.mx
→theme.mq
.