Skip to content

Commit ccff59b

Browse files
committed
remove base
# Conflicts: # src/resources/editor/tools/vs-code.mjs # src/resources/editor/tools/yaml/web-worker.js # src/resources/editor/tools/yaml/yaml-intelligence-resources.json
1 parent e9080ad commit ccff59b

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

src/format/html/format-html-scss.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,9 @@ function pandocVariablesToThemeDefaults(
446446
// Resolve any grid variables
447447
const gridObj = metadata["grid"] as Metadata;
448448
if (gridObj) {
449-
add(explicitVars, "grid-sidebar-base-width", gridObj["sidebar-base-width"]);
450-
add(explicitVars, "grid-margin-base-width", gridObj["margin-base-width"]);
451-
add(explicitVars, "grid-body-base-width", gridObj["body-base-width"]);
449+
add(explicitVars, "grid-sidebar-width", gridObj["sidebar-width"]);
450+
add(explicitVars, "grid-margin-width", gridObj["margin-width"]);
451+
add(explicitVars, "grid-body-width", gridObj["body-width"]);
452452
add(explicitVars, "grid-column-gutter-width", gridObj["gutter-width"]);
453453
}
454454
return explicitVars;

src/resources/formats/html/bootstrap/_bootstrap-mixins.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919

2020
// GRID CASCADE
21-
$grid-body-column-max: $grid-body-base-width !default;
21+
$grid-body-column-max: $grid-body-width !default;
2222
$grid-body-column-min: 500px !default;
2323

2424
// Margin variables
@@ -32,8 +32,8 @@ $grid-body-gutter-end: $grid-body-gutter !default;
3232

3333
/* FLOATING GRID */
3434
$grid-page-gutter-float: 5fr !default;
35-
$grid-float-sidebar-width: $grid-sidebar-base-width !default;
36-
$grid-float-margin-width: $grid-margin-base-width !default;
35+
$grid-float-sidebar-width: $grid-sidebar-width !default;
36+
$grid-float-margin-width: $grid-margin-width !default;
3737

3838
/* Float Wide Default Grid */
3939

@@ -322,8 +322,8 @@ $grid-float-mid-listing-body: minmax(
322322
) !default;
323323

324324
/* DOCKED GRID */
325-
$grid-docked-sidebar-width: $grid-sidebar-base-width !default;
326-
$grid-docked-margin-width: $grid-margin-base-width !default;
325+
$grid-docked-sidebar-width: $grid-sidebar-width !default;
326+
$grid-docked-margin-width: $grid-margin-width !default;
327327
$grid-docked-body-width: $grid-body-column-max + 200px !default;
328328

329329
/* Docked Wide Default Grid */
@@ -583,8 +583,8 @@ $grid-docked-mid-listing-body: minmax(
583583
) !default;
584584

585585
/* DEFAULT (HTML PAGE, NOT IN WEBSITE) GRID */
586-
$grid-default-sidebar-width: $grid-sidebar-base-width !default;
587-
$grid-default-margin-width: $grid-margin-base-width !default;
586+
$grid-default-sidebar-width: $grid-sidebar-width !default;
587+
$grid-default-margin-width: $grid-margin-width !default;
588588
$grid-default-body-width: $grid-body-column-max + 50px !default;
589589

590590
/* Default Wide Grid */

src/resources/formats/html/bootstrap/_bootstrap-variables.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ $input-border-color: theme-override-value(
180180

181181
/* GRID VARIABLES */
182182
// The left hand sidebar
183-
$grid-sidebar-base-width: 250px !default;
183+
$grid-sidebar-width: 250px !default;
184184
// The main body
185-
$grid-body-base-width: 800px !default;
185+
$grid-body-width: 800px !default;
186186
// The right hand margin bar
187-
$grid-margin-base-width: 250px !default;
187+
$grid-margin-width: 250px !default;
188188
// The gutter that appears between the above columns
189189
$grid-column-gutter-width: 1.5em !default;

src/resources/schema/document-layout.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,13 @@
8484
object:
8585
closed: true
8686
properties:
87-
sidebar-base-width:
87+
sidebar-width:
8888
string:
8989
description: "The base width of the sidebar (left) column in an HTML page."
90-
margin-base-width:
90+
margin-width:
9191
string:
9292
description: "The base width of the margin (right) column in an HTML page."
93-
body-base-width:
93+
body-width:
9494
string:
9595
description: "The base width of the body (center) column in an HTML page."
9696
gutter-width:

0 commit comments

Comments
 (0)