Skip to content

Commit bb23708

Browse files
committed
imp: theming
1 parent b575850 commit bb23708

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Diff for: src/js/page/odoo/commands/common/caf.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async function cmdCheckFieldAccess(this: Terminal, kwargs: CMDCallbackArgs, ctx:
4444
const field = s_keys[x];
4545
const fieldDef = s_result[field];
4646
if (fieldDef.required) {
47-
rows[row_index].push(`* <b style='color:mediumslateblue'>${field}</b>`);
47+
rows[row_index].push(`* <strong class='text-info'>${field}</strong>`);
4848
} else {
4949
rows[row_index].push(field);
5050
}

Diff for: src/js/page/terminal/utils/check_storage_error.mjs

+5-7
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,15 @@ export default function (err: Object): string {
1414
return '';
1515
}
1616
return (
17-
"<span style='color:navajowhite'>" +
17+
"<span class='text-warning'>" +
1818
`<strong>${i18n.t('checkStorageError.warning', 'WARNING: ')}</strong> ` +
1919
i18n.t(
2020
'checkStorageError.message',
2121
'Clear the ' +
22-
"<b class='o_terminal_click o_terminal_cmd' " +
23-
"data-cmd='clear screen' style='color:orange;'>screen</b> " +
24-
'or/and ' +
25-
"<b class='o_terminal_click o_terminal_cmd' " +
26-
"data-cmd='clear history' style='color:orange;'>" +
27-
'history</b> ' +
22+
"<strong class='o_terminal_click o_terminal_cmd text-danger' " +
23+
"data-cmd='clear screen'>screen</strong> or/and " +
24+
"<strong class='o_terminal_click o_terminal_cmd text-danger' " +
25+
"data-cmd='clear history'>history</strong> " +
2826
'to free storage space. Browser <u>Storage Quota Exceeded</u>' +
2927
' 😭',
3028
) +

0 commit comments

Comments
 (0)