Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ffe-file-upload): semantiske farger i file upload #2579

Merged
merged 1 commit into from
Feb 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions packages/ffe-file-upload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ npm install --save @sb1/ffe-file-upload
Full documentation on file upload usage is available at https://design.sparebank1.no/komponenter/skjemaelementer/#fileupload.

```less
@import 'path/to/node_modules/@sb1/ffe-file.upload/less/ffe-file-upload.less';
@import 'path/to/node_modules/@sb1/ffe-file.upload/less/file-upload.less';
```

### Importing compiled CSS
Expand All @@ -24,16 +24,6 @@ If your project does not use Less, you can import the compiled styling:

See also `@sb1/ffe-file-upload-react`.

## Theming with CSS custom properties

In order to support theming of components, this package contains styling that depends on a set of custom properties, defined in `less/theme.less`. These properties in turn depend on a base theme defined in `ffe-core`.

If your project uses the `ffe-core`, you're probably good to go. If not, make sure to import the core properties in `theme.less`:

```css
@import '~@sb1/ffe-core/less/theme';
```

## Development

To start a local development server, run the following from the designsystem root folder:
Expand Down
298 changes: 0 additions & 298 deletions packages/ffe-file-upload/less/ffe-file-upload.less

This file was deleted.

Loading
Loading