Skip to content

Commit

Permalink
[edit] 調整
Browse files Browse the repository at this point in the history
:
  • Loading branch information
Joy-port committed Oct 9, 2021
1 parent 1e6eaaa commit 0cc3f26
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 38,879 deletions.
21,657 changes: 0 additions & 21,657 deletions app/assets/style/all.css

This file was deleted.

189 changes: 0 additions & 189 deletions app/assets/style/all.css.map

This file was deleted.

7 changes: 7 additions & 0 deletions app/assets/style/helpers/_helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,11 @@
@include media-breakpoint-up(lg) {
height: calc(100vh - 92px);
}
}

/*nav*/

.nav-overlay{
width: 190px;
height: 24px;
}
31 changes: 31 additions & 0 deletions app/assets/style/helpers/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ $theme-colors: (
) !default;
// scss-docs-end theme-colors-map

//this is a must
// scss-docs-start theme-colors-rgb
$theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
// scss-docs-end theme-colors-rgb
//this is a must

// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
$min-contrast-ratio: 4.5 !default;
Expand Down Expand Up @@ -294,6 +300,31 @@ $body-bg: $white !default;
$body-color: $black !default; //edit
$body-text-align: null !default;

//this is a must
// Utilities maps
//
// Extends the default `$theme-colors` maps to help create our utilities.

// scss-docs-start utilities-colors
$utilities-colors: map-merge(
$theme-colors-rgb,
(
"black": to-rgb($black),
"white": to-rgb($white),
"body": to-rgb($body-color)
)
) !default;
// scss-docs-end utilities-colors

// scss-docs-start utilities-text-colors
$utilities-text-colors: map-loop($utilities-colors, rgba-css-var, "$key", "text") !default;
// scss-docs-end utilities-text-colors

// scss-docs-start utilities-bg-colors
$utilities-bg-colors: map-loop($utilities-colors, rgba-css-var, "$key", "bg") !default;
// scss-docs-end utilities-bg-colors
//this is a must


// Links
//
Expand Down
Loading

0 comments on commit 0cc3f26

Please sign in to comment.