Naming Conventions
Naming conventions for files, folders, and other assets.
Contents
Images
Images should be named in the following format:
<company>-<imagetype>-<imageclassification>-<foregroundcolor>-<backgroundcolor> (<width>x<height>).<extension>
Company
The company name should be the name of the company that the image is being created for.
If the image is not being created for a specific company, the company name should be generic.
By default, the company name should be noclocks.
Image Type
The image type should be the type of image that is being created.
The following are examples of possible image types:
logoiconsplashbackgroundbuttonbannerpostercardavatarthumbnailprofilecoverheaderfooter
Image Classification
The image classification should be the classification of the image that is being created.
The following are examples of possible image classifications:
Main vs. Alt:
mainalt
Primary vs. Secondary vs. Tertiary:
primarysecondarytertiary
Dark vs. Light:
darklight
Positive vs. Negative vs. Neutral:
positivenegativeneutral
Mono(chromatic) vs. Duo(chromatic) vs. Tri(chromatic):
monoduotri
Vertical vs. Horizontal:
verticalhorizontal
Standard vs. Wide vs. Tall:
standardwidetall
Square vs. Round:
squareround
Sharp vs. Soft vs. Flat:
sharpsoftflat
Gradient vs. Pattern vs. Texture:
gradientpatterntexture
Others:
solidoutlinefillstrokeshadowglowshineglossmattemetal
Foreground Color
The foreground color should be the color of the image's content (i.e. the color of the logo, icon, text, etc.).
The foreground color should be specified using its name (e.g. white, black, blue, etc.).
At No Clocks, we primarilly only use the following colors:
whiteblackgrayredgreenblue
Background Color
The background color should be the color of the image's background.
If the image has a transparent background, the background color should be transparent.
The background color should be specified using its name (e.g. white, black, blue, etc.).
At No Clocks, we primarilly only use the following colors:
transparentwhiteblack
Dimensions
The dimensions should be the width and height of the image in pixels.
The dimensions should be specified by wrapping the <width>x<height> in parenthesis and placed at the end of the file name right before the extension (e.g. (1920x1080).png).
If the dimensions are excluded from the file name, this indicates one of two things:
- The image is a vector image (e.g. SVG) and does not have a fixed width.
- That file is the "default" size for that image type.
For example, the noclocks-logo-main has two variants based off the colors:
noclocks-logo-main-white-transparent.pngnoclocks-logo-main-black-transparent.png
The default dimensions for the noclocks-logo-main is 320x320 pixels, but the (320x320) is not included in the file name, because it is the default size.
In scenarios like this one, ensure that both of the image files are the same size, otherwise include the dimensions in the file name.
Extension
The extension should be the file extension of the image.
We primarilly use the following file extensions:
png: Portable Network Graphicsjpgorjpeg: Joint Photographic Experts Groupgif: Graphics Interchange Formatsvg: Scalable Vector Graphicswebp: Web Pictureavif: AV1 Image File Formatico: Iconpdf: Portable Document Format
On rare occasions, we may also use the following file extensions:
eps: Encapsulated PostScriptai: Adobe Illustratorpsd: Photoshop Documentxd: Adobe XD Documentsketch: Sketch Document
Examples
A main logo for No Clocks with a white foreground and a transparent background at 512x512 pixels in PNG format should be named:
noclocks-logo-main-white-transparent (512x512).png
Breakdown:
- Company:
noclocks - Image Type:
logo - Image Classification:
main - Foreground Color:
white - Background Color:
transparent - Dimensions:
512x512 - Extension:
png
A secondary icon for a generic company with a black foreground and a white background at 256x256 pixels in SVG format should be named:
generic-icon-secondary-black-white (256x256).svg
Breakdown:
- Company:
generic - Image Type:
icon - Image Classification:
secondary - Foreground Color:
black - Background Color:
white - Dimensions:
256x256 - Extension:
svg
Created: March 10, 2024