56 lines
2.2 KiB
TypeScript
56 lines
2.2 KiB
TypeScript
|
import * as CSS from 'csstype';
|
||
|
|
||
|
export interface OverwriteCSSProperties {
|
||
|
/**
|
||
|
* The **`border`** CSS property is shorthand for the CSS properties **`border-width`**, **`border-style`**, and **`border-color`**. It sets an element's border.
|
||
|
*
|
||
|
* **Initial value**: `none`
|
||
|
*
|
||
|
* | Chrome | Firefox | Safari | Edge | IE |
|
||
|
* | :----: | :-----: | :----: | :----: | :---: |
|
||
|
* | **1** | **1** | **1** | **12** | **4** |
|
||
|
*
|
||
|
* @see https://developer.mozilla.org/docs/Web/CSS/border
|
||
|
*/
|
||
|
border?: CSS.Property.Border | number;
|
||
|
/**
|
||
|
* The **`box-shadow`** CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the
|
||
|
* element for blur and spread radii, and by its color.
|
||
|
*
|
||
|
* **Initial value**: `none`
|
||
|
*
|
||
|
* | Chrome | Firefox | Safari | Edge | IE |
|
||
|
* | :-----: | :-----: | :-----: | :----: | :---: |
|
||
|
* | **10** | **4** | **5.1** | **12** | **9** |
|
||
|
* | 1 _-x-_ | | 3 _-x-_ | | |
|
||
|
*
|
||
|
* @see https://developer.mozilla.org/docs/Web/CSS/box-shadow
|
||
|
*/
|
||
|
boxShadow?: CSS.Property.BoxShadow | number;
|
||
|
/**
|
||
|
* The **`font-weight`** CSS property specifies the weight (or boldness) of the font. The font weights available to you will depend on the `font-family` you are using. Some fonts are only
|
||
|
* available in `normal` and `bold`.
|
||
|
*
|
||
|
* **Initial value**: `normal`
|
||
|
*
|
||
|
* | Chrome | Firefox | Safari | Edge | IE |
|
||
|
* | :----: | :-----: | :----: | :----: | :---: |
|
||
|
* | **2** | **1** | **1** | **12** | **3** |
|
||
|
*
|
||
|
* @see https://developer.mozilla.org/docs/Web/CSS/font-weight
|
||
|
*/
|
||
|
fontWeight?: CSS.Property.FontWeight | string;
|
||
|
/**
|
||
|
* The **`z-index`** CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a higher z-index cover those with a lower one.
|
||
|
*
|
||
|
* **Initial value**: `auto`
|
||
|
*
|
||
|
* | Chrome | Firefox | Safari | Edge | IE |
|
||
|
* | :----: | :-----: | :----: | :----: | :---: |
|
||
|
* | **1** | **1** | **1** | **12** | **4** |
|
||
|
*
|
||
|
* @see https://developer.mozilla.org/docs/Web/CSS/z-index
|
||
|
*/
|
||
|
zIndex?: CSS.Property.ZIndex | string;
|
||
|
}
|