Skip to main content

Featured

Constraints

NOT NULL CONSTRAINT -    Ensures that a column cannot have a null value. DEFAULT CONSTRAINT -    Provides a default value for a column when none is specified  UNIQUE CONSTRAINT -   Ensures that all values in columns are different  CHECK CONSTRAINT -   Makes sure that all values in a column satisfy certain criteria  PRIMARY KEY CONSTRAINT -   Used to uniquely identify a row in the table  FOREIGN KEY CONSTRAINT -   Used to ensure referential integrity of the data  Primary Key - is used uniquely to identify each row in a table . It can consist of one or more columns on a table . When Multiple columns are used on a table it is called composite key.  Foreign Key - Foreign key is a column or columns that references a column most often primary key of another table . The purpose of foreign key is to maintain referential integrity of the data. Pg admin  Data base - training - right click on training - query click  Always add semi colen to run the query  Int - integer  varchar - variable charact

Semantic Colours and Colour Scale

Semantic colours are used for feedback and warnings , errors , success , notification etc . 

At base Semantic Colours are YELLOW , GREEN , RED And BLUE . 

But it is not restricted to this colour you can change the by using different shades and tints to apply them flexibly . 

Once your colours are ready you can make Monochromatic colours through variants . 

Suppose warning used for yellow colour if apply shade, a darker version of yellow comes out which can be text to write that warning ⚠️ !

Colour Scale - 3 attributes of colour is hue , saturation and value . Colour scale is a gradual transition of a particular colour from light to dark or vice versa 

It is important to note that it is the value which is changing in colours and making it light to dark or dark to light . 

When it comes to colour accessibility values play an important role. 

Material design is made by google which is used by designers to understand colour by providing different colour scales. These colours are chosen to work together harmoniously . 

A higher value in colour scale represents darker colours and vice versa .

Accessibility means to use dark or lighter colours to make the text readable.

Comments

Popular Posts