Compare commits

...

4 Commits

Author SHA1 Message Date
Matt Wang
ef215b6586 Replace sass lighten() and darken() with color.adjust() 2024-10-09 01:02:50 -07:00
Matt Wang
a0724c4370 Run bundle update (to force deprecation warnings) 2024-10-09 00:55:03 -07:00
dependabot[bot]
aeaa79cf27 Bump google-protobuf from 4.28.1 to 4.28.2 (#1538)
Bumps [google-protobuf](https://github.com/protocolbuffers/protobuf) from 4.28.1 to 4.28.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: google-protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 10:33:36 -07:00
dependabot[bot]
9643336838 Bump jekyll from 4.3.3 to 4.3.4 (#1537)
Bumps [jekyll](https://github.com/jekyll/jekyll) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/jekyll/jekyll/releases)
- [Changelog](https://github.com/jekyll/jekyll/blob/master/History.markdown)
- [Commits](https://github.com/jekyll/jekyll/compare/v4.3.3...v4.3.4)

---
updated-dependencies:
- dependency-name: jekyll
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 12:31:21 -07:00
5 changed files with 60 additions and 50 deletions

View File

@@ -10,19 +10,18 @@ PATH
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
Ascii85 (1.1.0) Ascii85 (1.1.1)
addressable (2.8.6) addressable (2.8.7)
public_suffix (>= 2.0.2, < 6.0) public_suffix (>= 2.0.2, < 7.0)
afm (0.2.2) afm (0.2.2)
async (2.11.0) async (2.17.0)
console (~> 1.25, >= 1.25.2) console (~> 1.26)
fiber-annotation fiber-annotation
io-event (~> 1.5, >= 1.5.1) io-event (~> 1.6, >= 1.6.5)
timers (~> 4.1)
bigdecimal (3.1.8) bigdecimal (3.1.8)
colorator (1.1.0) colorator (1.1.0)
concurrent-ruby (1.2.3) concurrent-ruby (1.3.4)
console (1.25.2) console (1.27.0)
fiber-annotation fiber-annotation
fiber-local (~> 1.1) fiber-local (~> 1.1)
json json
@@ -32,19 +31,24 @@ GEM
ethon (0.16.0) ethon (0.16.0)
ffi (>= 1.15.0) ffi (>= 1.15.0)
eventmachine (1.2.7) eventmachine (1.2.7)
faraday (2.9.0) faraday (2.12.0)
faraday-net_http (>= 2.0, < 3.2) faraday-net_http (>= 2.0, < 3.4)
faraday-net_http (3.1.0) json
logger
faraday-net_http (3.3.0)
net-http net-http
ffi (1.16.3) ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
fiber-annotation (0.2.0) fiber-annotation (0.2.0)
fiber-local (1.1.0) fiber-local (1.1.0)
fiber-storage fiber-storage
fiber-storage (0.1.0) fiber-storage (1.0.0)
forwardable-extended (2.6.0) forwardable-extended (2.6.0)
google-protobuf (4.26.1-arm64-darwin) google-protobuf (4.28.2-arm64-darwin)
bigdecimal
rake (>= 13) rake (>= 13)
google-protobuf (4.26.1-x86_64-linux) google-protobuf (4.28.2-x86_64-linux)
bigdecimal
rake (>= 13) rake (>= 13)
hashery (2.1.2) hashery (2.1.2)
html-proofer (5.0.9) html-proofer (5.0.9)
@@ -57,10 +61,10 @@ GEM
yell (~> 2.0) yell (~> 2.0)
zeitwerk (~> 2.5) zeitwerk (~> 2.5)
http_parser.rb (0.8.0) http_parser.rb (0.8.0)
i18n (1.14.4) i18n (1.14.6)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
io-event (1.5.1) io-event (1.7.1)
jekyll (4.3.3) jekyll (4.3.4)
addressable (~> 2.4) addressable (~> 2.4)
colorator (~> 1.0) colorator (~> 1.0)
em-websocket (~> 0.5) em-websocket (~> 0.5)
@@ -98,12 +102,13 @@ GEM
listen (3.9.0) listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.1)
mercenary (0.4.0) mercenary (0.4.0)
net-http (0.4.1) net-http (0.4.1)
uri uri
nokogiri (1.16.5-arm64-darwin) nokogiri (1.16.7-arm64-darwin)
racc (~> 1.4) racc (~> 1.4)
nokogiri (1.16.5-x86_64-linux) nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4) racc (~> 1.4)
octokit (6.1.1) octokit (6.1.1)
faraday (>= 1, < 3) faraday (>= 1, < 3)
@@ -116,38 +121,35 @@ GEM
hashery (~> 2.0) hashery (~> 2.0)
ruby-rc4 ruby-rc4
ttfunk ttfunk
public_suffix (5.0.5) public_suffix (6.0.1)
racc (1.7.3) racc (1.8.1)
rainbow (3.1.1) rainbow (3.1.1)
rake (13.2.1) rake (13.2.1)
rb-fsevent (0.11.2) rb-fsevent (0.11.2)
rb-inotify (0.10.1) rb-inotify (0.11.1)
ffi (~> 1.0) ffi (~> 1.0)
rexml (3.3.6) rexml (3.3.8)
strscan rouge (4.4.0)
rouge (4.2.1)
ruby-rc4 (0.1.5) ruby-rc4 (0.1.5)
safe_yaml (1.0.5) safe_yaml (1.0.5)
sass-embedded (1.75.0-arm64-darwin) sass-embedded (1.79.4-arm64-darwin)
google-protobuf (>= 3.25, < 5.0) google-protobuf (~> 4.27)
sass-embedded (1.75.0-x86_64-linux-gnu) sass-embedded (1.79.4-x86_64-linux-gnu)
google-protobuf (>= 3.25, < 5.0) google-protobuf (~> 4.27)
sawyer (0.9.2) sawyer (0.9.2)
addressable (>= 2.3.5) addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3) faraday (>= 0.17.3, < 3)
strscan (3.1.0)
terminal-table (3.0.2) terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3) unicode-display_width (>= 1.1.1, < 3)
timers (4.3.5)
ttfunk (1.8.0) ttfunk (1.8.0)
bigdecimal (~> 3.1) bigdecimal (~> 3.1)
typhoeus (1.4.1) typhoeus (1.4.1)
ethon (>= 0.9.0) ethon (>= 0.9.0)
unicode-display_width (2.5.0) unicode-display_width (2.6.0)
uri (0.13.0) uri (0.13.1)
webrick (1.8.1) webrick (1.8.2)
yell (2.2.2) yell (2.2.2)
zeitwerk (2.6.13) zeitwerk (2.6.18)
PLATFORMS PLATFORMS
arm64-darwin arm64-darwin

View File

@@ -1,6 +1,8 @@
// Buttons and things that look like buttons // Buttons and things that look like buttons
// stylelint-disable color-named // stylelint-disable color-named
@use "sass:color";
.btn { .btn {
display: inline-block; display: inline-block;
box-sizing: border-box; box-sizing: border-box;
@@ -35,7 +37,7 @@
&:hover, &:hover,
&.zeroclipboard-is-hover { &.zeroclipboard-is-hover {
color: darken($link-color, 2%); color: color.adjust($link-color, $lightness: -2%);
} }
&:hover, &:hover,
@@ -43,19 +45,19 @@
&.zeroclipboard-is-hover, &.zeroclipboard-is-hover,
&.zeroclipboard-is-active { &.zeroclipboard-is-active {
text-decoration: none; text-decoration: none;
background-color: darken($base-button-color, 1%); background-color: color.adjust($base-button-color, $lightness: -1%);
} }
&:active, &:active,
&.selected, &.selected,
&.zeroclipboard-is-active { &.zeroclipboard-is-active {
background-color: darken($base-button-color, 3%); background-color: color.adjust($base-button-color, $lightness: -3%);
background-image: none; background-image: none;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
} }
&.selected:hover { &.selected:hover {
background-color: darken(#dcdcdc, 5%); background-color: color.adjust(#dcdcdc, $lightness: -5%);
} }
&:disabled, &:disabled,
@@ -80,7 +82,7 @@
&:active, &:active,
&.zeroclipboard-is-hover, &.zeroclipboard-is-hover,
&.zeroclipboard-is-active { &.zeroclipboard-is-active {
color: darken($link-color, 4%); color: color.adjust($link-color, $lightness: -4%);
text-decoration: none; text-decoration: none;
background-color: transparent; background-color: transparent;
box-shadow: inset 0 0 0 3px $grey-lt-300; box-shadow: inset 0 0 0 3px $grey-lt-300;

View File

@@ -1,3 +1,5 @@
@use "sass:color";
$color-scheme: dark; $color-scheme: dark;
$body-background-color: $grey-dk-300; $body-background-color: $grey-dk-300;
$body-heading-color: $grey-lt-000; $body-heading-color: $grey-lt-000;
@@ -9,7 +11,7 @@ $base-button-color: $grey-dk-250;
$btn-primary-color: $blue-200; $btn-primary-color: $blue-200;
$code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid $code-background-color: #31343f; // OneDarkJekyll default for syntax-one-dark-vivid
$code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid $code-linenumber-color: #dee2f7; // OneDarkJekyll .nf for syntax-one-dark-vivid
$feedback-color: darken($sidebar-color, 3%); $feedback-color: color.adjust($sidebar-color, $lightness: -3%);
$table-background-color: $grey-dk-250; $table-background-color: $grey-dk-250;
$search-background-color: $grey-dk-250; $search-background-color: $grey-dk-250;
$search-result-preview-color: $grey-dk-000; $search-result-preview-color: $grey-dk-000;

View File

@@ -1,3 +1,5 @@
@use "sass:color";
$color-scheme: light !default; $color-scheme: light !default;
$body-background-color: $white !default; $body-background-color: $white !default;
$body-heading-color: $grey-dk-300 !default; $body-heading-color: $grey-dk-300 !default;
@@ -8,7 +10,7 @@ $sidebar-color: $grey-lt-000 !default;
$base-button-color: #f7f7f7 !default; $base-button-color: #f7f7f7 !default;
$btn-primary-color: $purple-100 !default; $btn-primary-color: $purple-100 !default;
$code-background-color: $grey-lt-000 !default; $code-background-color: $grey-lt-000 !default;
$feedback-color: darken($sidebar-color, 3%) !default; $feedback-color: color.adjust($sidebar-color, $lightness: -3%) !default;
$table-background-color: $white !default; $table-background-color: $white !default;
$search-background-color: $white !default; $search-background-color: $white !default;
$search-result-preview-color: $grey-dk-000 !default; $search-result-preview-color: $grey-dk-000 !default;

View File

@@ -1,9 +1,11 @@
// Colored button // Colored button
@use "sass:color";
@mixin btn-color($fg, $bg) { @mixin btn-color($fg, $bg) {
color: $fg; color: $fg;
background-color: darken($bg, 2%); background-color: color.adjust($bg, $lightness: -2%);
background-image: linear-gradient(lighten($bg, 5%), darken($bg, 2%)); background-image: linear-gradient(color.adjust($bg, $lightness: 5%), color.adjust($bg, $lightness: -2%));
box-shadow: box-shadow:
0 1px 3px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.25),
0 4px 10px rgba(0, 0, 0, 0.12); 0 4px 10px rgba(0, 0, 0, 0.12);
@@ -11,19 +13,19 @@
&:hover, &:hover,
&.zeroclipboard-is-hover { &.zeroclipboard-is-hover {
color: $fg; color: $fg;
background-color: darken($bg, 4%); background-color: color.adjust($bg, $lightness: -4%);
background-image: linear-gradient((lighten($bg, 2%), darken($bg, 4%))); background-image: linear-gradient((color.adjust($bg, $lightness: 2%), color.adjust($bg, $lightness: -4%)));
} }
&:active, &:active,
&.selected, &.selected,
&.zeroclipboard-is-active { &.zeroclipboard-is-active {
background-color: darken($bg, 5%); background-color: color.adjust($bg, $lightness: -5%);
background-image: none; background-image: none;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
} }
&.selected:hover { &.selected:hover {
background-color: darken($bg, 10%); background-color: color.adjust($bg, $lightness: -10%);
} }
} }