50 Stylish Wedding Invitation Templates

Post pobrano z: 50 Stylish Wedding Invitation Templates

Love is in the air! And in this collection of premium design assets, we present you with 50 stunning wedding invitation templates.

Loaded with incredible designs from GraphicRiver and Envato Elements, this collection features a plethora of gorgeous invitations we’re sure you’ll love.

Download these templates today to embark on your romantic journey or enlist the help of a design professional from Envato Studio for custom invitation design.

50 Fabulous Wedding Invitation Templates

Start the first day of the rest of your life in style. Download one of these premium wedding invitation templates to celebrate your love with the world. They’re crafted with exquisite designs and luxurious elements, so say „I do” to these fabulous wedding templates today. Enjoy!

Wedding Invitation Set

To kick off this collection, we’ll start with this lovely wedding invitation set. This set includes several unique templates for your wedding invitations, RSVP cards, and so much more. Celebrate your special day in style with this minimal design featuring unique cursive lettering.

Wedding Invitation Set

Black and White Wedding Invitation

Dazzle your guests with this stunning wedding invitation design. This template features an elegant black and white color scheme with gold elements to complement your overall palette. Print ready and easy to use, this design can be downloaded today!

Black and White Wedding Invitation

Watercolor Wedding Invitations 8 Cards

This beautiful invitation package features a handmade watercolor wash that is sure to impress your guests! Also included in this package are eight Photoshop files with multiple card designs and so much more!

Watercolor Wedding Invitations 8 cards

Elegant Wedding Invitation

Match your invitation design to the bride’s dress details with this elegant invitation. This template features a lovely dark and light version with a professional clean design that is sure to make your invitations memorable.

Elegant Wedding Invitation

Love Letter Wedding Invitation

Send a love letter to all your party guests with this stunning invitation package. This download includes several print-ready designs with lovely script details. Easily adjust and customize the designs for more creative options.

Love Letter Wedding Invitation

Wreath Wedding Invitations

Customize your invitations to match your wedding’s style. Perfect for that elegant look, this suite includes one invitation and matching RSVP card. Complement your wedding details by featuring this beautiful gold wreath set.

Wreath Wedding Invitations

Floral Wedding Invitation Suite

Kick off your wonderful wedding experience with this floral invitation suite. Apart from the initial documentation file, you’ll also receive four separate Photoshop files with double-sided invitations and additional wedding cards.

Floral Wedding Invitation Suite

Elegant Vintage Wedding Invitation

Need an invitation with a unique vintage theme? Then look no further! Here we have a gorgeous template that features a pristine vintage design with rustic elements and both front and back layout options.

Elegant Vintage Wedding Invitation

Floral Wedding Invitation Template

One unique way to make your invitations shine is to match them to your current floral arrangement. Use this template to feature your favorite flowers with a modern typographic design. Included in this set are two Photoshop files that are well organized with color-coded groups.

Floral Wedding Invitation Template

The Vintage Wedding Card

Stamp your face on a cute invitation design and let your loved ones know you’re ready to take the leap! This lovely template features a professional clean design that is print ready and super easy to use. Simply drag and drop your photos into the allotted Smart Objects to customize this design easily.

The Vintage Wedding Card

Summer Wedding Invitation Card

Are you having a wedding in the summer? Then perhaps you’ll love this gorgeous floral wedding invitation card. Designed with vintage floral elements and elegant text, this pack includes two high resolution invitation cards. Share the love today!

Summer Wedding Invitation Card

Rustic Wedding Invitation & RSVP

Enjoy this rustic invitation design for your special day. This elegant template features a minimalist design with vintage rustic elements to highlight your wedding arrangements. Download this file to get three unique color combinations and links to free fonts.

Rustic Wedding Invitation  RSVP

Save The Date Chalkboard Postcard – Volume 3

You can achieve the look of custom chalkboard lettering against a dusty blackboard with this unique design. This template features two additional color alternatives with a front and back design for a nice vintage look.

Save The Date Chalkboard Postcard - Volume 3

Vintage Wedding Invitation Template

Many invitation templates on GraphicRiver come with elegant color alternatives. Check out this vintage wedding invitation, for instance. This template features three unique color combinations along with a clean front and back design perfect for your romantic celebration.

Vintage Wedding Invitation Template

The Wedding Invitation

Want a wedding invitation with bold, vibrant colors? Then check out this lovely minimalist design. This template features four unique color combinations that we’re sure you’ll love. Download free fonts included with this package to take advantage of this stunning design.

The Wedding Invitation

Elegant Wedding Invitation

There’s no need for a fussy design when you can celebrate your love with an elegant wedding invitation. This template features four fully layered Photoshop files, with two color options, and so much more!

Elegant Wedding Invitation

Watercolor Invitation Template – 4 Colors

Or how about a nice watercolor design for your wedding invitation? This template features a special design with handmade watercolor textures that are sure to complement your special day. Download this template to get access to four color combinations and so much more!

Watercolor Invitation Template - 4 Colors

Bokeh Wedding Invitation Template

If you love the look of sparkly bokeh photography, then we’re sure you’ll enjoy this stunning wedding invitation. This template features a gorgeous sparkly design with elegant text and a simplistic layout. 

Bokeh Wedding Invitation Template

Lace Wedding Invitation

Put your love on display with this beautiful wedding invitation template. This design features a print-ready layout that is super easy to use. Simply place your photos into the appropriate Smart Objects to enjoy this design quickly and easily.

Lace Wedding Invitation

Modern Wedding Invitation Template

Love geometric shapes and warm, vibrant colors? Then this template might be the one for you! Included in this package are all the materials you need to kick off your wedding in style. Enjoy a complete collection featuring modern designs for wedding invitations, RSVP cards, and more!

Modern Wedding Invitation Template

Save the Date Invitation Card

Many lovely couples utilize talented photographers for stunning engagement photos. So take advantage of your special photo shoot by showcasing your photos on your save the date cards. Created in Photoshop with well organized layers, this template is ready to download and enjoy today!

Save the Date Invitation Card

Green Foliage Wedding Invitation

Save the date with a remarkable design that is classic and effortless. This wedding invitation features a sublime design with exquisite watercolor foliage. Adjust the text elements with the names of you and your love to enjoy this invitation now!

Green Foliage Wedding Invitation

Fresh Royal Wedding Invitation Package

Get royal with this stunning wedding invitation package. Included in this package are ten premium Photoshop files with templates for the invitations, RSVP cards, and so much more. Download this set to create a nice, cohesive look for all your wedding materials.

Fresh Royal Wedding Invitation Package

Save The Date Postcard – Volume 5

This super cute wedding invitation is perfect for an adorable retro couple. Show off his manly stache and her favorite lip shade with this cute design. This template features two layered Photoshop files, front and back designs, and plenty of room for guest information.

Save The Date Postcard - Volume 5

Save The Date Postcard – Volume 1

Save the date in style with this customized wedding invitation. This template features two layered PSD files that are super easy to edit. Simply drag and drop your favorite photo into the template and change the details for a personalized design.

Save The Date Postcard - Volume 1

Wedding Invitation Package – I Heart You

Show how much you love each other with this adorable wedding invitation package. This package includes 11 Photoshop files with templates for your save the date invites, RSVP forms, and thank you cards. Download this set today to get 11 great designs in one professional package!

Wedding Invitation Package - I Heart You

Wedding Invitation Typography Template

Take advantage of cool typographic design with this unique wedding invitation template. This design features a grungy mix of letters for all your pertinent information. Download this package to get an easy-to-use file with fully editable layers and more.

Wedding Invitation Typography Template

Simple Elegant Wedding Invitation

Wedding planning is already stressful, so do yourself a favor and go with a simple and elegant invitation design. This template features five gorgeous color variations with simplistic details and well-organized layers. Download it today to plug in your wedding details in no time at all!

Simple Elegant Wedding Invitation

Watercolor Leaves Wedding Invitation Suite

Match your invites to your garden surroundings. We hope you’re inspired to take a calming stroll amongst the flowers after using this lovely invitation set. Included in this download are several Photoshop files with front and back wedding card designs for fast printing!

Watercolor Leaves Wedding Invitation Suite

Floral Rustic Wedding Invitation

With a mix of fresh flowers and vintage design, this template features two unique light and dark versions to match your overall theme. Download this package today to get access to fully editable files and print-ready templates.

Floral Rustic Wedding Invitation

DIY Birdy Wedding Invitation & RSVP

Are you a bird lover at heart? Incorporate your passion into your wedding with this unique wedding invitation set. This template features a simplistic, elegant design with double-sided cards in a print-ready format. Download it today to make the most of this lovely design.

DIY Birdy Wedding Invitation  RSVP

Beige Wedding Invitation

For a classic wedding invite design, check out this gorgeous collection below. This package features easily editable Photoshop files for invites, info cards, and so much more. Customize it easily with your wedding details to get started today!

Beige Wedding Invitation

DIY Black & White Wedding Invitation PSD Template

Stand out from the crowd and download a template today that won’t be expected. This creative design features a unique black and white style with charming design details. You’ll receive a documentation file with nine additional files to cover your wedding arrangements.

DIY Black  White Wedding Invitation PSD Template

Black Wedding Set – Invitation

White typography against a solid black background always makes for stunning design. And you can utilize this design for print-ready invitations that are super easy to use. Purchase this package today to get access to several black and white designs featuring that classic vintage look.

Black Wedding Set - Invitation

DIY Peonies Wedding Invitation PSD Template

Do it yourself with this fabulous wedding invitation set! This package includes an elegant design with incredible peony flowers and room for photos. Customize your cards easily with dreamy engagement photography and all your wedding details.

DIY Peonies Wedding Invitation PSD Template

Dark Watercolor Wedding Templates

Save the date with this divine wedding invitation package. Featuring a gorgeous wash of watercolor as the base, this design also includes eight Photoshop files that are easy to use. Download the free fonts included with these templates to take full advantage of these designs.

Dark Watercolor Wedding Templates

DIY Vintage Wedding Invitation PSD Template

The beauty of DIY design is that you can still create beautiful invitations that won’t break the bank. And this vintage template is certainly no different. Included in this package are several files for your invites and cards in a print-ready format you can also print at home.

DIY Vintage Wedding Invitation PSD Template

Art Deco Wedding Invitation

Match your vintage wedding theme with this authentic invitation design. Included in this package are four Photoshop and Illustrator files with 100% vector elements. Show off your style and your incredible taste with this overall charming invitation set.

Art Deco Wedding Invitation

Grey Wedding Invitation Set

Those special little details really set a normal invitation apart from an extraordinary one. And this watercolor invite set features lovely floral details with files available in Adobe Photoshop. Get it printed on a special card stock with raised ink for an awesome experience.

Grey Wedding Invitation Set

Minimalist Wedding Invitation

Minimalist design can be just as fabulous as ornate ones. And with this adorable invitation set, you’ll be able to enjoy a simple design with a loving couple on the back cover. This package also includes elegant font types with vintage design elements for added style.

Minimalist Wedding Invitation

Autumn Wedding Invitation Set

As the colors on the leaves start to change, autumn becomes a beautiful time of the year to have a wedding. And with this invitation set, you get access to a nice fall design with several invitation cards that are easily editable. Celebrate your favorite season with the wedding of a lifetime!

Autumn Wedding Invitation Set

Embroidery Wedding Invitation

Go for a traditional aesthetic with this sweet embroidery invitation package. This download includes several important items like invites, RSVP cards, and more to complete your special day. Get access to front and back designs with bleed lines and more.

Embroidery Wedding Invitation

24 Vintage Wedding Invitations

It’s always good to have options in your life. And with this wedding invitation package, you get access to 24 vintage invitations featuring a fabulous brocade design. With print-ready files and six color variations, these mature wedding designs will make your plans complete.

24 Vintage Wedding Invitations

Marble Wedding Invitation

Marble floors exude class and sophistication. And you can incorporate that expensive look into your designs with these marble wedding invitations. Complete with print-ready files that are also fully editable, this template lets you enjoy that marvelously chic look without breaking the bank.

Marble Wedding Invitation

Painted Wedding Invitation Set

Unite your love of flowers and vibrant watercolors with this stunning invitation set. Included in this package are several save the date designs with a bonus set of eight watercolor elements. Choose a premium card stock to truly highlight your awesome designs.

Painted Wedding Invitation Set

Modern Classic Wedding Invitations

Showcase your classic wedding theme with this gorgeous modern design. This template features print-ready, fully editable files, with only free fonts used. Download this package today for a smart and simple wedding solution.

Modern Classic Wedding Invitations

Floral Wedding Invitation

This fun floral invitation is made with 100% vector elements. This means you can easily customize the flowers and leaves by scaling them to the size you desire. Make additional changes to the text or colors for a nice personalized touch.

Floral Wedding Invitation

Elegant Wreath Wedding Invitation

Or surprise your guests with these extraordinary invites featuring beautiful script text. This template includes a classy watercolor wreath design that your guests are sure to love. Choose from two color palettes, green and gold, to make your wedding unique and memorable.

Elegant Wreath Wedding Invitation

Spring Wedding Invitation Card

If your wedding is during that special time of the year when the flowers are at full bloom, then you’ll definitely want this spring invitation set to match your theme. Included in this package is a lovely watercolor design with flirty elements and gorgeous cursive fonts.

Spring Wedding Invitation Card

DIY Typography Wedding Invite PSD Template

To finish this awesome collection, we’ll feature this amazing typographic design. Included in this package are six separate Photoshop files with a multitude of color variations to fit any theme. Download today to customize this design quickly and easily.

DIY Typography Wedding Invite PSD Template

Conclusion

This list is jam-packed with exciting resources for the avid designer
familiar with Adobe Photoshop and Illustrator. If you need additional
help modifying these templates, enlist the skills of a talented
professional by choosing one of the amazing designers from Envato Studio.

And with hundreds of gorgeous wedding invitation templates available, chances are we’ve missed a few to add to your personal collection. Be sure to browse Envato Market and Envato Elements for more resources, and let us know your favorites in the comments below!

How to Create a Stylish Neon Portrait in Procreate

Post pobrano z: How to Create a Stylish Neon Portrait in Procreate

Final product image
What You’ll Be Creating

Procreate is my favorite drawing app available for the iPad.

In this tutorial we’ll be creating a colorful portrait of a beautiful woman, using different painting techniques. We’ll take some inspiration from the retro and glamour styles, and we’ll use vibrant neon colors to make it stylish.

Let’s start!

1. How to Make a Sketch

Step 1

In this tutorial, I’m using an iPad pro with the Apple
Pencil and the Procreate 4 app.

First, open the application. Tap the (+) icon in the top-right corner to
create a New Canvas. There you can
select one of the canvases from the list or create a new one.

create a new canvas

Tap to Create
Custom Size
and create a 3500 x 4000
px
canvas, RGB, 300 DPI

create a new canvas

Step 2

Before creating a sketch, let’s find a proper brush
for it.

First, open the Brushes
tab, tap the Sketching set, and
select the 6B Pencil.

choose a sketching brush

Let’s modify this brush a little bit. Tap the 6B Pencil icon, and the Settings of the tool will appear. Choose
the General settings and change the Size Limits to ~30% Max. It will allow us to have more flexibility in the
sketching process.

brush adjustments

Step 3

Let’s begin by drawing a sketch.

We already have two layers by default: one layer with the background color and one empty layer. Open the Layers panel, tap „Layer 2”, and rename it to „sketch”.

rename the layer

Step 4

Now we can start sketching. Usually I make a
combination of basic shapes first, where I’m trying to search for the silhouette of
the character and her features. Then I refine the sketch, adding a couple
more details to give them a bit more character.

I do a lot of rotating of the canvas in the process. You
can do it too if you like—just use two fingers and rotate your image or size
it.

Also, you can change the Size and Opacity of any Brush tool by moving up
and down the sliders on the left
side of the screen.

draw a sketch

2. How to Create the Main Shapes

Step 1

First, let’s
create the Palette of the basic
colors.

We have the Colors
menu in the top right corner, where we can select the color.

For the Create
a New Palette
 option, click on the (+) icon, and a new area with empty boxes for our new palette will appear. Rename
it to „neon”.

Now pick the color and tap on any of the empty boxes, and
it saves it (tap on the boxes to create the colors for your palette, and tap on
them to delete any of them).

create a palette

This way we’ll create our own Palette. Basically, we’ll choose bright colors for the hair and
clothes (place them on the first row), and cold brown colors and nuances of lilac,
purple and lavender for the skin (on the second and third rows).

create a neon palette

Step 2

Now open the Layers
menu, tap N on the
„sketch” layer, lower the Opacity
to 50%, and change the Blending Mode to Multiply.

sketch layer properties

Step 3

Let’s set a background color by tapping the
„Background color” layer, which we already have by default. Select a
dark purple color on the Color Wheel.

choose a background color

Step 4

It’s time to
begin painting.

Create a New
Layer
for the skin and drag it under the „sketch” layer.

First, go to Brushes >
Airbrushing > Hard Airbrush
and pick
a brown color from our Palette.

select new brush

Draw the
outlines of the body, using our sketch as a reference. Now we can fill it with
a solid color. Just drag it from the Colors in the top right using your
finger, and drop it onto your outline shape. Make sure that your lines are
completely closed. Then refine the edges using the Eraser Tool. Choose the Hard Airbrush tool as an eraser.

create the body main shape

Step 5

Using this method, draw the hair and clothes on separate layers. Organize them as shown below.

organize the layers

Step 6

Open the „makeup” layer, and draw eyelashes,
eyebrows, nostrils, and the middle line of the lips using the 6B Pencil and a dark brown color.

choose the brush

makeup drawing

Create a New
Layer
for the eyes and lips on top of the „skin” layer. Fill them
with colors using the same brush.

makeup main colors

Step 7

Set the Opacity
of the „sketch” layer to 30%,
making it more transparent. It’s still useful to us in the painting process,
but should not be so conspicuous at the same time.

sketch layer properties

3. How to Add Shadows and Highlights to the Body

Step 1

Let’s start by adding some volume to the body. Tap on
the „skin” layer and select Alpha
Lock
from
the drop-down list.
It will help us to paint inside the body shape without crossing this area.

lock in the layer

Now select a dark brown color from our Palette and choose the Nikko Rull brush from the Painting set.

new brush settings

Start creating soft shadows by making strokes on the
shadowy area. Change the stroke Size
and Opacity in the process until you get the desired shapes. Turn off the „sketch” layer to see the
result.

first shadows layer

Step 2

This way, add some deeper shadows using the same brush.
Check the result, making the „sketch” 
layer invisible.

second shadows layer

Step 3

Let’s change the color of the strokes on the
„makeup” layer.

First select the layer, and then tap the Adjustments icon and choose the Hue, Saturation, and Brightness from the drop-down
list. 

makeup layer adjustments

Change the color, making it darker.  Move the sliders until you get the desired
result. 

change a makeup brightness

Step 4

Now let’s add some blush to the skin.

Create a New
Layer
on top of the „skin” layer first. Then tap on the
„skin” layer and choose Select
from the drop-down list. It will allow us to draw on the „blush”
layer just inside the body shape.

Choose the Soft
Brush
from the Airbrushing set,
and draw some blush shapes on the cheeks, nose, and neck. Reduce the Opacity of the layer to 40%.

choose new brush

blush drawing

Step 5

It’s time to add some highlights to the lightened
area.

Create a New
Layer
on top of the „blush” layer, and rename it to
„highlights”. Pick a beige color from our Palette, and paint some highlights strokes, using the same Nikko Rull brush. Reduce the Opacity to 40%.

first highlights layer

Step 6

Now create a New Layer again on top of the „highlights”. Draw more evident strokes, using the same color and brush. Reduce the Opacity to 40% as well.

second highlights layer

Step 7

Once we’re happy with the highlights, we can merge
these layers. Tap on the top layer with highlights and choose Merge Down from the drop-down list. Or
you can take the two layers (one finger on one, and one finger on the other)
and squeeze them together.

merge a highlights layers

Step 8

Create a New
Layer
on top of the „highlights”. We’ll add some bright highlights to make the look more expressive. Use the same brush and lilac tint
from our Palette. In the end, lower
the Opacity to 60%.

new highlights layer

Now create a New
Layer
again and draw some highlights on the cheekbone, on the corner of the
eyes and lips, on the tip of the nose, under her eyebrows, and on the forehead.
Use the same color and brush with 100%
Opacity
. Once you’re happy with the result, merge all these layers with
highlights, blush and skin into one „skin” layer.

add a gloss to the skin

Step 9

Let’s refine the skin a little bit, correcting the roughness of
the skin
and improving the shape of her face and body. Use the Color Picker Button to select the color you need. You can find this
button between the Size and Opacity sliders. 

refining of the skin

Step 10

Now let’s add some volume to the eyes.

Start with the white of the eye, adding some brown
shadows under the eyelashes. Choose a dark brown color for the top of the iris and
a light brown color for the underside. Also add some bright green strokes to
the iris.

Next, draw a strip on the edge of the eyelid, adding some
shadows and highlights to it.

In the end, add some gloss and twinkles to the white of
the eye, the iris, and the pupil.

add volume to the eyes

Step 11

Now we’ll get to work on the lips.

Add the shadows first, using dark shades of cherry
color. Then add some bright pink strokes and a white gloss to the upper part of
the lips. In the end, draw some dark brown shadows on the left part of the upper
lip and under the bottom lip, as shown below.

add volume to the lips

Here’s how the face of our woman looks at this stage.

face volume

Step 12

Let’s refine the face a little bit, adding some deeper
shadows to the area above and under the eyes and neck. Also, draw some bright gloss
using the lavender color from our Palette.

refining of the face

Step 13

Once we’re happy with the volume of the face and body,
let’s add a texture to make the skin more natural.

Create a New
Layer
on top of the „skin”, and rename it „skin
texture”. Choose the Splatter
brush from the Spraypaints set and pick
a brown color. 

new texture brush

Apply
Select to
the „skin” layer. Using the max
size of the brush, draw some strokes, spraying tiny spots on the skin area.
Reduce the Opacity to 20%.

face texture

Now create a New
Layer
again on top of the „skin texture”. Draw some freckles and
moles, using the same brown color and the Nikko
Rull
brush. Add them randomly to the nose, cheeks, forehead, and shoulders.
Reduce the Opacity of the layer to 50%.

draw the freckles

Step 14

In the end, let’s draw some falling shadows from the
hairstyle. Create a New Layer for
them on top of the „skin”.
Add some dark shadows to the forehead under the fringe first. Lower the Opacity to 65%. Then, on a New Layer, draw some deep pink reflections using the Soft
Brush
. Reduce the Opacity to 35%.

draw the falling shadows

4. How to Create a Neon Hairstyle

Step 1

Let’s start forming the hairstyle.

First, make the „sketch” layer visible. Also
reduce the Opacity of the „hair
2” layer to 50%.

lower the hair opacity

Now lock in the „hair 1” and „hair
2” layers by activating Alpha Lock.
Use the Soft Brush to draw some blue
strokes at the edges of the main hairstyle shape. Also add some pink to the
edges of the hair on the „hair 2” layer.

forming hairstyle volume

Step 2

Create a New
Layer
on top of the hair layers. Use the 6B
Pencil
and blue color to draw the lines of the strands
of hair, styling separate locks. In the end, turn off the „sketch”
layer.

create separate locks

Step 3

Use the textured brush Nikko Rull and cyan color from our Palette to add some bright spots to the inner part of the
hairstyle. Then pick a pink color and draw some gentle textured strokes of the
highlights.

add shining to the hair

This way, add a lilac touch to the locks.

add highlights to the locks

Step 4

Apply Select
to the „hair 2” layer, and create a New Layer on top of it. Pick a cyan color and draw some short, bright strokes, imitating shaved hair. Also use a blue color to draw the
shadows from the upper hair and the area behind the ear.

add volume to the locks

Step 5

Lock in the „hair lines” layer by activating Alpha Lock. Use the same brush with pink
and blue colors to shade the hair lines, according to the principle „pink to pink,
blue to blue.”

Then turn off Alpha
Lock
, choose the 6B Pencil, and
draw separate thin blue hairs. In the end, add some gloss to these hairs using cyan.

add volume to the lines

5. How to Add Volume and Texture to the Clothes

Step 1

Let’s start with the earrings.

First, choose the Soft
Brush
from the Airbrushing set and a green color. Apply Alpha Lock to the layers with earrings and draw some green shadows.

add volume to earrings

Now turn off Alpha Lock. Select the new Lightpen brush from the Luminance set, choose a lime green color from
our Palette, and draw some shining strokes on the edges of the earrings.

add shining to earrings

Step 2

Now let’s move to the
dress. Make the „sketch” layer visible first. Then lock in the „dress” layer by activating Alpha Lock.

Using the Nikko Rull brush, draw two lime color strokes to decorate the edges of the dress. Also
use a pink color for the
underside of the dress. Then, using the Soft Brush, add some lilac tints to the
cloth.

Turn off the
„sketch” layer. Pick the Nikko
Rull
brush again and draw some cyan highlights and purple shadows, forming the creases of the dress.

add volume to the cloth

Step 3

Now let’s add some
texture to the fabric.

Create a New Layer on top of the „dress” layer.
Select the Newsprint brush from the Retro set, and draw some pink strokes
on the creases and on the area of the shoulders.

Create a New Layer again and draw some green
strokes on the highlights area. Then, using the Eraser Tool, make some vertical stripes on top of them.

In the end, on a New Layer, draw some lime green and yellow dots on the green
texture.

add texture to fabric

Step 4

Take the Selection Tool, and select the area of the dress we want to make a little darker. Then go to Adjustments > Curves, and pull the right slider down a little.

work with curves

Do the same for the
creases, as shown in the screenshot below.

work with curves

In the end, using the Nikko Rull brush and a dark violet color, draw some vertical stripes deep in the folds.

create the folds

6. It’s Time for the Final Touches

Step 1

Let’s add some necessary
details.

First, create a New Layer for reflections on top of the
„eyes/ lips”. Apply Alpha
Lock
and Select to the „skin” layer.

Now pick the lilac color
and draw some shapes of reflections mostly along the left side of the body. Use
the Nikko Rull brush with 60% Opacity for it. Draw more saturated strokes on the edges of the body shape.

add purple reflections

Step 2

Create a New Layer for the rim light on top of the
„makeup”, and deselect the „skin” layer.

Pick the cyan color and the 6B Pencil brush to draw vivid strokes on the left side of the face. Add some gloss to the eyebrows, eyelashes, and the tip of the nose as well.

add cyan gloss

Step 3

In the end, we have to add some reflections from the earrings.

Create a New Layer for the green reflections
under the „reflections” layer. Pick the Nikko Rull brush again and draw some green and yellow shapes on the
cheeks and chin.

add green reflections

7. How to Create an Abstract Background

Step 1

We already have the
basic dark purple color on our default background layer. Let’s add some texture and a pattern
to make our image more stylish.

Create a New Layer on top of „Background
color”. Pick a new brush, Nebula, from the Luminance set and a blue color to add some mistiness to the background. Reduce the Opacity of the layer to 60%.

create a purple nebula

Create a New Layer on top of the blue nebula and add
some pink splashes as well, reducing the Opacity
of the layer to 60% too.

create a pink nebula

In the end, pick a dark main color from the background and add a splash to the bottom right corner of
our canvas. Pick the Eraser Tool with the Soft
Pastel
brush and make some holes in the blue and pink shapes, diffusing their density.

lower the nebula density

Step 2

Let’s create a simple
pattern for the decoration of our background.

First, turn off the
„background” and all nebula layers. Create a New Layer
on top of them. Pick the Hard Brush
from the Airbrushing set and tap on the canvas, making perfect dots. using a grid on the canvas will help you to place them at
equal distances from each other. 

create dots

Now let’s duplicate this
row of dots. Tap Transform in
the top panel, swipe down with three fingers, and the menu will appear. Choose Copy + Paste and we’ll get these dots on the new layer. Move them down and to the right. As a result, we’ll get them in staggered order. Merge these layers into
one.

duplicate the dots

merge layers with dots

Duplicate this layer
using the same principle.

duplicate the row of dots

Now let’s flip our four
rows horizontally. Just tap Transform
in the top panel and choose the first icon in the bottom panel. Move them to the
right side.

flipping horizontally of pattern

Step 3

Let’s add some texture
to the dots. Apply Select to the layer with the dots. Create a New
Layer
on top of it and choose a new brush, Burnt Tree, from the Charcoals
set.

new brush for texture

Pick the pink color from
our Palette and use the max size of the brush to cover our dots with texture. Turn off the first layer with blue dots. Now we have clean, textured pink dots. Reduce the Opacity of the layer to 55%.

add texture to the dots

Great Work! We’re Finished!

I hope you’ve enjoyed the process and the final result meets your expectation!

Good luck, and don’t be afraid to use your imagination and create something beautiful!

final result

How to Create a Surreal Stitched Portrait in Adobe Photoshop

Post pobrano z: How to Create a Surreal Stitched Portrait in Adobe Photoshop

Final product image
What You’ll Be Creating

Today, we will be learning how to create a golden stitched effect using just a handful of images and default brushes. We will utilize color palettes, adjustment layers, and textures to their fullest extent to create a striking piece of black, white, and gold art portraiture.  

What You’ll Need 

Here are the resources we will be using, all found on Envato Elements!

1. How to Create a Textured Background 

First, we are going to be creating a fairly basic background using a few textures. 

Step 1

Create a New Document in a size of 2834 x 3803 px.

Create a Color Fill Layer and set it to a very dark grey #090909.

Using a very large soft Brush, with a 50% Flow, paint giant white blobs all over your canvas. 

Add light blobs

Step 2 

Place texture „21” from the Artistic Backgrounds texture pack, or any other watercolor texture, in the middle of your canvas and set it to Soft Light.

Remember, color doesn’t matter in this instance as it all will be black and white in the end! 

Place texture „6” over texture „21” and also set it to Soft Light. 

Add a Layer Mask to „6” and using a very large soft Brush mask out the bottom-left portion of the texture.  

Add paint textures

Step 3

Create a black to white Gradient Map adjustment layer. Set the Opacity to 78%.

Duplicate the Gradient Map and set the duplicate’s Opacity back to 100%. This is to add extra contrast to the background.  

Convert to black and white

Step 4

Next, let’s place our gold leaf detail from the Gold Streak Backgrounds texture pack. I used texture „8” set to Hard Light. 

Clip a New Layer into the gold texture and set it to Soft Light. 

Using a medium soft round Brush paint black and white streaks going diagonally from top-left to bottom-right to give the gold more shine. 

Lastly, clip a Color Balance layer into the gold texture. Settings: Red -35, Green +7, and Blue -30.

Group all your background layers together and name the group „Background.”

Current layers

2. How to Do Color Correcting 

Normally, I would save this step for last, but in this case, it helps to do some overall color correcting early on. This is largely due to the atmosphere of the image relying so heavily on this handful of adjustment layers. 

Take note that almost all other layers after this step will be located under this group of layers. 

Step 1 

All layers are numbered as the order is important. 

  1. Color Lookup Layer: (3DLUT) FoggyNight. Opacity 42%.
  2. Color Balance Layer: Red -8 and Blue +15
Add first batch of adjustment layers

Step 2

Now, for the second batch. 

  1. Color Lookup Layer: (3DLUT) Kodak 5218 Kodak 2395
  2. Curves: 
Curve settings
Second batch of adjustment layers

Make sure to group all your layers together and name the group „CC”. 

3. How to Prepare and Process Our Model

Next, we will be placing and preparing our model. Remember all layers from now on will be placed under the „CC” group. 

Step 1 

Place our Beautiful African Woman image in the middle of the canvas, keeping the crop fairly tight with her shoulders and upper chest touching the edges of the canvas.  

Extract her using your preferred method. As she has no complicated clothing or hair, any method will do! I personally use the Pen Tool.

Place model on canvas

Step 2

Create and clip a Brightness/Contrast layer into the model. Settings: Contrast -50.

Create and clip a New Layer into our model and set it to Overlay.

Using a soft round Brush, bring back in some of the contrast by painting black on the shadows and white on the highlights of our model. Make sure to bring a lot of brightness into her left eye and darken the top of her head wrap. 

Fix models contrast

Step 3

Create and clip a black to white Gradient Map into our model. 

Convert model to black and white

Step 4 

Next, we will be adding some gold detail to our model’s body to help connect her with her surroundings. 

Go back into the Gold Streak Backgrounds texture pack and place texture „6” over the model. Set the layer to Hard Light. 

Add texture to model

Step 5

Add a Layer Mask to the gold texture and mask out the left side of the texture on the chest, necklace and face using a hard round Brush. 

Double-Click on the gold texture to open up its Layer Style panel. Hold down Alt to separate and move the Blend If toggles around. The settings are below: 

Blend If settings
Mask out some of the gold texture

I went ahead and gave the same treatment to the white stones on her necklace, only I didn’t use Blend If. I just masked some of the gold texture „1”, from the texture pack, into the stones to add a little extra detail. 

Add tecture to necklace

Step 6

To finish up the model, we are going to create and clip a Curves layer into her. The settings: 

Curve settings

Press Control-I to invert the Curves layer mask. Using a large round Brush, paint white to mask back in some of the darkness around the model’s head and shoulders. 

Group all your model layers together and name the group „Model.”

Current layers

4. How to Create a Hollow Face 

Next, we will be creating the face „panel” that will later be stitched back on! 

Step 1

Go back to the „Model” group and create and clip a Brightness/Contrast layer into the top of the „Model” layer, above all other clipped layers. Settings: Brightness -100 and Contrast 100. 

Using the Pen Tool, create a path around the eye and part of the cheek of our model. At this point, we are creating the shape of the hole and panel, so feel free to choose whatever shape you’d like. 

Right-Click > Make Selection to turn the path into a selection. 

Create face slection

Step 2

With the Brightness/Contrast layer active, Right-Click > Fill with black. 

Control-I to invert the layer mask. Now, only the eye and cheek should be dark. 

Invert BrightnessContrast adjustment layer

Step 3

Control-Click the Brightness/Contrast Layer Mask to make a selection in the same shape as the mask. 

Duplicate the „Model Group” and turn off the Brightness/Contrast layer. Merge the duplicated group together and then Edit > Copy and Edit > Paste. 

Delete the merged „Model” duplicate. This will leave you with just a face panel in the same shape as the layer mask on the Brightness/Contrast layer.

Create face pane

Step 4

Tilt and position the face panel so that it is slightly pointing upward. 

Tilt face panel

Step 5

To make the edge of our face section, duplicate the face panel and bring it down 5 px and to the left 5 px. 

Add a Color Overlay layer style in a medium gray color #717171.

Right-Click > Rasterize Layer Style. 

Add face pane edge

Step 6

Add some noise by creating and clipping a New Layer into the face edge, filling it with black.

Go to Filter > Noise > Add Noise. Settings: Amount 7, Gaussian and Monochromatic. It should be fairly subtle. 

Add noise to edge

Step 7

Create and clip a New Layer into the face’s edge. Set it to Overlay. 

Using a 2-5 px hard round Brush, paint lines on the face’s edge in both black and white. They don’t have to be perfect. This is to give it a wood grain effect. 

Set the layer’s Opacity to 70%. 

Paint wood grain texture

Step 8

Create and clip yet another New Layer into the „Face Edge” layer and set it to Soft Light. 

Using a large soft Brush with a low Flow Rate, paint in some shadows and highlights. 

Add shadowes and highlights

Step 9

To add some final detail, we are going to add wrinkles to the model’s skin. Add a Layer Mask to the „Face Panel” layer. 

Using a hard, round Brush, mask out parts of the face nearest the edge in „half-oval” shapes. 

Create and clip a New layer into your face edge layer. 

Using a semi-hard round Brush, paint black under where you masked out the face. This will create a shadow effect. Set the layer Opacity to 50%.

Mask out wrinkles

Step 10

We will finish off the wrinkles by adding some shading to them. Create and clip a New Layer into your face panel. Set it to Soft Light. 

Using a medium soft round Brush with a low Flow Rate, paint black on the left and right side of each wrinkle and white in the middle. This will give it a „folding” effect. 

Add shadows and lighting to wrinkles

Step 11

Group all your face layers together, except the one in the „Model” group of course, and name the group „Face.”

Add a layer mask to the „Face” group and, using a hard round Brush, mask out the eye. 

Current layers thus far

5. Creating Thread Holes 

Next, we are going to be focusing on how to create the holes that our thread will loop through. The process is very similar to how we did the edge of the model’s face.

Step 1

Using the Ellipse Tool create medium gray #818181 circles along the side of the face panel and original model’s face. They should be in pairs and side by side but at a slight angle.  

Create gray holes

Step 2

Select all your hole layers and Right-Click > Merge Shapes so that they are all one shape and thus one layer.

Duplicate the newly merged holes and clip them into the original holes. Change their color from gray to black.

Move the black holes 3 px down and 7 px to the left. 

Create black holes

Step 3

Create and clip a New Layer into the grey holes, below your black holes. Set the layer to Soft Light. 

Now, just as we did before with the face’s edge, add a wood grain texture to the holes with a 1 px hard round Brush by painting black and white lines in the holes in a „C” shape. Set the layer’s Opacity to 70%.

Paint wood grain

Step 4 

Create and clip a New Layer into your gray holes, above your wood grain but below your black holes, and set it to Overlay.

Using a small, soft, round Brush, paint white in the middle and black on both sides of the grey holes. This will give them more dimension and make them appear more curved. 

Add shadows inside of holes

Step 5

To finish up the holes, we are going to add some shading to the hole itself, similar to what we did with the wrinkles in step 4. Create a New Layer below your gray holes. Set it to Soft Light.

Using a small, soft, round Brush, paint white on the left side of the holes and black on the right side. 

Create another New Layer and, with a slightly bigger Brush, paint more black around the holes, focusing on the left side. Keep this layer set to Normal.

Add light and shadows outside of holes

Group all the hole layers together and name the group „Holes.”

Current layers so far

6. How to Create Golden Thread

Finally, we have reached the main event: creating our golden thread! This is a long one, so get ready. 

Step 1 

We will be creating the base for our thread using the Pen Tool. First, however, go to your Brush Tool and set it to 100% Hard, a Size of 15 px, and a dark gold/brown color #87461c

Create a New Layer. 

Now, go to your Pen Tool and create paths arching from one hole to the hole directly across from it. 

Create paths

Step 2

Right-Click > Stoke Path. Make sure that Tool is set to Brush and Simulate Pressure is Unchecked. Press OK

Right-Click > Delete Paths if you are satisfied with how your lines look. You can re-do them as many times as you need. 

You can also use the Eraser Tool with a hard round Brush to fix the ends of the thread, and use a combination of the Lasso Tool and Move Tool to adjust the threads even further. 

Stoke paths

Step 3

Create and clip a New Layer into your thread. Fill it with black and set it to Screen.

Go to Filter > Noise > Add Noise. Settings: Amount 13 px, Gaussian, and Monochromatic.

Duplicate the noise layer to increase its intensity. 

Add noise to thread

Step 4

Before we move on to painting our gold, we have to do a bit of prep work.

First, below is the color palette we will be using. I suggest making some Photoshop Color Swatches of them, or just copy and paste the image below above all your current layers so you can easily color pick from it using the Eyedropper Tool! Whichever is easiest. 

Gold Color Pallette

Second, we will need to figure out what brushes to use. You could absolutely use a semi-hard round Brush if you want to. However, I suggest something with more texture. Brushes that are meant to give a charcoal, pastel or brush stroke effect work great. As do „natural edge” brushes. The example below is a „natural” brush.  

Naturel brush strokes
  1. One stroke of the brush.
  2. Two strokes of the brush.
  3. Three strokes of the brush.

All versions of Photoshop come with similar brushes by default!

Step 5

Now that we have our colors and brushes settled, we can move on to the painting. Create a New Layer and clip it into your thread layer, above your noise layers. 

Using your preferred brush, paint the second color in our palette, which is #ad6d16, onto the thread in a „C” motion. This color is only slightly lighter than the thread’s base color. 

First stroke of color

Step 6

Next, do the same thing with the third color in the palette, #ca9d40, only make it slightly shorter than the previous stroke of color. 

Second stroke of color

And with the fourth color in the palette, #e7d63e, again making it slightly shorter than the previous swipe. 

Third stroke of color

Step 7

And the same with the fifth (#fffbcb) and sixth (#ffffff) colors. Use the Smudge Tool to smooth out any areas that seem too choppy. 

Repaint them as many times as you deem necessary. I didn’t nail this my first, second or third time either! Think of it as just painting a gold gradient, as that’s what we are doing! 

Fourth and fifth stroke of color

Do this to all the remaining stitches. Again, take your time! Gold can be very tricky to paint. 

Paint remaining thread

Step 8

Next, we are going to paint some thread details. This part is also a bit tricky, but we can do it! Create and clip a New Layer into your thread layer, above the gold you just painted.

Using the same brush you used to paint the gold, but this time set to a 2 px Size, paint lines of the darkest color in our palette, #87461c, across the first thread. Paint it in a slight twisting motion. 

Paint thread texture

Step 9

Do the same with the other five colors, using the light colors to make highlights on the thread. 

If your lines seem too strong, you can lower the opacity of the layer a small amount, or you can lower the Flow Rate of your brush to 50%. We want the lines to be very dainty and thin. 

We also want them to be sharp. Do this by going to Filter > Sharpen > Smart Sharpen. Settings: Amount 72% and Radius 1.9 px.

Sharpen thread texture

Do this to the remaining threads. Unfortunately, there is no quick trick to this—we are just painting lines! Dark lines first, and then light lines on top. 

Finish thread texture

Step 10

Create and clip a New Layer into your thread, above the lines you just created. Set it to Multiply. 

Using a small, soft, round Brush, paint shadows in a dark brown color (#5f2d0d) at each corner of the threads.

Add shadows inside threads

Step 11

Create and clip yet another layer into your thread, above your shadows layer, and set it to Screen. 

Using the same brush we used for the shadows, only this time in a medium orange color (#c98614), paint some light on the left side of the thread.  

Add light to thread

Step 12

There is a very important part missing thus far: shadows! Create a New Layer below your thread. 

Using a semi-hard round Brush with a 10% Flow Rate, paint shadows underneath the thread. 

Remember, shadows will be darker and less soft the closer they are to the object they are being cast by. Use the Smudge Tool to smudge out the ends of shadows to disperse them a bit. Setting your brush to a low flow rate will allow you to build up the shadows slowly. 

Add shadows to outside of thread

Group all your thread layers together and name the group „Stitch.”

Current layers so far

7. How to Add the Finishing Touches 

To finish everything off, we will be adding some small details such as the stitches running underneath the face panel and some lens flares. 

Step 1

Go into your „Model” group and Control-Click on the Brightness/Contrast layer that we created the face panel shape from.

Leave the group and create a New Layer below your „Face” group.

With the Brush Tool set to 100% Hard, a Size of 15 px and a dark gold/brown color (#87461c), use the Pen Tool to create paths similar to step 6. This time, however, we are creating the thread that runs underneath the face panel. 

Right Click > Stroke Path. 

Create inner thread

Step 2

Add a Bevel & Emboss layer style to the new thread layer. Settings below:

Bevel settings

Shadow Mode Color: #281200

Bevel results

Step 3

Create and clip a New Layer into your threads. Set it to Overlay. 

Using a medium soft round Brush, paint black on the outer edges of the thread and white on the middle section of the thread to add contrast and lighting. 

Group all your under thread layers up and name the group „Under Stitch”. 

Add lighting to inside thread

Step 4

Finally, create a New Layer above all your other layers, including the „CC” group! Set the layer to Screen.

With a soft round medium Brush, paint pale yellow (#fffbcb) lens flares on a few of the stitches. I like to paint six-point stars. Bring the layer Opacity down to 60% if the shine is too strong. 

Add lens flare to thread

Step 5

Create one more New Layer above all previous layers. Set it to Screen. 

Using a very large soft Brush with a Flow Rate of 5%, paint that same pale yellow color on the left side of the face. Again, bring down the layer Opacity if needed. We want this to be a very subtle final pop of light and color. 

Final layers

You’ve Done It!

Be proud! Painting gold is no small task. Remember that keeping to a specific color palette can help a lot, and you don’t need fancy brushes to create stunning effects. Sometimes a simple round brush is the best answer! 

As always, keep experimenting with different techniques, and don’t forget to post your version below, along with any questions, comments, or critiques!

Conclusion

Gotchas When Publishing Modules in npm and Bower

Post pobrano z: Gotchas When Publishing Modules in npm and Bower

Bower and npm are de-facto the package managers of the web. I doubt there are many front-end developers out there who haven’t heard of them or used them to manage dependencies.

Whilst many of us use them as consumers, one day you might decide to share a project of your own and become a contributor! This happened to me recently. I had the experience of publishing my open-source library on npm and Bower.

Although their official docs were quite good, I still ended up struggling with three little known gotchas. I won’t focus on the basics in this post. You can always find and read about them. I’ll instead focus on the gotchas.

Nowadays, it looks like even Bower tells people not to use Bower. However, in 2018, there are still many projects that depend on it. The state of JavaScript in 2017 survey shows that around 24% of surveyed developers still use Bower as a package manager. Therefore, I think it might take a little while before we see the end of Bower, which means it’s probably still worth supporting it to cover legacy-package-managed projects. I feel the pain of those of you working on a legacy project—that’s why I chose to publish my open source module there, too.

My hope is that after this you’ll be one step ahead when you decide to share your code with the world. Without any further ado, here are some gotchas I’ve come across when managing packages.

Removing a Package From npm

Why bother spending hours choosing a name, when you can focus on shipping the features first? In my first experience with npm, I was unfortunate to leave the name of my project „test-something.”

Guess what? A few days later, I found out that the un-publish option in the npm public registry is only allowed with versions published in the last 24 hours. If you are trying to un-publish a version published more than a day ago then you must contact support.

They state that it is generally considered bad practice to delete a library that other people depend on. I understand that but I’m 100% sure that no projects depend on a package called „test something.”

I was about to leave things alone, but my test package was going to be visible forever in my shiny npm user profile. Dislike!

I contacted support and they handled my request within the very same day. They still didn’t want to completely un-publish it but they did transfer it to the @npm user account and deprecated it with a deprecation note. This removed it from my profile (woohoo!) and from the search results. However, if someone knows the exact URL (or name) they can still install it. While that’s not totally ideal, the deprecation note will still be an alert that the package is no longer supported.

I think this might be related to the 11 lines of code, that Azer Koçulu deleted from npm and which kind of broke the internet for a moment. Safety first.

The moral of the story: make sure to choose your package name wisely!

Exporting Modules

Another gotcha I encountered was how to export my module. I wanted to do it in a universal way so that anyone can import it to the browser in any of the three most popular approaches. For example…

…with ES6:

// If a transpiler is configured (like webpack, Babel, Traceur Compiler or Rollup):
import MyModule from 'my-module';

…with CommonJS:

// If a module loader is configured (like RequireJS, Browserify or Neuter):
const MyModule = require('my-module');

…or by referencing the script file in the HTML:

<script ="/node_modules/my-module/index.js"></script>

What I was actually looking for is the Universal Module Definition pattern. It’s a pattern that provides a clean way to expose your module to different environments that consume modules in a variety of ways.

This pattern has a couple of variations, depending on what you really need. However, modules written this way are capable of working everywhere, be it in the client, on the server or elsewhere.

The standard pattern is:

(function (root, factory) {
  if (typeof define === 'function' && define.amd) {
    // AMD. Register as an anonymous module.
    define(['dependency'], factory);
	} else if (typeof module === 'object' && module.exports) {
		  // Node. Does not work with strict CommonJS, but
		  // only CommonJS-like environments that support module.exports,
		  // like Node.
		  module.exports = factory(require('dependency'));
	} else {
    // Browser globals (root is window)
    root.returnExports = factory(root.dependency);
	}
}(this, function (dependency) {
  // Use dependency in some fashion.
  return {
    // Your module goes here
  };
}));

If you’re using Grunt, Gulp or webpack, you’ll find that there is a plugin that can wrap your modules like this for you. Plus, it’s in the core of webpack already!

Managing Distribution Files

This one was really tricky.

I am building a package for npm and Bower. I followed the pattern to keep the working files (ES6) in the src/ package directory and build my distribution files (ES5, compiled with Babel) in the dist/ directory.

I ignore the entire dist/ folder in the .gitignore file. You know the drill: source control should only contain source. If it’s generated from the source, it doesn’t belong there—it should be generated by your build process instead.

On the one hand (npm), I have a .npmignore which does exactly the opposite and ignores src/ instead of dist/. On npm, I only want my distribution files. That works out perfectly well.

On the other hand (Bower), the dist/ folder is missing in the repository and, therefore, the Bower package doesn’t include it. You see, Bower tracks your publicly available Git endpoint only. By pushing Git tags you release a new version on the Bower registry. Yes, it can ignore files, but they are related only to the files in your repository.

So, how can I publish the ignored by git dist/ folder contents on Bower?

I’m not sure it’s possible to do. The only workaround I found is to commit the distribution files in the repository. If you really want to keep those distribution files out of the repo, the trick is to commit them right before you release a tag. Release a tag. Remove them.

There is one more use case that gives me some peace of mind. Imagine somebody downloads a ZIP of your repository and drops it into their project. They won’t need your fancy build step. The production source is already there. All right, maybe that’s not so bad after all.

Wrapping Up

Both npm and Bower continue to be widely used and helpful ways to manage project dependencies, even if Bower is bowing out. While they’re great at what they do, being the owner and a contributor to a package listed in either package directory presents some challenges for us and I hope the ones I’ve outlined here help save other some time and possible headache.

Do you know any other ways to handle the gotchas covered here? Or have stumbled into gotchas of your own? Let me know in the comments!


Gotchas When Publishing Modules in npm and Bower is a post from CSS-Tricks

CSS Basics: The Second “S” in CSS

Post pobrano z: CSS Basics: The Second “S” in CSS

CSS is an abbreviation for Cascading Style Sheets.

While most of the discussion about CSS on the web (or even here on CSS-Tricks) is centered around writing styles and how the cascade affects them, what we don’t talk a whole lot about is the sheet part of the language. So let’s give that lonely second „S” a little bit of the spotlight and understand what we mean when we say CSS is a style sheet.

The Sheet Contains the Styles

The cascade describes how styles interact with one another. The styles make up the actual code. Then there’s the sheet that contains that code. Like a sheet of paper that we write on, the „sheet” of CSS is the digital file where styles are coded.

If we were to illustrate this, the relationship between the three sort of forms a cascade:

The sheet holds the styles.

There can be multiple sheets all continuing multiple styles all associated with one HTML document. The combination of those and the processes of figuring out what styles take precedence to style what elements is called the cascade (That first „C” in CSS).

The Sheet is a Digital File

The sheet is such a special thing that it’s been given its own file extension: .css. You have the power to create these files on your own. Creating a CSS file can be done in any text editor. They are literally text files. Not „rich text” documents or Word documents, but plain ol’ text.

If you’re on Mac, then you can fire up TextEdit to start writing CSS. Just make sure it’s in „Plain Text” mode.

If you’re on Windows, the default Notepad app is the equivalent. Heck, you can type styles in just about any plain text editor to write CSS, even if that’s not what it says it was designed to do.

Whatever tool you use, the key is to save your document as a .css file. This can usually be done by simply add that to your file name when saving. Here’s how that looks in TextEdit:

Seriously, the choice of which text editor to use for writing CSS is totally up to you. There are many, many to choose from, but here are a few popular ones:

You might reach for one of those because they’ll do handy things for you like syntax highlight the code (colorize different parts to help it be easier to understand what is what).

Hey look I made some files completely from scratch with my text editor:

Those files are 100% valid in any web browser, new or old. We’ve quite literally just made a website.

The Sheet is Linked Up to the HTML

We do need to connect the HTML and CSS though. As in make sure the styles we wrote in our sheet get loaded onto the web page.

A webpage without CSS is pretty barebones:

See the Pen Style-less Webpage by Geoff Graham (@geoffgraham) on CodePen.

Once we link up the CSS file, voila!

See the Pen Webpage With Styles by Geoff Graham (@geoffgraham) on CodePen.

How did that happen? if you look at the top of any webpage, there’s going to be a <head> tag that contains information about the HTML document:

<!DOCTYPE html>
<html>
	<head>
		<!-- a bunch of other stuff -->
	</head>

	<body>
		<!-- the page content -->
	</body>

</html>

Even though the code inside the <head> might look odd, there is typically one line (or more, if we’re using multiple stylesheets) that references the sheet. It looks something like this:

<head>
  <link rel="stylesheet" type="text/css" href="styles.css" />
</head>

This line tells the web browser as it reads this HTML file:

  1. I’d like to link up a style sheet
  2. Here’s where it is located

You can name the sheet whatever you want:

  • styles.css
  • global.css
  • seriously-whatever-you-want.css

The important thing is to give the correct location of the CSS file, whether that’s on your web server, a CDN or some other server altogether.

Here are a few examples:

<head>
  <!-- CSS on my server in the top level directory -->
  <link rel="stylesheet" type="text/css" href="styles.css">

  <!-- CSS on my server in another directory -->
  <link rel="stylesheet" type="text/css" href="/css/styles.css">

  <!-- CSS on another server -->
  <link rel="stylesheet" type="text/css" href="https://some-other-site/path/to/styles.css">
</head>

The Sheet is Not Required for HTML

You saw the example of a barebones web page above. No web page is required to use a stylesheet.

Also, we can technically write CSS directly in the HTML using the HTML style attribute. This is called inline styling and it goes a little something like this if you imagine you’re looking at the code of an HTML file:

<h1 style="font-size: 24px; line-height: 36px; color: #333333">A Headline</h1>
<p style="font-size: 16px; line-height: 24px; color: #000000;">Some paragraph content.</p>
<!-- and so on -->

While that’s possible, there are three serious strikes against writing styles this way:

  1. If you decide to use a stylesheet later, it is extremely difficult to override inline styles with the styles in the HTML. Inline styles take priority over styles in a sheet.
  2. Maintaining all of those styles is tough if you need to make a „quick” change and it makes the HTML hard to read.
  3. There’s something weird about saying we’re writing CSS inline when there really is no cascade or sheet. All we’re really writing are styles.

There is a second way to write CSS in the HTML and that’s directly in the <head> in a <style> block:

<head>
	<style>
  	h1 {
  		color: #333;
  		font-size: 24px;
  		line-height: 36px;
  	}

  	p {
  		color: #000;
  		font-size: 16px;
  		line-height: 24px;
  	}
	</style>
</head>

That does indeed make the HTML easier to read, already making it better than inline styling. Still, it’s hard to manage all styles this way because it has to be managed on each and every webpage of a site, meaning one „quick” change might have to be done several times, depending on how many pages we’re dealing with.

An external sheet that can be called once in the <head> is usually your best bet.

The Sheet is Important

I hope that you’re starting to see the importance of the sheet by this point. It’s a core part of writing CSS. Without it, styles would be difficult to manage, HTML would get cluttered, and the cascade would be nonexistent in at least one case.

The sheet is the core component of CSS. Sure, it often appears to play second fiddle to the first „S” but perhaps that’s because we all have an quiet understanding of its importance.

Leveling Up

Now that you’re equipped with information about stylesheets, here are more resources you jump into to get a deeper understanding for how CSS behaves:


CSS Basics: The Second “S” in CSS is a post from CSS-Tricks

How to Create a Cloud Icon in Adobe XD

Post pobrano z: How to Create a Cloud Icon in Adobe XD

Final product image
What You’ll Be Creating

With cloud computing on the rise, a simple „cloud” icon will always come in handy. Learn how to create one in this video from my course, Icon Design With Adobe XD.

How to Create a Cloud Icon in Adobe XD

 

Create the Basic Shapes for the Cloud

To start, set up a 60 x 60 px artboard, and then select it and turn on the Grid in the toolbar on the right. The grid is set to 1, so every one pixel there will be a horizontal and vertical guideline.

Select the Ellipse Tool and just left-click and hold Shift to draw a fairly small circle. Then go to Edit > Duplicate, move the copy up and to the right, and hold Shift and scale it up.

First two circles of the cloud shape

Drag over both of them and deselect the fill. And then select the smaller circle, and go to Edit > Duplicate again. Hold Shift and left-click and drag it to the right so it stays perfectly in line. 

Adding a third circle

Then go to Edit > Duplicate again. Make this new circle a little bit bigger by holding Shift, left-clicking, and scaling from one of the corners. 

Adding a fourth circle

Now select the Rectangle Tool and draw a horizontal rectangle. Then drag over everything and go to Object > Align to Pixel Grid. That just helps everything snap in place and line up at the bottom in particular.

Rectangle added over the circles

Drag this rectangle out a little, and then double-click the shape and select the top two corners and drag them in if they’re extending outside of the cloud icon. 

Rectangle being adjusted inwards

Create a Single Cloud Shape and Adjust It

Now, this does look like a mess of different shapes at the moment. However, in Adobe XD we can combine multiple shapes into a single shape. 

Simply drag over everything, and from the options at the top of the Property Inspector, select Add, and it will combine all of the shapes together into one shape. 

Create a single shape

You can see that at the bottom, we’ve got a little bit of an anomaly. But that’s fine—just zoom in, double-click, and try to adjust that path a little bit. Just moving that circle a little bit will help smooth out the curve. 

Anomaly being adjusted

Then drag over everything and give it a Border of 2. And from the color picker, select the color #4A4A4A, and deselect the fill. Scale it up a little, holding Alt-Shift and scaling from the center.

Again, go to Object > Align to Pixel Grid if you need to. You can see it shuffles it a little bit, so you may need to adjust some of the shapes again, as we did before. 

Full cloud shape

Add the Final Detail

The last thing that we’re going to do is add a little curve, just to give the cloud a bit more detail.

Select the Pen Tool and just left-click, left-click again to create a curve, and press Escape to complete it. Then select that same #4A4A4A swatch from the color picker. And the last thing that we can do is drag over everything and go to Object > Group so that we can move it around as one object.

Cloud with detail line added

You’ll see that our cloud is ever so slightly off the pixel grid. So you can just drag over everything, and go to Object > Group to group it all together. And then go over to the toolbar and adjust the y value so that instead of being 15.5, it’s rounded down to 15. And you’ll see it now aligns to the pixel grid nicely.

Watch the Full Course

In the full course, Icon Design With Adobe XD, you’ll learn how to use the tools available in Adobe XD to design a variety of different icons. As well as the cloud, you’ll learn to create a phone, browser, pencil icon and more, picking up some useful Adobe XD skills along the way.

You can take this course straight away with a subscription to Envato Elements. For a single low monthly fee, you get access not only to this course, but also to our growing library of over 1,000 video courses and industry-leading eBooks on Envato Tuts+. 

Plus you now get unlimited downloads from the huge Envato Elements library of 440,000+ creative assets. Create with unique fonts, photos, graphics and templates, and deliver better projects faster.

​Wix.com: Make the Web Your Playground

Post pobrano z: ​Wix.com: Make the Web Your Playground

(This is a sponsored post.)

Here’s something you should consider having: your own professional website. The only thing you’ll need to get started is your imagination, a little free time, and an innovative website builder.

Wix is the world’s most technologically advanced website builder. Sign up for Wix, choose a template, and start customizing it. Whether you’re a novice, a business owner, a sophisticated designer, or a professional website builder, you’ll have full control of your website – from design prototyping to production.

Wix takes care of all the heavy lifting. You get reliable, safe, secure hosting that you’ll never need to worry about. You get a custom domain name and email. To get started, all you need is a computer and a little time.

Don’t underestimate what you can do with Wix. There are all kinds of advanced design features and functionality if that’s something you need. The web is your playground. We’ve come along way from the website building platforms of the 90s. Now, you can create any kind of website you want and even collaborate with friends or coworkers.

Save yourself some time and head over to Wix.com to get started.

Direct Link to ArticlePermalink


​Wix.com: Make the Web Your Playground is a post from CSS-Tricks

Agregator najlepszych postów o designie, webdesignie, cssie i Internecie