Skip to content

Commit

Permalink
deps: bump versions to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
h-enk committed Nov 5, 2021
1 parent 8135a7a commit 2c3c3a9
Show file tree
Hide file tree
Showing 7 changed files with 1,671 additions and 3,456 deletions.
5 changes: 4 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"extends": "stylelint-config-standard",
"extends": "stylelint-config-standard-scss",
"rules": {
"no-empty-source": null,
"string-quotes": "double",
"scss/comment-no-empty": null,
"max-line-length": null,
"scss/at-extend-no-missing-placeholder": null,
"at-rule-no-unknown": [
true,
{
Expand Down
1 change: 1 addition & 0 deletions assets/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@import "components/alerts";
@import "components/buttons";
@import "components/code";

// @import "components/syntax";
@import "components/comments";
@import "components/forms";
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/common/_fonts.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* inter-500 - latin */
@font-face {
font-family: "Inter";
font-family: Inter;
font-style: normal;
font-weight: 500;
font-display: swap;
Expand Down
95 changes: 44 additions & 51 deletions assets/scss/common/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Color system

$blue: #0366d6;
$white: #fff;
$black: #333;
$blue: #0366d6;
$white: #fff;
$black: #333;
$gray-darker: #586069;
$gray-dark: #6a737d;
$gray: #dfe2e5;
$gray-dark: #6a737d;
$gray: #dfe2e5;
$gray-200: #f6f8fa;
$gray-light: #fafbfc;
$blue-dark: #038;

$primary: $blue;
$gray-light: #fafbfc;
$blue-dark: #038;
$primary: $blue;

// Options
//
Expand All @@ -22,38 +21,34 @@ $enable-responsive-font-sizes: true;
//
// Set the number of columns and specify the width of the gutters.

$grid-columns: 12;
$grid-gutter-width: 48px;
$grid-row-columns: 6;
$grid-columns: 12;
$grid-gutter-width: 48px;
$grid-row-columns: 6;

// Prefix for :root CSS variables

$variable-prefix: bs-;
$variable-prefix: bs-;

// Typography
//
// Font, line-height, and color for body text, headings, and more.

// stylelint-disable value-keyword-case
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
// stylelint-enable value-keyword-case
$font-family-base: var(--#{$variable-prefix}font-sans-serif);
$font-family-code: var(--#{$variable-prefix}font-monospace);

$font-size-base: 1rem; // Assumes the browser default, typically `16px`
$font-size-xl: $font-size-base * 1.375;
$font-size-lg: $font-size-base * 1.25;
$font-size-md: $font-size-base * 1.125;
$font-size-sm: $font-size-base * 0.875;

$font-weight-bold: 500;

$line-height-base: 1.5;

$headings-font-family: "Inter", $font-family-sans-serif;
$headings-font-weight: 500;
$headings-line-height: 1.3;
$font-family-base: var(--#{$variable-prefix}font-sans-serif);
$font-family-code: var(--#{$variable-prefix}font-monospace);
$font-size-base: 1rem; // Assumes the browser default, typically `16px`
$font-size-xl: $font-size-base * 1.375;
$font-size-lg: $font-size-base * 1.25;
$font-size-md: $font-size-base * 1.125;
$font-size-sm: $font-size-base * 0.875;
$font-weight-bold: 500;
$line-height-base: 1.5;
$headings-font-family: "Inter", $font-family-sans-serif;
$headings-font-weight: 500;
$headings-line-height: 1.3;

// Spacing
//
Expand All @@ -65,33 +60,31 @@ $spacer: 1rem;

// Navbar

$navbar-padding-y: $spacer * 1.5;
$navbar-padding-x: $spacer;
$navbar-padding-y: $spacer * 1.5;
$navbar-padding-x: $spacer;

// Alerts
//
// Define alert colors, border radius, and padding.

$alert-padding-y: 0.75rem;
$alert-padding-x: 1.5rem;
$alert-margin-bottom: 0;
$alert-border-radius: 0;
$alert-link-font-weight: $headings-font-weight;
$alert-border-width: 0;

$alert-bg-level: 0;
$alert-border-level: 0;
$alert-color-level: 0;
$alert-padding-y: 0.75rem;
$alert-padding-x: 1.5rem;
$alert-margin-bottom: 0;
$alert-border-radius: 0;
$alert-link-font-weight: $headings-font-weight;
$alert-border-width: 0;
$alert-bg-level: 0;
$alert-border-level: 0;
$alert-color-level: 0;

// Links
//
// Style anchor elements.

$link-color: $primary;
$link-decoration: none;
$link-shade-percentage: 20%;
$link-hover-color: shift-color($link-color, $link-shade-percentage);
$link-hover-decoration: underline;

$stretched-link-pseudo-element: after;
$stretched-link-z-index: 1;
$link-color: $primary;
$link-decoration: none;
$link-shade-percentage: 20%;
$link-hover-color: shift-color($link-color, $link-shade-percentage);
$link-hover-decoration: underline;
$stretched-link-pseudo-element: after;
$stretched-link-z-index: 1;
4 changes: 2 additions & 2 deletions assets/scss/components/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
/* LineNumbersTable */
.chroma .lnt {
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
padding: 0 0.4em;
color: #7f7f7f;
}

/* LineNumbers */
.chroma .ln {
margin-right: 0.4em;
padding: 0 0.4em 0 0.4em;
padding: 0 0.4em;
color: #7f7f7f;
}

Expand Down
Loading

0 comments on commit 2c3c3a9

Please sign in to comment.