13.1.2 • Published 4 months ago

diplanung-style v13.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

DiPlanung Style

Description

This repository contains design resources that can be used in DiPlanung projects.

Installation

To install the node module:

npm install --save diplanung-style

After installation, a new folder diplanung-style is created in node_modules.

Usage

There are multiple ways of using the package.

CSS

Import the generated CSS file in your project:

@import "diplanung-style/dist/style.css";

The CSS version is already minified. It includes the Open Sans font and icons.

SCSS

Main.scss

In case you want to use the whole package (similar to the CSS variant), you should import the main.scss.

@use "diplanung-style/src/scss/main";

SCSS-Modules:

In case you only want to use a single (or not the whole package) element or customize the module, you should import the respective SCSS module.

We recommend @use but you could also use @import.

@use "diplanung-style/src/scss/button";
  • accessibility
  • button
  • button-group
  • checkbox
  • css-props
  • heading
  • icon (*includes the icomoon.io icon font)
  • input
  • input-group
  • label
  • link
  • normalize
  • radio
  • text
  • textarea
  • typography (*includes the Open Sans font)

SCSS variables and mixins:

In case you just want to use a certain mixin or variable, you should use or import the associated variable/mixin SCSS file.

@use "diplanung-style/src/scss/mixins/clearfix" as *;

.element {
  @include clearfix;
}
@use "diplanung-style/src/scss/variables/button" as button-variables;

.element {
  padding: button-variables.$button-core-padding;
}

Vite Integration

Before you can use the included fonts, you need to set server.fs.strict to false.

https://vitejs.dev/config/server-options.html#server-fs-allow

export default defineConfig({
  server: {
    fs: {
      strict: false,
    },
  },
});

Authors and acknowledgment

]init[ AG für digitale Kommunikation, Berlin

License

MIT

13.1.2

4 months ago

13.1.1

4 months ago

13.1.0

5 months ago

13.0.0

5 months ago

12.0.0

6 months ago

11.0.0

6 months ago

11.1.0

6 months ago

10.0.5

6 months ago

10.0.6

6 months ago

10.0.7

6 months ago

10.0.0

6 months ago

10.0.1

6 months ago

10.0.2

6 months ago

10.0.3

6 months ago

10.0.4

6 months ago

9.0.0

7 months ago

8.1.0

8 months ago

8.0.0

8 months ago

7.0.0

8 months ago

5.5.0

10 months ago

5.3.1

10 months ago

5.3.0

10 months ago

6.1.0

9 months ago

5.6.1

9 months ago

5.6.0

9 months ago

5.4.0

10 months ago

5.2.0

10 months ago

6.0.0

9 months ago

5.1.0

11 months ago

4.2.0

1 year ago

5.0.0

12 months ago

4.1.0

1 year ago

4.3.0

12 months ago

4.0.0

1 year ago

3.1.0

1 year ago

3.0.0

1 year ago

2.11.0

1 year ago

2.10.1

1 year ago

2.10.0

1 year ago

2.9.0

1 year ago

2.8.1

1 year ago

2.8.2

1 year ago

2.7.0

1 year ago

2.8.0

1 year ago

2.6.1

1 year ago

2.6.0

1 year ago

2.5.2

1 year ago

2.5.1

1 year ago

2.5.0

1 year ago

2.3.0

1 year ago

2.4.0

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.17.2

2 years ago

2.2.0

2 years ago

0.17.3

2 years ago

0.15.0

2 years ago

0.16.0

2 years ago

0.15.1

2 years ago

0.14.2

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

0.17.0

2 years ago

0.16.1

2 years ago

2.0.0

2 years ago

0.17.1

2 years ago

0.13.0

2 years ago

0.14.0

2 years ago

0.14.1

2 years ago

0.10.0

2 years ago

0.11.0

2 years ago

0.9.0

2 years ago

0.12.0

2 years ago

0.8.0

2 years ago

0.7.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.3.0

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.1.0

2 years ago

0.2.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago