designsystemet
designsystemet copied to clipboard
Designsystemet
Work on #2508
In #2560 I found this sorting function used when concatenating the different generated css files into one entry file per theme. ```ts const sortLightmodeFirst = R.sortWith([R.descend(R.includes('light')), R.descend(R.includes('secondary'))]); ``` The PR...
It currently uses `.startsWith()`, which has some consequenses with how it looks for a class. Take our `utilities.css` file, that has two classes for focus: ```css .ds-focus:focus-visible { @composes ds-focus--visible...
### Description of the bug Automatic testing of designsystemet.no, tools used: - Siteimprove - Sortsite Findings in categories: - Accessibility - Errors - Usability - Standards / Web - Compatibility...
### Description of the bug I extended the [controlled combobox example](https://storybook.designsystemet.no/?path=/story/komponenter-combobox--controlled) (codeexample from [here](https://github.com/digdir/designsystemet/blob/next/packages/react/src/components/form/Combobox/Combobox.stories.tsx)) with a new button: Nullstill. The button is quite simple, and sets the value of the...
### Version number _No response_ ### Description of the bug This is only happing to the JSON output, not CLI ### Steps To Reproduce 1. go to theme.designsystemet.no or next.theme.designsystemet.no...
Test on how we can implement context based colors in Figma
Fixes #1943 For now just testing creating a `` component, which uses a utility that works with the real DOM, making it possible to use in a future custom element...