@univerjs/core v0.5.0-beta.1 • Docs
Variable: DEFAULT_STYLES
const DEFAULT_STYLES: {
bg: {
rgb: '#fff';
};
bl: BooleanNumber.FALSE;
cl: {
rgb: '#000';
};
ff: 'Arial';
fs: 11;
ht: HorizontalAlign.UNSPECIFIED;
it: BooleanNumber.FALSE;
n: null;
ol: {
s: BooleanNumber.FALSE;
};
pd: {
b: 0;
l: 0;
r: 0;
t: 0;
};
st: {
s: BooleanNumber.FALSE;
};
tb: WrapStrategy.UNSPECIFIED;
td: TextDirection.UNSPECIFIED;
tr: {
a: 0;
v: BooleanNumber.FALSE;
};
ul: {
s: BooleanNumber.FALSE;
};
vt: VerticalAlign.UNSPECIFIED;
};
Default styles.
Type declaration
Name | Type | Default value | Description | Defined in |
---|---|---|---|---|
bg | { rgb : '#fff' ; } | - | background | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:132 |
bg.rgb | string | ’#fff’ | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:133 |
bl | BooleanNumber | BooleanNumber.FALSE | bold 0: false 1: true | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:89 |
cl | { rgb : '#000' ; } | - | color | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:126 |
cl.rgb | string | ’#000’ | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:127 |
ff | string | ’Arial’ | fontFamily | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:73 |
fs | number | 11 | fontSize | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:77 |
ht | HorizontalAlign | HorizontalAlign.UNSPECIFIED | horizontalAlignment | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:138 |
it | BooleanNumber | BooleanNumber.FALSE | italic 0: false 1: true | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:83 |
n | null | null | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:156 |
ol | { s : BooleanNumber.FALSE ; } | - | overline | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:105 |
ol.s | BooleanNumber | BooleanNumber.FALSE | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:106 |
pd | { b : 0 ; l : 0 ; r : 0 ; t : 0 ; } | - | padding | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:150 |
pd.b | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:153 |
pd.l | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:154 |
pd.r | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:152 |
pd.t | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:151 |
st | { s : BooleanNumber.FALSE ; } | - | strikethrough | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:99 |
st.s | BooleanNumber | BooleanNumber.FALSE | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:100 |
tb | WrapStrategy | WrapStrategy.UNSPECIFIED | wrapStrategy | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:146 |
td | TextDirection | TextDirection.UNSPECIFIED | textDirection | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:122 |
tr | { a : 0 ; v : BooleanNumber.FALSE ; } | - | textRotation | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:111 |
tr.a | number | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:112 |
tr.v | BooleanNumber | BooleanNumber.FALSE | true : 1 false : 0 | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:117 |
ul | { s : BooleanNumber.FALSE ; } | - | underline | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:93 |
ul.s | BooleanNumber | BooleanNumber.FALSE | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:94 |
vt | VerticalAlign | VerticalAlign.UNSPECIFIED | verticalAlignment | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:142 |
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/const/const.ts:69