Digital design,
3. semester
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
colors: {
"custom": "#5000ca",
}
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
colors: {
"custom": "#5000ca",
}
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
colors: {
"custom": "#5000ca",
}
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
"custom": "#5000ca",
}
},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
"custom": "#5000ca",
}
},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
Farvepalette
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
colors: {
"primary-dark": "#173f5f",
"primary-light": "#20639b",
secondary: "#3caea3",
tertiary: "#f6d55c",
accent: "#ed553b",
}
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
100
200
300
400
500
600
700
800
100
200
300
400
500
600
700
800
100
200
300
400
500
600
700
800
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
colors: {
primary: {
100: "#cffafe",
200: "#a5f3fc",
300: "#67e8f9",
400: "#22d3ee",
500: "#06b6d4",
600: "#0891b2",
700: "#0e7490",
800: "#155e75",
900: "#164e63",
},
},
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
colors: {
primary: {
100: "#cffafe",
200: "#a5f3fc",
300: "#67e8f9",
400: "#22d3ee",
500: "#06b6d4",
600: "#0891b2",
700: "#0e7490",
800: "#155e75",
900: "#164e63",
},
},
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
100
200
300
400
500
600
700
800
100
200
300
400
500
600
700
800
100
200
300
400
500
600
700
800
200
500
800
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
colors: {
// ...
primary: {
light: '#67e8f9',
DEFAULT: '#06b6d4',
dark: '#0e7490',
},
// ...
},
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
colors: {
// ...
primary: {
light: '#67e8f9',
DEFAULT: '#06b6d4',
dark: '#0e7490',
},
// ...
},
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,vue,js,ts,jsx,tsx}"],
theme: {
colors: {
// ...
primary: {
light: '#67e8f9',
DEFAULT: '#06b6d4',
dark: '#0e7490',
},
// ...
},
extend: {},
},
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")],
};
Billeder
bruges til billeder uden (semi)transparente pixels
er et nyere format, som kan bruges til billeder både med og uden (semi)transparente pixels
bruges til billeder med (semi)transparente pixels
bruges til billeder uden (semi)transparente pixels
reducerer filstørrelsen, hvilket forbedrer ydelsen af et website
bruges til billeder med (semi)transparente pixels
.jpg
bruges til billeder uden (semi)transparente pixels
-75%
.webp
reducerer filstørrelsen, hvilket forbedrer ydelsen af et website
bruges til billeder uden (semi)transparente pixels
-91%
.avif
reducerer filstørrelsen yderligere
-97%
.avif
reducer antallet af pixler, for at opnå en endnu mindre filstørrelse
bruges til billeder uden (semi)transparente pixels
brug et online værktøj til at konvertere til et nyt format, samt ændre dimensionerne
<img src="img/photo.jpg" alt="Description" width="360" height="240">
<picture>
<source srcset="img/photo.avif" type="image/avif">
<img src="img/photo.webp" alt="Description" width="360" height="240">
</picture>
<picture>
<source srcset="img/photo.avif" type="image/avif">
<img src="img/photo.webp" alt="Description" width="360" height="240">
</picture>
<img src="img/photo.jpg" alt="Description" width="360" height="240">