Skip to content

Commit

Permalink
fix: replace usages of @\import with @\use
Browse files Browse the repository at this point in the history
  • Loading branch information
DataM0del committed Dec 17, 2024
1 parent 708e9cd commit add23bc
Show file tree
Hide file tree
Showing 68 changed files with 68 additions and 68 deletions.
2 changes: 1 addition & 1 deletion src/app.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "colors.scss";
@use "colors.scss" as *;

@font-face {
font-family: "Inter";
Expand Down
2 changes: 1 addition & 1 deletion src/routes/browser/Browser.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

<style lang="scss">
@import "../../colors.scss";
@use "../../colors.scss" as *;
.browser-controls {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/ClickGui.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</div>

<style lang="scss">
@import "../../colors.scss";
@use "../../colors.scss" as *;
$GRID_SIZE: 10px;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/Description.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{/key}

<style lang="scss">
@import "../../colors.scss";
@use "../../colors.scss" as *;
.description-wrapper {
position: fixed;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/Module.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
</div>

<style lang="scss">
@import "../../colors.scss";
@use "../../colors.scss" as *;
.module {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/Panel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
</div>

<style lang="scss">
@import "../../colors.scss";
@use "../../colors.scss" as *;
.panel {
border-radius: 16px;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/Search.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
</div>

<style lang="scss">
@import "../../colors.scss";
@use "../../colors.scss" as *;
.search {
position: fixed;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/BindSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0px;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/ChoiceSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0px;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/ColorSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
display: grid;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/ConfigurableSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/FloatRangeSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0 2px 0;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/FloatSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0 2px 0;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/IntRangeSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0 2px 0;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/IntSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0 2px 0;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/KeySetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/TextArraySetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.input-wrapper {
display: grid;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/TextSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0px;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/TogglableSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0px;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/VectorSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.setting {
padding: 7px 0;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/blocks/Block.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.block {
display: grid;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/blocks/BlocksSetting.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.setting {
padding: 7px 0;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/common/Dropdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.dropdown {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/common/Switch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<style lang="scss">
@use "sass:color";
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.switch-container {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/common/ValueInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<span contenteditable="true" class="value" bind:innerText={inputValue} on:input={handleInput} on:keydown={handleKeyDown} bind:this={inputElement}></span>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.value {
font-family: monospace;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/nouislider.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../colors.scss";
@use "../../../colors.scss" as *;

.noUi-handle {
background-color: $accent;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/clickgui/setting/pickr.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../../../colors.scss";
@use "../../../colors.scss" as *;

.pcr-button {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/ArrayList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.arraylist {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/BlockCounter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
{/if}

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.notification {
background-color: rgba($base, 0.8);
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/Effects.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.effect {
font-weight: 500;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/Scoreboard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{/if}

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.scoreboard {
width: max-content;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/Text.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
.text {
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/Watermark.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
</div>

<style lang="scss">
@import "../../../colors.scss";
@use "../../../colors.scss" as *;
@keyframes pulsing {
0% {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/hotbar/HotBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
{/if}

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.hotbar {
//position: fixed;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/hotbar/Status.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.label {
color: $hotbar-text-color;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/keystrokes/Key.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.key {
height: 50px;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/notifications/Notification.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.notification {
display: grid;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/pointeresp/PointerESP.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.container {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/pointeresp/PointerView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.pointer {
width: 16px;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/tabgui/Category.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.name {
font-weight: 500;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/tabgui/Module.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.module {
font-weight: 500;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/tabgui/TabGui.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.tabgui {
//position: fixed;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/targethud/ArmorStatus.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.armor-status {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/targethud/HealthProgress.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.health-progress {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion src/routes/hud/elements/targethud/TargetHud.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
{/if}

<style lang="scss">
@import "../../../../colors.scss";
@use "../../../../colors.scss" as *;
.targethud {
background-color: rgba($base, 0.68);
Expand Down
Loading

0 comments on commit add23bc

Please sign in to comment.