mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
Merge conflict
This commit is contained in:
11
assets/css/abstracts/_colours.scss
Normal file
11
assets/css/abstracts/_colours.scss
Normal file
@ -0,0 +1,11 @@
|
||||
$primary-color: hsl(0, 100%, 50%);
|
||||
$secondary-color: hsl(120, 100%, 25%);
|
||||
|
||||
$dark-red: hsl(0, 100%, 32.2%);
|
||||
$pink: hsl(349.5, 100%, 87.6%);
|
||||
$black: hsl(0, 0%, 13%);
|
||||
$white: hsl(0, 0%, 100%);
|
||||
|
||||
$dark-grey: hsl(0, 0%, 31%);
|
||||
$mid-grey: hsl(0, 0%, 46.3%); // the lightest shade of grey you can get away with, #a11y
|
||||
$light-grey: hsl(0, 0%, 93.3%); // for backgrounds only
|
11
assets/css/abstracts/_functions.scss
Normal file
11
assets/css/abstracts/_functions.scss
Normal file
@ -0,0 +1,11 @@
|
||||
@function pxToRem($pixels, $context: $browser-context) {
|
||||
@if (unitless($pixels)) {
|
||||
$pixels: $pixels * 1px;
|
||||
}
|
||||
|
||||
@if (unitless($context)) {
|
||||
$context: $context * 1px;
|
||||
}
|
||||
|
||||
@return $pixels / $context * 1rem;
|
||||
}
|
19
assets/css/abstracts/_mixins.scss
Normal file
19
assets/css/abstracts/_mixins.scss
Normal file
@ -0,0 +1,19 @@
|
||||
@mixin icon__avoid() {
|
||||
content: '🚨';
|
||||
}
|
||||
|
||||
@mixin icon__alt() {
|
||||
content: '👍';
|
||||
}
|
||||
|
||||
@mixin icon__tool() {
|
||||
content: '🧰';
|
||||
}
|
||||
|
||||
@mixin icon__hanging() {
|
||||
margin-left: -2.15rem;
|
||||
}
|
||||
|
||||
@mixin icon__embed() {
|
||||
margin-right: 0.35rem;
|
||||
}
|
11
assets/css/abstracts/_universal-selector.scss
Normal file
11
assets/css/abstracts/_universal-selector.scss
Normal file
@ -0,0 +1,11 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*::before {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
14
assets/css/abstracts/_variables.scss
Normal file
14
assets/css/abstracts/_variables.scss
Normal file
@ -0,0 +1,14 @@
|
||||
$primary-color: hsl(0, 100%, 50%);
|
||||
$secondary-color: hsl(120, 100%, 25%);
|
||||
|
||||
$dark-red: hsl(0, 100%, 32.2%);
|
||||
$pink: hsl(349.5, 100%, 87.6%);
|
||||
$black: hsl(0, 0%, 13%);
|
||||
$white: hsl(0, 0%, 100%);
|
||||
|
||||
$dark-grey: hsl(0, 0%, 31%);
|
||||
$mid-grey: hsl(0, 0%, 46.3%); // the lightest shade of grey you can get away with, #a11y
|
||||
$light-grey: hsl(0, 0%, 93.3%); // for backgrounds only
|
||||
|
||||
$browser-context: 16;
|
||||
|
Reference in New Issue
Block a user