diff options
| author | Volpeon <git@volpeon.ink> | 2024-12-10 09:37:25 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2024-12-10 09:37:25 +0100 |
| commit | a78c6ef282e63efc94d09d65541e3cab49d47765 (patch) | |
| tree | 9c354d3d00a265355827e2780699051463260e6d | |
| parent | Update (diff) | |
| download | furbase-design-2024-a78c6ef282e63efc94d09d65541e3cab49d47765.tar.gz furbase-design-2024-a78c6ef282e63efc94d09d65541e3cab49d47765.tar.bz2 furbase-design-2024-a78c6ef282e63efc94d09d65541e3cab49d47765.zip | |
Update
| -rw-r--r-- | src/_badge.scss | 15 | ||||
| -rw-r--r-- | src/_common.vars.scss | 5 | ||||
| -rw-r--r-- | src/_core.vars.scss | 30 | ||||
| -rw-r--r-- | src/_gallery.scss | 5 | ||||
| -rw-r--r-- | src/_rank.scss | 2 | ||||
| -rw-r--r-- | src/_reaction.scss | 12 | ||||
| -rw-r--r-- | src/light.scss | 2 |
7 files changed, 48 insertions, 23 deletions
diff --git a/src/_badge.scss b/src/_badge.scss index b13dbc9..f18a9fb 100644 --- a/src/_badge.scss +++ b/src/_badge.scss | |||
| @@ -1,15 +1,22 @@ | |||
| 1 | @use 'iro-sass/src/props'; | 1 | @use 'iro-sass/src/props'; |
| 2 | 2 | ||
| 3 | @use 'common'; | 3 | @use 'common'; |
| 4 | @use 'core'; | ||
| 4 | 5 | ||
| 5 | @mixin styles { | 6 | @mixin styles { |
| 6 | .badge, a.badge { | 7 | .badge, a.badge { |
| 7 | padding-inline: 8px; | 8 | padding-inline: 8px; |
| 8 | border-radius: 10em; | 9 | border-radius: 10em; |
| 9 | } | 10 | vertical-align: baseline; |
| 10 | 11 | ||
| 11 | .badge.badgeUpdate, a.badge.badgeUpdate { | 12 | &.badgeUpdate { |
| 12 | --background-color: #{props.get(common.$vlpnLink)}; | 13 | --background-color: #{props.get(common.$vlpnLink)}; |
| 13 | --color: #{props.get(common.$vlpnLinkFg)}; | 14 | --color: #{props.get(common.$vlpnLinkFg)}; |
| 15 | } | ||
| 16 | |||
| 17 | &.yellow { | ||
| 18 | --background-color: #{props.get(core.$theme, --yellow, --800)}; | ||
| 19 | --color: #{props.get(core.$theme, --yellow, --800-text)}; | ||
| 20 | } | ||
| 14 | } | 21 | } |
| 15 | } | 22 | } |
diff --git a/src/_common.vars.scss b/src/_common.vars.scss index 7b3116b..d01b17a 100644 --- a/src/_common.vars.scss +++ b/src/_common.vars.scss | |||
| @@ -10,6 +10,8 @@ $vlpnLinkFg: props.def(--vlpnLinkFg, props.get(core.$theme, --red, --1000-text)) | |||
| 10 | $vlpnLinkActive: props.def(--vlpnLinkActive, props.get(core.$theme, --red, --1300)); | 10 | $vlpnLinkActive: props.def(--vlpnLinkActive, props.get(core.$theme, --red, --1300)); |
| 11 | $vlpnLinkActiveFg: props.def(--vlpnLinkActiveFg, props.get(core.$theme, --red, --1300-text)); | 11 | $vlpnLinkActiveFg: props.def(--vlpnLinkActiveFg, props.get(core.$theme, --red, --1300-text)); |
| 12 | 12 | ||
| 13 | $vlpnSmileySize: props.def(--vlpnSmileySize, 28px); | ||
| 14 | |||
| 13 | $wcfFontSizeHeadline: props.def(--wcfFontSizeHeadline, 16px); | 15 | $wcfFontSizeHeadline: props.def(--wcfFontSizeHeadline, 16px); |
| 14 | 16 | ||
| 15 | $wcfHeaderBackground: props.def(--wcfHeaderBackground, props.get(core.$theme, --base, --700)); | 17 | $wcfHeaderBackground: props.def(--wcfHeaderBackground, props.get(core.$theme, --base, --700)); |
| @@ -72,3 +74,6 @@ $wcfFooterBoxLinkActive: props.def(--wcfFooterBoxLinkActive, props.get($vlpnLink | |||
| 72 | 74 | ||
| 73 | $wcfTabularBoxHeadline: props.def(--wcfTabularBoxHeadline, props.get($vlpnLink)); | 75 | $wcfTabularBoxHeadline: props.def(--wcfTabularBoxHeadline, props.get($vlpnLink)); |
| 74 | $wcfTabularBoxHeadlineActive: props.def(--wcfTabularBoxHeadlineActive, props.get($vlpnLinkActive)); | 76 | $wcfTabularBoxHeadlineActive: props.def(--wcfTabularBoxHeadlineActive, props.get($vlpnLinkActive)); |
| 77 | |||
| 78 | $wcfStatusInfoBackground: props.def(--wcfStatusInfoBackground, props.get(core.$theme, --blue, --200)); | ||
| 79 | $wcfStatusInfoText: props.def(--wcfStatusInfoText, props.get(core.$theme, --blue, --1200)); | ||
diff --git a/src/_core.vars.scss b/src/_core.vars.scss index 40f98b0..3c6aba8 100644 --- a/src/_core.vars.scss +++ b/src/_core.vars.scss | |||
| @@ -25,25 +25,27 @@ $themes-spec: ( | |||
| 25 | ), | 25 | ), |
| 26 | 26 | ||
| 27 | --colors: ( | 27 | --colors: ( |
| 28 | --100: (math.div(0, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(0, 12))), | 28 | --100: (math.div(0, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(0, 12))) (-30 * math.div(0, 12)), |
| 29 | --200: (math.div(1, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(1, 12))), | 29 | --200: (math.div(1, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(1, 12))) (-30 * math.div(1, 12)), |
| 30 | --300: (math.div(2, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(2, 12))), | 30 | --300: (math.div(2, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(2, 12))) (-30 * math.div(2, 12)), |
| 31 | --400: (math.div(3, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(3, 12))), | 31 | --400: (math.div(3, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(3, 12))) (-30 * math.div(3, 12)), |
| 32 | --500: (math.div(4, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(4, 12))), | 32 | --500: (math.div(4, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(4, 12))) (-30 * math.div(4, 12)), |
| 33 | --600: (math.div(5, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(5, 12))), | 33 | --600: (math.div(5, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(5, 12))) (-30 * math.div(5, 12)), |
| 34 | --700: (math.div(6, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(6, 12))), | 34 | --700: (math.div(6, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(6, 12))) (-30 * math.div(6, 12)), |
| 35 | --800: (math.div(7, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(7, 12))), | 35 | --800: (math.div(7, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(7, 12))) (-30 * math.div(7, 12)), |
| 36 | --900: (math.div(8, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(8, 12))), | 36 | --900: (math.div(8, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(8, 12))) (-30 * math.div(8, 12)), |
| 37 | --1000: (math.div(9, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(9, 12))), | 37 | --1000: (math.div(9, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(9, 12))) (-30 * math.div(9, 12)), |
| 38 | --1100: (math.div(10, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(10, 12))), | 38 | --1100: (math.div(10, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(10, 12))) (-30 * math.div(10, 12)), |
| 39 | --1200: (math.div(11, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(11, 12))), | 39 | --1200: (math.div(11, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(11, 12))) (-30 * math.div(11, 12)), |
| 40 | --1300: (math.div(12, 12) * 80 + 7) (.2 + .8 * easing.ease(math.div(12, 12))), | 40 | --1300: (math.div(12, 12) * 97 - 10) (.3 + .7 * easing.ease(math.div(12, 12))) (-30 * math.div(12, 12)), |
| 41 | ), | 41 | ), |
| 42 | ), | 42 | ), |
| 43 | 43 | ||
| 44 | --palettes: ( | 44 | --palettes: ( |
| 45 | --base: #edddc4 --grays, | 45 | --base: #edddc4 --grays, |
| 46 | --red: #731601 --colors, | 46 | --red: oklch(36.32% 0.1302 53.73) --colors, |
| 47 | --blue: oklch(36.4% 0.1302 273.58) --colors, | ||
| 48 | --yellow: oklch(36.32% 0.1302 92.94) --colors, | ||
| 47 | ), | 49 | ), |
| 48 | ), | 50 | ), |
| 49 | ); | 51 | ); |
diff --git a/src/_gallery.scss b/src/_gallery.scss new file mode 100644 index 0000000..c436309 --- /dev/null +++ b/src/_gallery.scss | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | @mixin styles { | ||
| 2 | .galleryNewImageBadge { | ||
| 3 | box-shadow: none; | ||
| 4 | } | ||
| 5 | } | ||
diff --git a/src/_rank.scss b/src/_rank.scss index fac2663..cd6e3cd 100644 --- a/src/_rank.scss +++ b/src/_rank.scss | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | @mixin styles { | 1 | @mixin styles { |
| 2 | .userRankImage > img { | 2 | .userRankImage > img { |
| 3 | 3 | vertical-align: baseline; | |
| 4 | } | 4 | } |
| 5 | } | 5 | } |
diff --git a/src/_reaction.scss b/src/_reaction.scss index 82a9231..1e09849 100644 --- a/src/_reaction.scss +++ b/src/_reaction.scss | |||
| @@ -1,12 +1,16 @@ | |||
| 1 | @mixin styles { | 1 | @use 'iro-sass/src/props'; |
| 2 | |||
| 3 | @use 'common'; | ||
| 4 | |||
| 5 | @mixin styles { | ||
| 2 | .messageFooter { | 6 | .messageFooter { |
| 3 | .reactionType { | 7 | .reactionType { |
| 4 | inline-size: 30px; | 8 | inline-size: props.get(common.$vlpnSmileySize); |
| 5 | block-size: 30px; | 9 | block-size: props.get(common.$vlpnSmileySize); |
| 6 | } | 10 | } |
| 7 | } | 11 | } |
| 8 | 12 | ||
| 9 | .reactionSummary { | 13 | .reactionSummary { |
| 10 | gap: 15px; | 14 | gap: 15px; |
| 11 | } | 15 | } |
| 12 | } | 16 | } |
diff --git a/src/light.scss b/src/light.scss index 87ba99f..325a0c6 100644 --- a/src/light.scss +++ b/src/light.scss | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | @use 'rank'; | 13 | @use 'rank'; |
| 14 | @use 'reaction'; | 14 | @use 'reaction'; |
| 15 | @use 'footer'; | 15 | @use 'footer'; |
| 16 | @use 'gallery'; | ||
| 16 | 17 | ||
| 17 | @include core.styles--light; | 18 | @include core.styles--light; |
| 18 | @include common.styles; | 19 | @include common.styles; |
| @@ -26,3 +27,4 @@ | |||
| 26 | @include rank.styles; | 27 | @include rank.styles; |
| 27 | @include reaction.styles; | 28 | @include reaction.styles; |
| 28 | @include footer.styles; | 29 | @include footer.styles; |
| 30 | @include gallery.styles; | ||
